diff --git a/opentelemetry/README.md b/opentelemetry/README.md index 0b3bed36..7f2bc496 100644 --- a/opentelemetry/README.md +++ b/opentelemetry/README.md @@ -157,6 +157,8 @@ export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 export OTEL_EXPORTER_OTLP_PROTOCOL=grpc ``` -### Run Exeample App and View Jaeger +### Run Example App and View Jaeger ![img.png](static/jaeger-otlp.png) + + diff --git a/opentelemetry/docker-compose.yaml b/opentelemetry/docker-compose.yaml index b3aafdcc..f6d2de2a 100644 --- a/opentelemetry/docker-compose.yaml +++ b/opentelemetry/docker-compose.yaml @@ -12,7 +12,7 @@ services: - "8888" # Prometheus metrics exposed by the collector - "8889:8889" # Prometheus exporter metrics - "13133:13133" # health_check extension - - "4317:4317" # OTLP gRPC receiver +# - "4317:4317" # OTLP gRPC receiver - "55679" # zpages extension depends_on: - jaeger-all-in-one @@ -27,7 +27,7 @@ services: - "14268" - "14250:14250" - "6831:6831" -# - "4317:4317" # OTLP gRPC receiver + - "4317:4317" # OTLP gRPC receiver # Victoriametrics victoriametrics: diff --git a/opentelemetry/otel-collector-config.yaml b/opentelemetry/otel-collector-config.yaml index 7444f862..1f3308ad 100644 --- a/opentelemetry/otel-collector-config.yaml +++ b/opentelemetry/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 ]