Unverified Commit d07bc44a authored by Louis Latour's avatar Louis Latour Committed by GitHub

telegraf: Adding support for opentelemetry input in service template (#645)

parent 847d8d7b
apiVersion: v2 apiVersion: v2
name: telegraf name: telegraf
version: 1.8.46 version: 1.8.47
appVersion: 1.30.3 appVersion: 1.30.3
deprecated: false deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics. description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
...@@ -41,6 +41,11 @@ spec: ...@@ -41,6 +41,11 @@ spec:
targetPort: {{ trimPrefix ":" $value.service_address | int64 }} targetPort: {{ trimPrefix ":" $value.service_address | int64 }}
name: "influxdb-v2-listener" name: "influxdb-v2-listener"
{{- end }} {{- end }}
{{- if eq $key "opentelemetry" }}
- port: {{ trimPrefix ":" $value.service_address | int64 }}
targetPort: {{ trimPrefix ":" $value.service_address | int64 }}
name: "opentelemetry"
{{- end }}
{{- if eq $key "statsd" }} {{- if eq $key "statsd" }}
- port: {{ trimPrefix ":" $value.service_address | int64 }} - port: {{ trimPrefix ":" $value.service_address | int64 }}
targetPort: {{ trimPrefix ":" $value.service_address | int64 }} targetPort: {{ trimPrefix ":" $value.service_address | int64 }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment