feat(helm): add support for additional `PodLogs` pipeline stages in `selfMonitoring` (#12389)

Signed-off-by: Danny Kopping <dannykopping@gmail.com>
helm-5.47.3 helm-loki-5.47.2
Danny Kopping 1 year ago committed by GitHub
parent 86c768c3cc
commit 111c19b381
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 9
      docs/sources/setup/install/helm/reference.md
  2. 4
      production/helm/loki/CHANGELOG.md
  3. 2
      production/helm/loki/Chart.yaml
  4. 2
      production/helm/loki/README.md
  5. 3
      production/helm/loki/templates/monitoring/pod-logs.yaml
  6. 3
      production/helm/loki/values.yaml

@ -2851,6 +2851,15 @@ null
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
<td>monitoring.selfMonitoring.podLogs.additionalPipelineStages</td>
<td>list</td>
<td>Additional pipeline stages to process logs after scraping https://grafana.com/docs/agent/latest/operator/api/#pipelinestagespec-a-namemonitoringgrafanacomv1alpha1pipelinestagespeca</td>
<td><pre lang="json">
[]
</pre>
</td>
</tr>
<tr>

@ -13,6 +13,10 @@ Entries should include a reference to the pull request that introduced the chang
[//]: # (<AUTOMATED_UPDATES_LOCATOR> : do not remove this line. This locator is used by the CI pipeline to automatically create a changelog entry for each new Loki release. Add other chart versions and respective changelog entries bellow this line.)
## 5.47.2
- [ENHANCEMENT] Allow for additional pipeline stages to be configured on the `selfMonitoring` `Podlogs` resource.
## 5.47.1
- [BUGFIX] Increase default value of backend minReplicas to 3

@ -3,7 +3,7 @@ name: loki
description: Helm chart for Grafana Loki in simple, scalable mode
type: application
appVersion: 2.9.6
version: 5.47.1
version: 5.47.2
home: https://grafana.github.io/helm-charts
sources:
- https://github.com/grafana/loki

@ -1,6 +1,6 @@
# loki
![Version: 5.47.1](https://img.shields.io/badge/Version-5.47.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.6](https://img.shields.io/badge/AppVersion-2.9.6-informational?style=flat-square)
![Version: 5.47.2](https://img.shields.io/badge/Version-5.47.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.6](https://img.shields.io/badge/AppVersion-2.9.6-informational?style=flat-square)
Helm chart for Grafana Loki in simple, scalable mode

@ -18,6 +18,9 @@ metadata:
spec:
pipelineStages:
- cri: { }
{{- with .additionalPipelineStages }}
{{- toYaml . | nindent 4 }}
{{- end }}
relabelings:
- action: replace
sourceLabels:

@ -691,6 +691,9 @@ monitoring:
# -- PodLogs relabel configs to apply to samples before scraping
# https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
relabelings: []
# -- Additional pipeline stages to process logs after scraping
# https://grafana.com/docs/agent/latest/operator/api/#pipelinestagespec-a-namemonitoringgrafanacomv1alpha1pipelinestagespeca
additionalPipelineStages: []
# LogsInstance configuration
logsInstance:
# -- LogsInstance annotations

Loading…
Cancel
Save