Skip to content

Commit

Permalink
fix otel collector config (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielqsj authored Feb 7, 2025
1 parent f786059 commit a578e3c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions opentelemetry/otel-collector-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317

exporters:
prometheusremotewrite:
endpoint: "http://victoriametrics:8428/api/v1/write"

logging:
debug:

otlp:
endpoint: jaeger-all-in-one:4317
Expand All @@ -30,8 +31,8 @@ service:
traces:
receivers: [ otlp ]
processors: [ batch ]
exporters: [ logging, otlp ]
exporters: [ debug, otlp ]
metrics:
receivers: [ otlp ]
processors: [ batch ]
exporters: [ logging, prometheusremotewrite ]
exporters: [ debug, prometheusremotewrite ]

0 comments on commit a578e3c

Please sign in to comment.