Skip to content

Commit

Permalink
rename telemetrygen image env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hisarbalik committed Dec 13, 2024
1 parent d5ebcd4 commit a1fc558
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ DEFAULT_FLUENTBIT_EXPORTER_IMAGE="europe-docker.pkg.dev/kyma-project/prod/direct
DEFAULT_FLUENTBIT_IMAGE="europe-docker.pkg.dev/kyma-project/prod/external/fluent/fluent-bit:3.2.2"
DEFAULT_OTEL_COLLECTOR_IMAGE="europe-docker.pkg.dev/kyma-project/prod/kyma-otel-collector:0.115.0-main"
DEFAULT_SELFMONITOR_IMAGE="europe-docker.pkg.dev/kyma-project/prod/tpi/telemetry-self-monitor:3.0.1-857b814"
DEFAULT_TELEMETRYGEN_IMAGE="ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen:v0.115.0"
DEFAULT_TEST_TELEMETRYGEN_IMAGE="ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen:v0.115.0"
2 changes: 1 addition & 1 deletion hack/load-tests/run-load-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ TEST_TARGET="traces"
TEST_NAME="No Name"
TEST_DURATION=1200
OTEL_IMAGE=$DEFAULT_OTEL_COLLECTOR_IMAGE
TELEMETRY_GEN_IMAGE=$DEFAULT_TELEMETRYGEN_IMAGE
TELEMETRY_GEN_IMAGE=$DEFAULT_TEST_TELEMETRYGEN_IMAGE
LOG_SIZE=2000
LOG_RATE=1000
PROMAPI=""
Expand Down
2 changes: 1 addition & 1 deletion internal/tools/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ package testkit
if err != nil {
log.Fatal(err)
}
_, err = f.WriteString(fmt.Sprintf("\"%s\"\n", data["DEFAULT_TELEMETRYGEN_IMAGE"]))
_, err = f.WriteString(fmt.Sprintf("\"%s\"\n", data["DEFAULT_TEST_TELEMETRYGEN_IMAGE"]))
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit a1fc558

Please sign in to comment.