Add OTLP receiver for custom metrics (#170)

This commit is contained in:
Rodrigue Koffi
2023-06-02 17:26:03 +00:00
committed by GitHub
parent 9085af9285
commit 0d1c2ef8dd
@@ -25,14 +25,12 @@ spec:
fieldPath: "metadata.namespace"
config: |
receivers:
{{ if .Values.enableTracing }}
otlp:
protocols:
grpc:
endpoint: {{ .Values.otlpGrpcEndpoint }}
http:
endpoint: {{ .Values.otlpHttpEndpoint }}
{{ end }}
prometheus:
config:
global:
@@ -1801,7 +1799,7 @@ spec:
extensions: [pprof, zpages, health_check, sigv4auth]
pipelines:
metrics:
receivers: [prometheus]
receivers: [prometheus, otlp]
processors: [batch/metrics]
exporters: [logging, prometheusremotewrite]
{{ if .Values.enableTracing }}