From 94f5c34a856a7632e753fb2907aec5427faedbce Mon Sep 17 00:00:00 2001 From: xiami Date: Fri, 21 May 2021 12:09:42 -0700 Subject: [PATCH] Remove all the collector OTLP receiver legacy gRPC port references --- .../test/opentelemetry_exporter_SUITE.erl | 2 +- config/otel-collector-config.yaml | 2 +- docker-compose.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/opentelemetry_exporter/test/opentelemetry_exporter_SUITE.erl b/apps/opentelemetry_exporter/test/opentelemetry_exporter_SUITE.erl index 58a001bc..e0b68e4f 100644 --- a/apps/opentelemetry_exporter/test/opentelemetry_exporter_SUITE.erl +++ b/apps/opentelemetry_exporter/test/opentelemetry_exporter_SUITE.erl @@ -204,7 +204,7 @@ verify_export(Config) -> Protocol = ?config(protocol, Config), Port = case Protocol of grpc -> - 55680; + 4317; http_protobuf -> 55681 end, diff --git a/config/otel-collector-config.yaml b/config/otel-collector-config.yaml index 07a0cb11..d290fcb5 100644 --- a/config/otel-collector-config.yaml +++ b/config/otel-collector-config.yaml @@ -3,7 +3,7 @@ receivers: otlp: protocols: grpc: - endpoint: "0.0.0.0:55680" + endpoint: "0.0.0.0:4317" http: endpoint: "0.0.0.0:55681" processors: diff --git a/docker-compose.yml b/docker-compose.yml index e173dbef..c7a0b4db 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '3' +version: "3" services: otel: image: otel/opentelemetry-collector-contrib-dev @@ -6,7 +6,7 @@ services: privileged: true ports: - 55681:55681 - - 55680:55680 + - 4317:4317 volumes: - ./config/otel-collector-config.yaml:/conf/otel-collector-config.yaml links: