Skip to content

Commit

Permalink
Add datadog tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
dtomcej authored and traefiker committed Nov 26, 2019
1 parent 3a9bfa3 commit 32d0176
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
14 changes: 14 additions & 0 deletions helm/chart/maesh/templates/mesh/mesh-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,20 @@ spec:
- {{ printf "--tracing.jaeger.samplingserverurl=http://jaeger-agent.%s.svc.%s:5778/sampling" .Release.Namespace (default "cluster.local" .Values.clusterDomain) | quote }}
{{- end }}
{{- end }}
{{- if .Values.tracing.datadog }}
{{- if .Values.tracing.datadog.localagenthostport }}
- "--tracing.datadog.localagenthostport={{ .Values.tracing.datadog.localagenthostport }}"
{{- end }}
{{- if .Values.tracing.datadog.debug }}
- "--tracing.datadog.debug=true"
{{- end }}
{{- if .Values.tracing.datadog.globalTag }}
- "--tracing.datadog.globalTag={{ .Values.tracing.datadog.globalTag }}"
{{- end }}
{{- if .Values.tracing.datadog.prioritySampling }}
- "--tracing.datadog.prioritySampling=true"
{{- end }}
{{- end }}
- "--api.dashboard"
- "--api.insecure"
- "--ping"
Expand Down
12 changes: 10 additions & 2 deletions helm/chart/maesh/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ mesh:
tolerations: []

#
# addon jaeger tracing configuration
# Tracing configuration
#
tracing:
deploy: true
Expand All @@ -59,9 +59,17 @@ tracing:
enabled: true
localagenthostport: ""
samplingserverurl: ""
# datadog:
# localagenthostport: "127.0.0.1:8126"
# (Optional)
# debug: true
# (Optional)
# globalTag: "sample"
# (Optional)
# prioritySampling: true

#
# addon metrics configuration
# Metrics configuration
#
metrics:
deploy: true
Expand Down
4 changes: 2 additions & 2 deletions integration/resources/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mesh:
defaultMode: http

#
# addon jaeger tracing configuration
# Tracing configuration
#
tracing:
deploy: false
Expand All @@ -49,7 +49,7 @@ tracing:
samplingserverurl: ""

#
# addon metrics configuration
# Metrics configuration
#
metrics:
deploy: false
Expand Down

0 comments on commit 32d0176

Please sign in to comment.