Skip to content

Commit

Permalink
fix(falco-exporter): Only show non-zero rates in Grafana
Browse files Browse the repository at this point in the history
Signed-off-by: Hayden Ball <[email protected]>
  • Loading branch information
ball-hayden authored and poiana committed Feb 17, 2021
1 parent 50d03c2 commit 71f2bc5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions 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.5.1

* Display only non-zero rates in Grafana dashboard template

## v0.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion 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.5.0
version: 0.5.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
4 changes: 2 additions & 2 deletions falco-exporter/templates/grafana-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ data:
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"nullPointMode": "null as zero",
"options": {
"dataLinks": []
},
Expand All @@ -94,7 +94,7 @@ data:
"steppedLine": false,
"targets": [
{
"expr": "rate(falco_events[5m])",
"expr": "rate(falco_events[5m]) > 0",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{`{{rule}} (node=\"{{kubernetes_node}}\",ns=\"{{k8s_ns_name}}\",pod=\"{{k8s_pod_name}}\")"`}},
Expand Down

0 comments on commit 71f2bc5

Please sign in to comment.