Skip to content

Commit

Permalink
Merge pull request #105 from akash4sh/main
Browse files Browse the repository at this point in the history
Add cstor dashboard and prometheus datasource
  • Loading branch information
akash4sh authored Sep 8, 2023
2 parents 09dd91e + d64481f commit 74d1f31
Show file tree
Hide file tree
Showing 8 changed files with 2,690 additions and 263 deletions.
2 changes: 1 addition & 1 deletion charts/monitoring/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 1.16.0
description: A Helm chart for Monitoring
name: monitoring
type: application
version: 0.1.8
version: 0.1.9
dependencies:
- name: prometheus-msteams
condition: prometheus-msteams.enabled
Expand Down
16 changes: 8 additions & 8 deletions charts/monitoring/templates/falco-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ data:
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"description": "",
"fieldConfig": {
Expand Down Expand Up @@ -90,8 +90,8 @@ data:
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"expr": "rate(falco_events[5m])",
"intervalFactor": 1,
Expand Down Expand Up @@ -132,8 +132,8 @@ data:
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"fontSize": "100%",
"gridPos": {
Expand Down Expand Up @@ -231,8 +231,8 @@ data:
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"expr": "falco_events",
"format": "table",
Expand Down
56 changes: 28 additions & 28 deletions charts/monitoring/templates/kubescape-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ data:
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -115,8 +115,8 @@ data:
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"expr": "kubescape_cluster_riskScore",
"refId": "A"
Expand All @@ -128,8 +128,8 @@ data:
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -204,8 +204,8 @@ data:
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -222,8 +222,8 @@ data:
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -321,8 +321,8 @@ data:
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -339,8 +339,8 @@ data:
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"description": "Number of Resources that failed/passed or skipped",
"fieldConfig": {
Expand Down Expand Up @@ -392,8 +392,8 @@ data:
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"editorMode": "code",
"expr": "sum(kubescape_control_count_resources_passed)",
Expand All @@ -404,8 +404,8 @@ data:
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -418,8 +418,8 @@ data:
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -436,8 +436,8 @@ data:
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"description": "Number of controls that failed/passed or skipped\n",
"fieldConfig": {
Expand Down Expand Up @@ -489,8 +489,8 @@ data:
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -503,8 +503,8 @@ data:
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -517,8 +517,8 @@ data:
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"type": "Prometheus",
"uid": "Prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand Down
Loading

0 comments on commit 74d1f31

Please sign in to comment.