Skip to content

Commit 0d1c2ef

Browse files
authored
Add OTLP receiver for custom metrics (#170)
1 parent 9085af9 commit 0d1c2ef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/eks-monitoring/otel-config/templates/opentelemetrycollector.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,12 @@ spec:
2525
fieldPath: "metadata.namespace"
2626
config: |
2727
receivers:
28-
{{ if .Values.enableTracing }}
2928
otlp:
3029
protocols:
3130
grpc:
3231
endpoint: {{ .Values.otlpGrpcEndpoint }}
3332
http:
3433
endpoint: {{ .Values.otlpHttpEndpoint }}
35-
{{ end }}
3634
prometheus:
3735
config:
3836
global:
@@ -1801,7 +1799,7 @@ spec:
18011799
extensions: [pprof, zpages, health_check, sigv4auth]
18021800
pipelines:
18031801
metrics:
1804-
receivers: [prometheus]
1802+
receivers: [prometheus, otlp]
18051803
processors: [batch/metrics]
18061804
exporters: [logging, prometheusremotewrite]
18071805
{{ if .Values.enableTracing }}

0 commit comments

Comments
 (0)