Skip to content

Commit 2c22ba5

Browse files
authored
Enable smoke test controller telemetry. (#985)
*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.
1 parent 5960ea3 commit 2c22ba5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/collector/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ services:
2727
- OTEL_JAVAAGENT_DEBUG=true
2828
- OTEL_METRICS_EXPORTER=otlp
2929
- OTEL_EXPORTER_OTLP_PROTOCOL=grpc
30+
- OTEL_INSTRUMENTATION_COMMON_EXPERIMENTAL_CONTROLLER_TELEMETRY_ENABLED=true
3031
volumes:
3132
- /tmp/awscreds:/tmp/awscreds
3233
ports:

0 commit comments

Comments
 (0)