-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Jaeger receivers to the Application Observability feature (#954)
Signed-off-by: Pete Wall <pete.wall@grafana.com>
- Loading branch information
Showing
50 changed files
with
397 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
charts/feature-application-observability/templates/_receiver_jaeger.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{{/* Inputs: Values (values) tracesOutput */}} | ||
{{- define "feature.applicationObservability.receiver.jaeger.alloy" }} | ||
{{- if or .Values.receivers.jaeger.grpc.enabled .Values.receivers.jaeger.thriftBinary.enabled .Values.receivers.jaeger.thriftCompact.enabled .Values.receivers.jaeger.thriftBinary.enabled }} | ||
otelcol.receiver.jaeger "receiver" { | ||
protocols { | ||
{{- if .Values.receivers.jaeger.grpc.enabled -}} | ||
grpc { | ||
endpoint = "0.0.0.0:{{ .Values.receivers.jaeger.grpc | int }}" | ||
} | ||
{{- end }} | ||
{{- if .Values.receivers.jaeger.thriftBinary.enabled }} | ||
thrift_binary { | ||
endpoint = "0.0.0.0:{{ .Values.receivers.jaeger.thriftBinary | int }}" | ||
} | ||
{{- end }} | ||
{{- if .Values.receivers.jaeger.thriftCompact.enabled }} | ||
thrift_compact { | ||
endpoint = "0.0.0.0:{{ .Values.receivers.jaeger.thriftCompact | int }}" | ||
} | ||
{{- end }} | ||
{{- if .Values.receivers.jaeger.thriftHttp.enabled }} | ||
thrift_http { | ||
endpoint = "0.0.0.0:{{ .Values.receivers.jaeger.thriftHttp | int }}" | ||
} | ||
{{- end }} | ||
} | ||
|
||
debug_metrics { | ||
disable_high_cardinality_metrics = {{ not .Values.receivers.jaeger.include_debug_metrics }} | ||
} | ||
output { | ||
{{- if and .tracesOutput .Values.traces.enabled }} | ||
traces = {{ .tracesOutput }} | ||
{{- end }} | ||
} | ||
} | ||
{{- end }} | ||
{{- end }} |
12 changes: 6 additions & 6 deletions
12
charts/feature-application-observability/templates/_receiver_otlp.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
charts/feature-application-observability/templates/_validation.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.