Skip to content

Commit

Permalink
Add metrics port definition so probes can work. (fluent#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
pecastro committed Nov 16, 2023
1 parent a445c74 commit d8e472d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/fluentd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,14 @@ fileConfigs:
emit_unmatched_lines true
</source>
# expose metrics in prometheus format
<source>
@type prometheus
bind 0.0.0.0
port 24231
metrics_path /metrics
</source>
02_filters.conf: |-
<label @KUBERNETES>
<match kubernetes.var.log.containers.fluentd**>
Expand Down

0 comments on commit d8e472d

Please sign in to comment.