fix(infra-ingress): add tracing
This commit is contained in:
parent
64051152d3
commit
f680b14372
3 changed files with 42 additions and 0 deletions
9
base-values/infra-tracing.yaml
Normal file
9
base-values/infra-tracing.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
commons:
|
||||
tracing:
|
||||
enabled: true
|
||||
http:
|
||||
endpoint: "http://tempo.monitoring.svc:4318/v1/traces"
|
||||
grpc:
|
||||
enabled: true
|
||||
insecure: true
|
||||
endpoint: "tempo.monitoring.svc:4317"
|
|
@ -120,4 +120,19 @@ spec:
|
|||
additionalLabels:
|
||||
{{- toYaml $.Values.commons.prometheus.monitor.labels | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.commons.tracing.enabled }}
|
||||
tracing:
|
||||
otlp:
|
||||
enabled: true
|
||||
{{- if .Values.commons.tracing.grpc.enabled }}
|
||||
grpc:
|
||||
enabled: true
|
||||
insecure: {{ .Values.commons.tracing.grpc.insecure }}
|
||||
endpoint: {{ .Values.commons.tracing.grpc.endpoint }}
|
||||
{{- else }}
|
||||
http:
|
||||
enabled: true
|
||||
endpoint: {{ .Values.commons.tracing.http.endpoint }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
@ -28,6 +28,24 @@ commons:
|
|||
# -- labels on Pod- and Service-Monitor
|
||||
# @section -- Commons Monitoring
|
||||
labels: {}
|
||||
tracing:
|
||||
# -- enable tracing on all components
|
||||
# @section -- Commons Tracing
|
||||
enabled: false
|
||||
http:
|
||||
# -- http endpoint
|
||||
# @section -- Commons Tracing
|
||||
endpoint: "http://tempo.monitoring.svc:4318/v1/traces"
|
||||
grpc:
|
||||
# -- prefer grpc over http
|
||||
# @section -- Commons Tracing
|
||||
enabled: true
|
||||
# -- allow insecure connection per grpc
|
||||
# @section -- Commons Tracing
|
||||
insecure: true
|
||||
# -- grpc endpoint
|
||||
# @section -- Commons Tracing
|
||||
endpoint: "tempo.monitoring.svc:4317"
|
||||
|
||||
controller: "traefik"
|
||||
hostNetwork: true
|
||||
|
|
Loading…
Add table
Reference in a new issue