Skip to content

Commit

Permalink
Adding support for opentelemetry input in telegraf service template
Browse files Browse the repository at this point in the history
  • Loading branch information
louisledev committed May 15, 2024
1 parent 49a8ba8 commit d83469d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/telegraf/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ spec:
targetPort: {{ trimPrefix ":" $value.service_address | int64 }}
name: "influxdb-v2-listener"
{{- end }}
{{- if eq $key "opentelemetry" }}
- port: {{ trimPrefix ":" $value.service_address | int64 }}
targetPort: {{ trimPrefix ":" $value.service_address | int64 }}
name: "opentelemetry"
{{- end }}
{{- if eq $key "statsd" }}
- port: {{ trimPrefix ":" $value.service_address | int64 }}
targetPort: {{ trimPrefix ":" $value.service_address | int64 }}
Expand Down

0 comments on commit d83469d

Please sign in to comment.