From 069af9fc5b2be9b3df84f669c3cd7d027d49ca82 Mon Sep 17 00:00:00 2001 From: Skyenought Date: Sat, 30 Sep 2023 22:14:40 +0800 Subject: [PATCH] optimize: update otel-collector-config --- easy_note/docker-compose.yaml | 2 +- easy_note/pkg/configs/otel/otel-collector-config.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/easy_note/docker-compose.yaml b/easy_note/docker-compose.yaml index e6c6a6d1..c03574a8 100644 --- a/easy_note/docker-compose.yaml +++ b/easy_note/docker-compose.yaml @@ -34,7 +34,6 @@ services: - "8888" # Prometheus metrics exposed by the collector - "8889:8889" # Prometheus exporter metrics - "13133:13133" # health_check extension - - "4317:4317" # OTLP gRPC receiver - "55679" # zpages extension depends_on: - jaeger-all-in-one @@ -49,6 +48,7 @@ services: - "14268" - "14250:14250" - "6831:6831" + - "4317:4317" # OTLP gRPC receiver # Victoriametrics victoriametrics: diff --git a/easy_note/pkg/configs/otel/otel-collector-config.yaml b/easy_note/pkg/configs/otel/otel-collector-config.yaml index 7444f862..1f3308ad 100644 --- a/easy_note/pkg/configs/otel/otel-collector-config.yaml +++ b/easy_note/pkg/configs/otel/otel-collector-config.yaml @@ -9,8 +9,8 @@ exporters: logging: - jaeger: - endpoint: jaeger-all-in-one:14250 + otlp: + endpoint: jaeger-all-in-one:4317 tls: insecure: true @@ -30,7 +30,7 @@ service: traces: receivers: [ otlp ] processors: [ batch ] - exporters: [ logging, jaeger ] + exporters: [ logging, otlp ] metrics: receivers: [ otlp ] processors: [ batch ]