Skip to content

Commit

Permalink
[telegraf] Add support for Cisco Model-Driven Telemetry (cisco_teleme…
Browse files Browse the repository at this point in the history
…try_mdt) (#548)
  • Loading branch information
hampusehh committed May 24, 2024
1 parent f6dacf9 commit c71efaa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/telegraf/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: telegraf
version: 1.8.47
version: 1.8.48
appVersion: 1.30.3
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
Expand Down
6 changes: 6 additions & 0 deletions charts/telegraf/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ spec:
name: {{ printf "%s-%s" "socket-listener" (regexFind "[0-9]+$" $value.service_address) }}
{{- end }}
{{- end }}
{{- if eq $key "cisco_telemetry_mdt" }}
- port: {{ trimPrefix ":" $value.service_address | int64 }}
targetPort: {{ trimPrefix ":" $value.service_address | int64 }}
protocol: "TCP"
name: "cisco-telemetry-mdt"
{{- end }}
{{- end -}}
{{- end }}
{{- range $objectKey, $objectValue := .Values.config.outputs }}
Expand Down

0 comments on commit c71efaa

Please sign in to comment.