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" fieldPath: "metadata.namespace"
config: | config: |
receivers: receivers:
{{ if .Values.enableTracing }}
otlp: otlp:
protocols: protocols:
grpc: grpc:
endpoint: {{ .Values.otlpGrpcEndpoint }} endpoint: {{ .Values.otlpGrpcEndpoint }}
http: http:
endpoint: {{ .Values.otlpHttpEndpoint }} endpoint: {{ .Values.otlpHttpEndpoint }}
{{ end }}
prometheus: prometheus:
config: config:
global: global:
@@ -1801,7 +1799,7 @@ spec:
extensions: [pprof, zpages, health_check, sigv4auth] extensions: [pprof, zpages, health_check, sigv4auth]
pipelines: pipelines:
metrics: metrics:
receivers: [prometheus] receivers: [prometheus, otlp]
processors: [batch/metrics] processors: [batch/metrics]
exporters: [logging, prometheusremotewrite] exporters: [logging, prometheusremotewrite]
{{ if .Values.enableTracing }} {{ if .Values.enableTracing }}