Skip to content

Commit

Permalink
Change env var for OTEL_EXPORTER_OTLP_ENDPOINT to pull from actual en…
Browse files Browse the repository at this point in the history
…v variable or default to jaeger if not present. Fixes issue with integration tests running in Jenkins

Signed-off-by: Mike Kingsbury <mike.kingsbury@redhat.com>
  • Loading branch information
mike-kingsbury committed Nov 6, 2023
1 parent ab65c17 commit cc19968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ passenv = KRB5CCNAME,REQUESTS_CA_BUNDLE,KRB5_CLIENT_KTNAME,CACHITO_TEST_CERT\
CACHITO_TEST_KEY,JOB_NAME
setenv =
OTEL_RESOURCE_ATTRIBUTES=service.name=cachito-integration-tests
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
OTEL_EXPORTER_OTLP_ENDPOINT={env:OTEL_EXPORTER_OTLP_ENDPOINT:http://localhost:4317}

0 comments on commit cc19968

Please sign in to comment.