Skip to content

Commit

Permalink
optimize: update otel config.yaml (#117)
Browse files Browse the repository at this point in the history
* update docs yaml

* Update otel-collector-config.yaml

* Update otel-collector-config.yaml
  • Loading branch information
Skyenought authored Oct 7, 2023
1 parent 6049dd8 commit 252ddf1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion opentelemetry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)


4 changes: 2 additions & 2 deletions opentelemetry/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -27,7 +27,7 @@ services:
- "14268"
- "14250:14250"
- "6831:6831"
# - "4317:4317" # OTLP gRPC receiver
- "4317:4317" # OTLP gRPC receiver

# Victoriametrics
victoriametrics:
Expand Down
6 changes: 3 additions & 3 deletions opentelemetry/otel-collector-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ exporters:

logging:

jaeger:
endpoint: jaeger-all-in-one:14250
otlp:
endpoint: jaeger-all-in-one:4317
tls:
insecure: true

Expand All @@ -30,7 +30,7 @@ service:
traces:
receivers: [ otlp ]
processors: [ batch ]
exporters: [ logging, jaeger ]
exporters: [ logging, otlp ]
metrics:
receivers: [ otlp ]
processors: [ batch ]
Expand Down

0 comments on commit 252ddf1

Please sign in to comment.