Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix falco dashboard variable #778

Merged
merged 3 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
3 changes: 3 additions & 0 deletions charts/falco/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

This file documents all notable changes to Falco Helm Chart. The release
numbering uses [semantic versioning](http://semver.org).
## v4.14.1
alacuku marked this conversation as resolved.
Show resolved Hide resolved
* fix(falco/dashboard): make pod variable independent of triggered rules. CPU and memory are now visible for each
pod, even when no rules have been triggered for that falco instance.

## v4.14.0
* Bump k8smeta plugin to 0.2.1, see: https://github.com/falcosecurity/plugins/releases/tag/plugins%2Fk8smeta%2Fv0.2.1
Expand Down
2 changes: 1 addition & 1 deletion charts/falco/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: falco
version: 4.14.0
version: 4.14.1
appVersion: "0.39.1"
description: Falco
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/falco/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ If you use a Proxy in your cluster, the requests between `Falco` and `Falcosidek

## Configuration

The following table lists the main configurable parameters of the falco chart v4.14.0 and their default values. See [values.yaml](./values.yaml) for full list.
The following table lists the main configurable parameters of the falco chart v4.14.1 and their default values. See [values.yaml](./values.yaml) for full list.

## Values

Expand Down
31 changes: 16 additions & 15 deletions charts/falco/dashboards/falco-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -2516,14 +2516,14 @@
"type": "prometheus",
"uid": "${datasource}"
},
"definition": "label_values(falcosecurity_falco_rules_matches_total,namespace)",
"definition": "label_values(falcosecurity_falco_cpu_usage_ratio,namespace)",
"includeAll": true,
"multi": true,
"name": "namespace",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(falcosecurity_falco_rules_matches_total,namespace)",
"query": "label_values(falcosecurity_falco_cpu_usage_ratio,namespace)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
Expand All @@ -2543,15 +2543,14 @@
"type": "prometheus",
"uid": "${datasource}"
},
"definition": "label_values(falcosecurity_falco_rules_matches_total{namespace=~\"$namespace\"},source)",
"definition": "label_values(falcosecurity_falco_cpu_usage_ratio{namespace=~\"$namespace\"},pod)",
"includeAll": true,
"label": "source",
"multi": true,
"name": "source",
"name": "pod",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(falcosecurity_falco_rules_matches_total{namespace=~\"$namespace\"},source)",
"query": "label_values(falcosecurity_falco_cpu_usage_ratio{namespace=~\"$namespace\"},pod)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 2,
Expand All @@ -2572,15 +2571,15 @@
"type": "prometheus",
"uid": "${datasource}"
},
"definition": "label_values(falcosecurity_falco_rules_matches_total{namespace=~\"$namespace\", source=~\"$source\"},priority)",
"definition": "label_values(falcosecurity_falco_rules_matches_total{namespace=~\"$namespace\", pod=~\"$pod\"},source)",
"includeAll": true,
"label": "priority",
"label": "source",
"multi": true,
"name": "priority",
"name": "source",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(falcosecurity_falco_rules_matches_total{namespace=~\"$namespace\", source=~\"$source\"},priority)",
"query": "label_values(falcosecurity_falco_rules_matches_total{namespace=~\"$namespace\", pod=~\"$pod\"},source)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 2,
Expand All @@ -2601,18 +2600,20 @@
"type": "prometheus",
"uid": "${datasource}"
},
"definition": "label_values(falcosecurity_falco_rules_matches_total{namespace=~\"$namespace\", source=~\"$source\"},pod)",
"definition": "label_values(falcosecurity_falco_rules_matches_total{namespace=~\"$namespace\", source=~\"$source\"},priority)",
"includeAll": true,
"label": "priority",
"multi": true,
"name": "pod",
"name": "priority",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(falcosecurity_falco_rules_matches_total{namespace=~\"$namespace\", source=~\"$source\"},pod)",
"query": "label_values(falcosecurity_falco_rules_matches_total{namespace=~\"$namespace\", source=~\"$source\"},priority)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"sort": 4,
"type": "query"
}
]
Expand All @@ -2625,6 +2626,6 @@
"timezone": "browser",
"title": "Falco",
"uid": "ddwe2ug4nfi0wb",
"version": 45,
"version": 46,
"weekStart": ""
}