Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions charts/fluentd/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

## [UNRELEASED]

### Added

- Add `metrics.serviceMonitor.path` value to scrape `/aggregated_metrics` when running multiple workers. ([#758](https://github.com/fluent/helm-charts/pull/758)) @yakir-shriker

## [v0.6.0] - 2025-08-14

### Added
Expand Down
1 change: 1 addition & 0 deletions charts/fluentd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ helm upgrade --install fluentd fluent/fluentd --version 0.6.0
| metrics.serviceMonitor.metricRelabelings | list | `[]` | |
| metrics.serviceMonitor.namespace | string | `""` | |
| metrics.serviceMonitor.namespaceSelector | object | `{}` | |
| metrics.serviceMonitor.path | string | `"/metrics"` | Path to scrape. Use `/aggregated_metrics` to get every worker when running with multiple `workers`. |
| metrics.serviceMonitor.relabelings | list | `[]` | |
| minReadySeconds | string | `nil` | |
| mountDockerContainersDirectory | bool | `true` | |
Expand Down
4 changes: 3 additions & 1 deletion charts/fluentd/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ spec:
jobLabel: {{ .Values.metrics.serviceMonitor.jobLabel | default .Release.Name }}
endpoints:
- port: metrics
path: /metrics
{{- with .Values.metrics.serviceMonitor.path }}
path: {{ . }}
{{- end }}
{{- with .Values.metrics.serviceMonitor.interval }}
interval: {{ . }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/fluentd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ metrics:
release: prometheus-operator
namespace: ""
namespaceSelector: {}
# -- Path to scrape. Use `/aggregated_metrics` to get every worker when running with multiple `workers`.
path: /metrics
## metric relabel configs to apply to samples before ingestion.
##
metricRelabelings: []
Expand Down
Loading