Skip to content

Commit

Permalink
add an env
Browse files Browse the repository at this point in the history
Signed-off-by: namkyu1999 <[email protected]>
  • Loading branch information
namkyu1999 committed Nov 22, 2024
1 parent 160f11c commit 4a52931
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions faults/load/experiments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ spec:
- name: LIB_IMAGE_PULL_POLICY
value: "Always"

# Provide the prefix of the metric if you enabled observability
- name: OTEL_METRIC_PREFIX
value: "k6_"

labels:
name: k6-loadgen
app.kubernetes.io/part-of: litmus
Expand Down
4 changes: 4 additions & 0 deletions faults/load/k6-loadgen/engine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ spec:
# Provide the image pull policy of the helper pod
- name: LIB_IMAGE_PULL_POLICY
value: "Always"

# Provide the prefix of the metric if you enabled observability
- name: OTEL_METRIC_PREFIX
value: "k6_"
3 changes: 3 additions & 0 deletions faults/load/k6-loadgen/fault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ spec:
- name: LIB_IMAGE_PULL_POLICY
value: "Always"

# Provide the prefix of the metric if you enabled observability
- name: OTEL_METRIC_PREFIX
value: "k6_"
labels:
name: k6-loadgen
app.kubernetes.io/part-of: litmus
Expand Down

0 comments on commit 4a52931

Please sign in to comment.