Skip to content

Commit

Permalink
Merge pull request #1836 from JensErat/fluentd-ipv6-metrics
Browse files Browse the repository at this point in the history
expose fluentd metrics also on IPv6
  • Loading branch information
pepov authored Nov 4, 2024
2 parents 1ddb2b9 + 386eaf0 commit a2c2512
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/resources/fluentd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ var fluentdInputTemplate = `
metrics_path {{ .Monitor.Path }}
{{- end }}
</source>
<source>
@type prometheus
@id in_prometheus6
bind "::"
port {{ .Monitor.Port }}
{{- if .Monitor.Path }}
metrics_path {{ .Monitor.Path }}
{{- end }}
</source>
<source>
@type prometheus_monitor
</source>
Expand Down

0 comments on commit a2c2512

Please sign in to comment.