diff --git a/pkg/resources/fluentd/config.go b/pkg/resources/fluentd/config.go index 132f0fe26..f8eef3bf6 100644 --- a/pkg/resources/fluentd/config.go +++ b/pkg/resources/fluentd/config.go @@ -63,6 +63,15 @@ var fluentdInputTemplate = ` metrics_path {{ .Monitor.Path }} {{- end }} + + @type prometheus + @id in_prometheus6 + bind "::" + port {{ .Monitor.Port }} +{{- if .Monitor.Path }} + metrics_path {{ .Monitor.Path }} +{{- end }} + @type prometheus_monitor