mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-09 00:09:43 +00:00
Add OTLP receiver for custom metrics (#170)
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user