Skip to content

Commit

Permalink
Add OTLP receiver for custom metrics (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonclay7 authored Jun 2, 2023
1 parent 9085af9 commit 0d1c2ef
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 0d1c2ef

Please sign in to comment.