Skip to content

Commit

Permalink
Enable smoke test controller telemetry. (#985)
Browse files Browse the repository at this point in the history
*Description of changes:*
Previously, in v1.x, the springboot controller telemetry data is enabled
by default.

Starting from upstream v2.x, the controller telemetry need to be enable
by setting up env
`OTEL_INSTRUMENTATION_COMMON_EXPERIMENTAL_CONTROLLER_TELEMETRY_ENABLED`:
https://opentelemetry.io/docs/zero-code/java/agent/disable/#suppressing-controller-andor-view-spans.

This PR enable the telemetry data to align with smoke test validator.

https://opentelemetry.io/docs/zero-code/java/agent/disable/#suppressing-controller-andor-view-spans




By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
  • Loading branch information
zzhlogin authored Dec 24, 2024
1 parent 5960ea3 commit 2c22ba5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/collector/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ services:
- OTEL_JAVAAGENT_DEBUG=true
- OTEL_METRICS_EXPORTER=otlp
- OTEL_EXPORTER_OTLP_PROTOCOL=grpc
- OTEL_INSTRUMENTATION_COMMON_EXPERIMENTAL_CONTROLLER_TELEMETRY_ENABLED=true
volumes:
- /tmp/awscreds:/tmp/awscreds
ports:
Expand Down

0 comments on commit 2c22ba5

Please sign in to comment.