Skip to content

Commit

Permalink
feat(fluent-bit): ServiceMonitor path values (#451)
Browse files Browse the repository at this point in the history
* feat(fluent-bit): ServiceMonitor path values

Signed-off-by: Sébastien Larivière <[email protected]>

* Set v2 as default

Signed-off-by: Sébastien Larivière <[email protected]>

* Update the chart changelog annotation

Signed-off-by: Sébastien Larivière <[email protected]>

---------

Signed-off-by: Sébastien Larivière <[email protected]>
  • Loading branch information
slariviere authored Jan 5, 2024
1 parent b0f13f5 commit c213a5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/fluent-bit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ keywords:
- logging
- fluent-bit
- fluentd
version: 0.40.0
version: 0.41.0
appVersion: 2.2.0
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/fluentd/fluentbit/icon/fluentbit-icon-color.svg
home: https://fluentbit.io/
Expand All @@ -23,4 +23,4 @@ maintainers:
annotations:
artifacthub.io/changes: |
- kind: changed
description: "Updated Fluent Bit OCI image to v2.2.0."
description: "Updated the ServiceMonitor path to use the v2 metrics"
2 changes: 1 addition & 1 deletion charts/fluent-bit/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
jobLabel: app.kubernetes.io/instance
endpoints:
- port: http
path: /api/v1/metrics/prometheus
path: {{ default "/api/v2/metrics/prometheus" .Values.serviceMonitor.path }}
{{- with .Values.serviceMonitor.interval }}
interval: {{ . }}
{{- end }}
Expand Down

0 comments on commit c213a5c

Please sign in to comment.