Skip to content

Commit

Permalink
Resolve bug in the PrometheusRule for line in falco exporter
Browse files Browse the repository at this point in the history
Signed-off-by: Jochem <[email protected]>
  • Loading branch information
jochbru committed Jul 12, 2024
1 parent ebf1ff8 commit 30137ea
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions charts/falco-exporter/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
This file documents all notable changes to `falco-exporter` Helm Chart. The release
numbering uses [semantic versioning](http://semver.org).

## v0.12.1

* fix bug in 'for' for falco exporter prometheus rules

## v0.12.0

* make 'for' configurable for falco exporter prometheus rules
Expand Down
2 changes: 1 addition & 1 deletion charts/falco-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.12.0
version: 0.12.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
2 changes: 1 addition & 1 deletion charts/falco-exporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ helm install falco-exporter \
## Configuration

The following table lists the main configurable parameters of the falco-exporter chart v0.12.0 and their default values. Please, refer to [values.yaml](./values.yaml) for the full list of configurable parameters.
The following table lists the main configurable parameters of the falco-exporter chart v0.12.1 and their default values. Please, refer to [values.yaml](./values.yaml) for the full list of configurable parameters.

## Values

Expand Down
2 changes: 1 addition & 1 deletion charts/falco-exporter/templates/prometheusrule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
summary: Falco is experiencing high rate of critical events
description: A high rate of critical events are being detected by Falco
expr: rate(falco_events{priority="2"}[{{ .Values.prometheusRules.alerts.critical.rate_interval }}]) > {{ .Values.prometheusRules.alerts.critical.threshold }}
{{ .Values.prometheusRules.alerts.critical.for }}
for: {{ .Values.prometheusRules.alerts.critical.for }}
labels:
severity: critical
{{- end }}
Expand Down

0 comments on commit 30137ea

Please sign in to comment.