From 5960ea34c74ff116a3932837be311c50c89ab897 Mon Sep 17 00:00:00 2001 From: zzhlogin Date: Tue, 24 Dec 2024 09:47:36 -0800 Subject: [PATCH] Use grpc exporter for agent test workflow. (#982) *Description of changes:* Add `OTEL_EXPORTER_OTLP_PROTOCOL` to `grpc` for instrumentation as in [version v2.0.0](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v2.0.0): > The default OTLP protocol has been changed from grpc to http/protobuf in orderto align with the specification. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. --- .github/collector/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/collector/docker-compose.yml b/.github/collector/docker-compose.yml index ebd7b37f3d..3b1fc251f3 100644 --- a/.github/collector/docker-compose.yml +++ b/.github/collector/docker-compose.yml @@ -26,6 +26,7 @@ services: - AWS_REGION=us-west-2 - OTEL_JAVAAGENT_DEBUG=true - OTEL_METRICS_EXPORTER=otlp + - OTEL_EXPORTER_OTLP_PROTOCOL=grpc volumes: - /tmp/awscreds:/tmp/awscreds ports: