Add service connection from OpenTelemetry Collector

See gh-35082
This commit is contained in:
Eddú Meléndez
2023-09-14 09:42:23 +02:00
committed by Moritz Halbritter
parent 4bb2e918ed
commit 6997277f75
24 changed files with 768 additions and 8 deletions

View File

@@ -0,0 +1,20 @@
receivers:
otlp:
protocols:
grpc:
http:
exporters:
# https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/prometheusexporter
prometheus:
endpoint: '0.0.0.0:9090'
metric_expiration: 1m
enable_open_metrics: true
resource_to_telemetry_conversion:
enabled: true
service:
pipelines:
metrics:
receivers: [otlp]
exporters: [prometheus]