diff --git a/README.md b/README.md
index 6a96db7e..4a0e9a11 100644
--- a/README.md
+++ b/README.md
@@ -9,18 +9,16 @@ You can find all the content organized and ready to use in [promcat.io](https://
# What can I find?
-PromCat comes as a crossroad for anyone that is looking for how to monitor a cloud application either with Prometheus or with Sysdig Monitor.
+PromCat comes as a crossroad for anyone that is looking for how to monitor a cloud application with Prometheus.
Here you will find the following contents for each application:
* Setup Guides: A complete step-by-step guide to install and configure the Prometheus exporter or the metrics module of the application.
-* Dashboards: A set of dashboards to monitor for trouble-shooting and metrics exploration of the application. All dashboards are offered in both [Sysdig Monitor](https://sysdig.com/products/monitor/) and [Grafana](https://github.com/grafana/grafana) formats.
+* Dashboards: A set of dashboards to monitor for trouble-shooting and metrics exploration of the application. All dashboards are in [Grafana](https://github.com/grafana/grafana) format.
* Alerts: A set of curated alerts for the application.
* Recording Rules: A set of recording rules.
# Who can use the resources?
-PromCat has two main use cases:
-* Sysdig customers: As a Sysdig customer, in PromCat you will find all the resources needed to setup exporters to be scraped by the Sysdig Agent and a set of ready to use dashboards and alerts.
-* Any Prometheus user: Thanks to the [native compatibility of the Sysdig Agent with Prometheus](https://sysdig.com/opensource/prometheus/), the same setup guides, dashboards and alerts can be used by any Prometheus user that needs to monitor cloud applications.
+The setup guides, dashboards and alerts can be used by any Prometheus user that needs to monitor cloud applications.
# Contributing
As any open source project, all contributions are welcome.
diff --git a/apps/aws-eks.yaml b/apps/aws-eks.yaml
index db411bbc..2df760ef 100644
--- a/apps/aws-eks.yaml
+++ b/apps/aws-eks.yaml
@@ -3,7 +3,7 @@ apiVersion: v1
kind: App
name: AWS EKS
keywords:
- - Available
+ - Coming soon
- AWS
- Kubernetes
availableVersions:
@@ -13,4 +13,4 @@ description: |
# AWS EKS with Fargate
icon: https://raw.githubusercontent.com/sysdiglabs/promcat-resources/master/apps/images/aws-eks.png
website: https://aws.amazon.com/eks/
-available: true
\ No newline at end of file
+available: false
\ No newline at end of file
diff --git a/apps/cassandra.yaml b/apps/cassandra.yaml
index 6902402d..9186dc12 100644
--- a/apps/cassandra.yaml
+++ b/apps/cassandra.yaml
@@ -4,7 +4,7 @@ kind: App
name: "cassandra"
keywords:
- Database
- - Available
+ - Coming soon
availableVersions:
- '3.11.6'
shortDescription: "Apache Cassandra is a free and open-source, distributed NoSQL database"
@@ -12,4 +12,4 @@ description: |
Apache Cassandra is a free and open-source, distributed, wide column store, NoSQL database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure.
icon: https://upload.wikimedia.org/wikipedia/commons/5/5e/Cassandra_logo.svg
website: https://cassandra.apache.org/
-available: true
\ No newline at end of file
+available: false
\ No newline at end of file
diff --git a/apps/etcd.yaml b/apps/etcd.yaml
index 25adc756..1871f18c 100644
--- a/apps/etcd.yaml
+++ b/apps/etcd.yaml
@@ -3,7 +3,7 @@ apiVersion: v1
kind: App
name: "etcd"
keywords:
- - Available
+ - Coming soon
- Kubernetes
availableVersions:
- '3.4.0'
@@ -13,4 +13,4 @@ description: |
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/etcd/horizontal/color/etcd-horizontal-color.png
website: https://etcd.io/
-available: true
\ No newline at end of file
+available: false
\ No newline at end of file
diff --git a/apps/istio.yaml b/apps/istio.yaml
index 7424b12d..69cce5a9 100644
--- a/apps/istio.yaml
+++ b/apps/istio.yaml
@@ -5,8 +5,7 @@ name: "Istio"
keywords:
- Kubernetes
- Available
-availableVersions:
- - '1.5'
+availableVersions:
- '1.14'
shortDescription: "Istio service mesh. Connect, secure, control, and observe services."
description: |
diff --git a/apps/kubernetes-control-plane.yaml b/apps/kubernetes-control-plane.yaml
index 769155d0..0a334fc1 100644
--- a/apps/kubernetes-control-plane.yaml
+++ b/apps/kubernetes-control-plane.yaml
@@ -5,9 +5,7 @@ name: "Kubernetes control plane"
keywords:
- Kubernetes
- Available
-availableVersions:
- - '1.14.0'
- - '1.18.0'
+availableVersions:
- '1.22.0'
shortDescription: Open-source system for automating deployment, scaling, and management of containerized applications.
description: |
diff --git a/apps/openshift.yaml b/apps/openshift.yaml
index d81ae786..f7c277eb 100644
--- a/apps/openshift.yaml
+++ b/apps/openshift.yaml
@@ -5,7 +5,7 @@ name: "Openshift"
keywords:
- Platform
- Kubernetes
- - Available
+ - Coming soon
availableVersions:
- '3.11'
- '4.3'
@@ -14,4 +14,4 @@ description: |
The Kubernetes platform for big ideas
icon: https://upload.wikimedia.org/wikipedia/commons/3/3a/OpenShift-LogoType.svg
website: https://www.openshift.com/
-available: true
\ No newline at end of file
+available: false
\ No newline at end of file
diff --git a/apps/rancher.yaml b/apps/rancher.yaml
index f7d7efbe..480eaf1d 100644
--- a/apps/rancher.yaml
+++ b/apps/rancher.yaml
@@ -4,7 +4,7 @@ kind: App
name: "Rancher"
keywords:
- Platform
- - Available
+ - Coming soon
- Kubernetes
availableVersions:
- '2.5.0'
@@ -13,4 +13,4 @@ description: |
# Rancher is open source software that combines everything an organization needs to adopt and run containers in production.
icon: https://raw.githubusercontent.com/sysdiglabs/promcat-resources/master/apps/images/rancher.png
website: https://rancher.com/
-available: true
+available: false
diff --git a/resources/aws-eks/ALERTS.md b/future-apps/aws-eks/ALERTS.md
similarity index 100%
rename from resources/aws-eks/ALERTS.md
rename to future-apps/aws-eks/ALERTS.md
diff --git a/resources/aws-eks/INSTALL.md b/future-apps/aws-eks/INSTALL.md
similarity index 54%
rename from resources/aws-eks/INSTALL.md
rename to future-apps/aws-eks/INSTALL.md
index 588ef77e..51a87350 100644
--- a/resources/aws-eks/INSTALL.md
+++ b/future-apps/aws-eks/INSTALL.md
@@ -1,5 +1,4 @@
# Prerequisites
-KSM and cAdvisor generates a high number of metrics. As the Sysdig Agent has a limit of time series that can send to Sysdig Monitor, you have to deploy a Prometheus server and create the recording rules that we provide. This way, you will filter only the metrics that you need.
To deploy a Prometheus server you will need:
* [helm](https://helm.sh/docs/intro/install/)
@@ -36,23 +35,4 @@ kubectl -n monitoring patch sts prometheus-server -p '{"spec":{"template":{"meta
```
kubectl -n monitoring apply -f prometheus-deploy.yaml
-```
-
-# Configuring the Sysdig Agent
-To install the Sysdig Agent, ensure that you have at least one EC2 instance in your EKS cluster.
-
-1. Install with helm Sysdig Agent in your cluster:
-
-```
-kubectl create ns sysdig-agent
-helm install -n sysdig-agent \
- --set sysdig.accessKey= \
- --set sysdig.settings.k8s_cluster_name= \
- sysdig-agent sysdiglabs/sysdig
-```
-
-2. Download the sample [Sysdig Agent configuration file](include/sysdig-agent-config.yaml) and apply it:
-
-```
-kubectl apply -f sysdig-agent-config.yaml
-```
+```
\ No newline at end of file
diff --git a/resources/aws-eks/README.md b/future-apps/aws-eks/README.md
similarity index 100%
rename from resources/aws-eks/README.md
rename to future-apps/aws-eks/README.md
diff --git a/resources/aws-eks/alerts.yaml b/future-apps/aws-eks/alerts.yaml
similarity index 100%
rename from resources/aws-eks/alerts.yaml
rename to future-apps/aws-eks/alerts.yaml
diff --git a/future-apps/aws-eks/dashboards.yaml b/future-apps/aws-eks/dashboards.yaml
new file mode 100644
index 00000000..26ea085a
--- /dev/null
+++ b/future-apps/aws-eks/dashboards.yaml
@@ -0,0 +1,7 @@
+apiVersion: v1
+kind: Dashboard
+app: 'AWS EKS'
+version: 1.0.0
+appVersion:
+ - "1.15-1.17"
+configurations: []
\ No newline at end of file
diff --git a/resources/aws-eks/description.yaml b/future-apps/aws-eks/description.yaml
similarity index 100%
rename from resources/aws-eks/description.yaml
rename to future-apps/aws-eks/description.yaml
diff --git a/resources/aws-eks/include/helmfile.yaml b/future-apps/aws-eks/include/helmfile.yaml
similarity index 100%
rename from resources/aws-eks/include/helmfile.yaml
rename to future-apps/aws-eks/include/helmfile.yaml
diff --git a/resources/aws-eks/include/prometheus-alerts.yaml b/future-apps/aws-eks/include/prometheus-alerts.yaml
similarity index 100%
rename from resources/aws-eks/include/prometheus-alerts.yaml
rename to future-apps/aws-eks/include/prometheus-alerts.yaml
diff --git a/resources/aws-eks/include/prometheus-cm.yaml b/future-apps/aws-eks/include/prometheus-cm.yaml
similarity index 100%
rename from resources/aws-eks/include/prometheus-cm.yaml
rename to future-apps/aws-eks/include/prometheus-cm.yaml
diff --git a/resources/aws-eks/include/prometheus-deploy.yaml b/future-apps/aws-eks/include/prometheus-deploy.yaml
similarity index 100%
rename from resources/aws-eks/include/prometheus-deploy.yaml
rename to future-apps/aws-eks/include/prometheus-deploy.yaml
diff --git a/resources/aws-eks/include/prometheus.yaml b/future-apps/aws-eks/include/prometheus.yaml
similarity index 100%
rename from resources/aws-eks/include/prometheus.yaml
rename to future-apps/aws-eks/include/prometheus.yaml
diff --git a/resources/aws-eks/include/prometheus.yml.gotmpl b/future-apps/aws-eks/include/prometheus.yml.gotmpl
similarity index 100%
rename from resources/aws-eks/include/prometheus.yml.gotmpl
rename to future-apps/aws-eks/include/prometheus.yml.gotmpl
diff --git a/resources/aws-eks/include/recording_rules.yaml b/future-apps/aws-eks/include/recording_rules.yaml
similarity index 100%
rename from resources/aws-eks/include/recording_rules.yaml
rename to future-apps/aws-eks/include/recording_rules.yaml
diff --git a/resources/aws-eks/setup-guide.yaml b/future-apps/aws-eks/setup-guide.yaml
similarity index 89%
rename from resources/aws-eks/setup-guide.yaml
rename to future-apps/aws-eks/setup-guide.yaml
index 3c658c78..22da1252 100644
--- a/resources/aws-eks/setup-guide.yaml
+++ b/future-apps/aws-eks/setup-guide.yaml
@@ -17,6 +17,4 @@ configurations:
file: include/prometheus-deploy.yaml
- name: prometheus-cm.yaml
file: include/prometheus-cm.yaml
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
descriptionFile: INSTALL.md
diff --git a/resources/cassandra/ALERTS.md b/future-apps/cassandra/ALERTS.md
similarity index 100%
rename from resources/cassandra/ALERTS.md
rename to future-apps/cassandra/ALERTS.md
diff --git a/resources/cassandra/INSTALL.md b/future-apps/cassandra/INSTALL.md
similarity index 100%
rename from resources/cassandra/INSTALL.md
rename to future-apps/cassandra/INSTALL.md
diff --git a/resources/cassandra/README.md b/future-apps/cassandra/README.md
similarity index 100%
rename from resources/cassandra/README.md
rename to future-apps/cassandra/README.md
diff --git a/resources/cassandra/alerts.yaml b/future-apps/cassandra/alerts.yaml
similarity index 100%
rename from resources/cassandra/alerts.yaml
rename to future-apps/cassandra/alerts.yaml
diff --git a/resources/cassandra/dashboards.yaml b/future-apps/cassandra/dashboards.yaml
similarity index 62%
rename from resources/cassandra/dashboards.yaml
rename to future-apps/cassandra/dashboards.yaml
index 98fb59a0..d8d6ada3 100644
--- a/resources/cassandra/dashboards.yaml
+++ b/future-apps/cassandra/dashboards.yaml
@@ -6,22 +6,23 @@ appVersion:
- '3.11.6'
configurations:
- name: 'Cassandra overview'
- kind: Sysdig
- image: 'cassandra/images/cassandra-sysdig.png'
+ kind: Grafana
+ image: 'cassandra/images/cassandra-grafana.png'
description: |
This dashboard offers information on:
- * Dropped Messages
+ * Nodes up
* ClientRead avg duration
* ClientWrite avg duration
* JVM Heap usage
* Pending compactions
- * Commitlog tasks
- * Storage exceptions
+ * Pending tasks
* Unavailable exceptions
+ * Available disk
* 95thPercentile read latency
* 95thPercentile write latency
+ * Avaiable disk by instance
* Users conected
- * Tombstones scanned
- * CQL statements
- * Keyspace and tables
- file: include/dashboard-Sysdig--1.0.0.json
\ No newline at end of file
+ * CPU load ratio
+ * JVM usage
+ * Cassandra
+ file: include/dashboard-Grafana--1.0.0.json
diff --git a/resources/cassandra/description.yaml b/future-apps/cassandra/description.yaml
similarity index 100%
rename from resources/cassandra/description.yaml
rename to future-apps/cassandra/description.yaml
diff --git a/resources/cassandra/images/cassandra-grafana.png b/future-apps/cassandra/images/cassandra-grafana.png
similarity index 100%
rename from resources/cassandra/images/cassandra-grafana.png
rename to future-apps/cassandra/images/cassandra-grafana.png
diff --git a/resources/cassandra/include/dashboard-Grafana--1.0.0.json b/future-apps/cassandra/include/dashboard-Grafana--1.0.0.json
similarity index 100%
rename from resources/cassandra/include/dashboard-Grafana--1.0.0.json
rename to future-apps/cassandra/include/dashboard-Grafana--1.0.0.json
diff --git a/resources/cassandra/include/jmx-config.yaml b/future-apps/cassandra/include/jmx-config.yaml
similarity index 100%
rename from resources/cassandra/include/jmx-config.yaml
rename to future-apps/cassandra/include/jmx-config.yaml
diff --git a/resources/cassandra/include/patch.yaml b/future-apps/cassandra/include/patch.yaml
similarity index 93%
rename from resources/cassandra/include/patch.yaml
rename to future-apps/cassandra/include/patch.yaml
index 783f96bc..36268d37 100644
--- a/resources/cassandra/include/patch.yaml
+++ b/future-apps/cassandra/include/patch.yaml
@@ -2,8 +2,8 @@ spec:
template:
metadata:
annotations:
- promcat.sysdig.com/integration_type: cassandra
- promcat.sysdig.com/port: "5556"
+ prometheus.io/scrape: "true"
+ prometheus.io/port: "5556"
spec:
containers:
- image: quay.io/sysdig/promcat-jmx-exporter:v0.17.3
diff --git a/resources/cassandra/setup-guide.yaml b/future-apps/cassandra/setup-guide.yaml
similarity index 100%
rename from resources/cassandra/setup-guide.yaml
rename to future-apps/cassandra/setup-guide.yaml
diff --git a/resources/etcd/ALERTS.md b/future-apps/etcd/ALERTS.md
similarity index 100%
rename from resources/etcd/ALERTS.md
rename to future-apps/etcd/ALERTS.md
diff --git a/future-apps/etcd/INSTALL.md b/future-apps/etcd/INSTALL.md
new file mode 100644
index 00000000..6059b917
--- /dev/null
+++ b/future-apps/etcd/INSTALL.md
@@ -0,0 +1 @@
+# Prerequisites
diff --git a/resources/etcd/README.md b/future-apps/etcd/README.md
similarity index 100%
rename from resources/etcd/README.md
rename to future-apps/etcd/README.md
diff --git a/resources/etcd/alerts.yaml b/future-apps/etcd/alerts.yaml
similarity index 100%
rename from resources/etcd/alerts.yaml
rename to future-apps/etcd/alerts.yaml
diff --git a/resources/etcd/dashboards.yaml b/future-apps/etcd/dashboards.yaml
similarity index 54%
rename from resources/etcd/dashboards.yaml
rename to future-apps/etcd/dashboards.yaml
index 58badb56..48eb7578 100644
--- a/resources/etcd/dashboards.yaml
+++ b/future-apps/etcd/dashboards.yaml
@@ -5,23 +5,6 @@ version: 1.0.0
appVersion:
- '3.4.0'
configurations:
-- name: 'etcd'
- kind: Sysdig
- image: etcd/images/etcd_sysdig.png
- description: |
- This dashboard offers information on:
- * Etcd has a leader?
- * The number of leader changes seen
- * The total number of failed proposals seen
- * RPC Rate
- * Active Streams
- * DB Size
- * Disk Sync Duration
- * The total number of consensus proposals committed
- * Memory
- * CPU usage
- * Goroutines
- file: include/dashboard-Sysdig---etcd.json
- name: 'etcd'
kind: Grafana
image: etcd/images/etcd_grafana.png
diff --git a/resources/etcd/description.yaml b/future-apps/etcd/description.yaml
similarity index 100%
rename from resources/etcd/description.yaml
rename to future-apps/etcd/description.yaml
diff --git a/resources/etcd/images/etcd_grafana.png b/future-apps/etcd/images/etcd_grafana.png
similarity index 100%
rename from resources/etcd/images/etcd_grafana.png
rename to future-apps/etcd/images/etcd_grafana.png
diff --git a/resources/etcd/include/Kubernetes_grafana_etcd.json b/future-apps/etcd/include/Kubernetes_grafana_etcd.json
similarity index 100%
rename from resources/etcd/include/Kubernetes_grafana_etcd.json
rename to future-apps/etcd/include/Kubernetes_grafana_etcd.json
diff --git a/future-apps/etcd/setup-guide.yaml b/future-apps/etcd/setup-guide.yaml
new file mode 100644
index 00000000..22c0e745
--- /dev/null
+++ b/future-apps/etcd/setup-guide.yaml
@@ -0,0 +1,8 @@
+apiVersion: v1
+kind: SetupGuide
+app: etcd
+version: 1.0.0
+appVersion:
+- 3.4.0
+configurations: []
+descriptionFile: INSTALL.md
\ No newline at end of file
diff --git a/future-apps/kubernetes-resources/alerts.yaml b/future-apps/kubernetes-resources/alerts.yaml
index 25ffa741..6bda3ddb 100644
--- a/future-apps/kubernetes-resources/alerts.yaml
+++ b/future-apps/kubernetes-resources/alerts.yaml
@@ -548,990 +548,3 @@ configurations:
for: "15m"
labels:
severity: "critical"
-- data: |-
- {
- "alert": {
- "condition": "rate(kube_pod_container_status_restarts_total{job=\"kube-state-metrics\"}[15m]) * 60 * 5 > 0\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubePodCrashLooping",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "sum by (namespace, pod) (max by(namespace, pod) (kube_pod_status_phase{job=\"kube-state-metrics\", phase=~\"Pending|Unknown\"}) * on(namespace, pod) group_left(owner_kind) max by(namespace, pod, owner_kind) (kube_pod_owner{owner_kind!=\"Job\"})) > 0\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubePodNotReady",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "kube_deployment_status_observed_generation{job=\"kube-state-metrics\"}\n !=\nkube_deployment_metadata_generation{job=\"kube-state-metrics\"}\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeDeploymentGenerationMismatch",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "(\n kube_deployment_spec_replicas{job=\"kube-state-metrics\"}\n !=\n kube_deployment_status_replicas_available{job=\"kube-state-metrics\"}\n) and (\n changes(kube_deployment_status_replicas_updated{job=\"kube-state-metrics\"}[5m])\n ==\n 0\n)\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeDeploymentReplicasMismatch",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "(\n kube_statefulset_status_replicas_ready{job=\"kube-state-metrics\"}\n !=\n kube_statefulset_status_replicas{job=\"kube-state-metrics\"}\n) and (\n changes(kube_statefulset_status_replicas_updated{job=\"kube-state-metrics\"}[5m])\n ==\n 0\n)\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeStatefulSetReplicasMismatch",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "kube_statefulset_status_observed_generation{job=\"kube-state-metrics\"}\n !=\nkube_statefulset_metadata_generation{job=\"kube-state-metrics\"}\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeStatefulSetGenerationMismatch",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "max without (revision) (\n kube_statefulset_status_current_revision{job=\"kube-state-metrics\"}\n unless\n kube_statefulset_status_update_revision{job=\"kube-state-metrics\"}\n)\n *\n(\n kube_statefulset_replicas{job=\"kube-state-metrics\"}\n !=\n kube_statefulset_status_replicas_updated{job=\"kube-state-metrics\"}\n)\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeStatefulSetUpdateNotRolledOut",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "kube_daemonset_status_number_ready{job=\"kube-state-metrics\"}\n /\nkube_daemonset_status_desired_number_scheduled{job=\"kube-state-metrics\"} < 1.00\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeDaemonSetRolloutStuck",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "sum by (namespace, pod, container) (kube_pod_container_status_waiting_reason{job=\"kube-state-metrics\"}) > 0\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeContainerWaiting",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 60,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "kube_daemonset_status_desired_number_scheduled{job=\"kube-state-metrics\"}\n -\nkube_daemonset_status_current_number_scheduled{job=\"kube-state-metrics\"} > 0\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeDaemonSetNotScheduled",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 10,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "kube_daemonset_status_number_misscheduled{job=\"kube-state-metrics\"} > 0\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeDaemonSetMisScheduled",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 10,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "time() - kube_cronjob_next_schedule_time{job=\"kube-state-metrics\"} > 3600\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeCronJobRunning",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 60,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "kube_job_spec_completions{job=\"kube-state-metrics\"} - kube_job_status_succeeded{job=\"kube-state-metrics\"} > 0\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeJobCompletion",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 60,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "kube_job_failed{job=\"kube-state-metrics\"} > 0\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeJobFailed",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "(kube_hpa_status_desired_replicas{job=\"kube-state-metrics\"}\n !=\nkube_hpa_status_current_replicas{job=\"kube-state-metrics\"})\n and\nchanges(kube_hpa_status_current_replicas[15m]) == 0\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeHpaReplicasMismatch",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "kube_hpa_status_current_replicas{job=\"kube-state-metrics\"}\n ==\nkube_hpa_spec_max_replicas{job=\"kube-state-metrics\"}\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeHpaMaxedOut",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "sum(namespace:kube_pod_container_resource_requests_cpu_cores:sum{})\n /\nsum(kube_node_status_allocatable_cpu_cores)\n >\n(count(kube_node_status_allocatable_cpu_cores)-1) / count(kube_node_status_allocatable_cpu_cores)\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeCPUOvercommit",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 5,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "sum(namespace:kube_pod_container_resource_requests_memory_bytes:sum{})\n /\nsum(kube_node_status_allocatable_memory_bytes)\n >\n(count(kube_node_status_allocatable_memory_bytes)-1)\n /\ncount(kube_node_status_allocatable_memory_bytes)\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeMemOvercommit",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 5,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "sum(kube_resourcequota{job=\"kube-state-metrics\", type=\"hard\", resource=\"cpu\"})\n /\nsum(kube_node_status_allocatable_cpu_cores)\n > 1.5\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeCPUOvercommit",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 5,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "sum(kube_resourcequota{job=\"kube-state-metrics\", type=\"hard\", resource=\"memory\"})\n /\nsum(kube_node_status_allocatable_memory_bytes{job=\"node-exporter\"})\n > 1.5\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeMemOvercommit",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 5,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "kube_resourcequota{job=\"kube-state-metrics\", type=\"used\"}\n / ignoring(instance, job, type)\n(kube_resourcequota{job=\"kube-state-metrics\", type=\"hard\"} > 0)\n > 0.90\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeQuotaExceeded",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "sum(increase(container_cpu_cfs_throttled_periods_total{container!=\"\", }[5m])) by (container, pod, namespace)\n /\nsum(increase(container_cpu_cfs_periods_total{}[5m])) by (container, pod, namespace)\n > ( 25 / 100 )\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "CPUThrottlingHigh",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "kubelet_volume_stats_available_bytes{job=\"kubelet\"}\n /\nkubelet_volume_stats_capacity_bytes{job=\"kubelet\"}\n < 0.03\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubePersistentVolumeUsageCritical",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 1,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "(\n kubelet_volume_stats_available_bytes{job=\"kubelet\"}\n /\n kubelet_volume_stats_capacity_bytes{job=\"kubelet\"}\n) < 0.15\nand\npredict_linear(kubelet_volume_stats_available_bytes{job=\"kubelet\"}[6h], 4 * 24 * 3600) < 0\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubePersistentVolumeFullInFourDays",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 60,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "kube_persistentvolume_status_phase{phase=~\"Failed|Pending\",job=\"kube-state-metrics\"} > 0\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubePersistentVolumeErrors",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 5,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "count(count by (gitVersion) (label_replace(kubernetes_build_info{job!~\"kube-dns|coredns\"},\"gitVersion\",\"$1\",\"gitVersion\",\"(v[0-9]*.[0-9]*.[0-9]*).*\"))) > 1\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeVersionMismatch",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "(sum(rate(rest_client_requests_total{code=~\"5..\"}[5m])) by (instance, job)\n /\nsum(rate(rest_client_requests_total[5m])) by (instance, job))\n> 0.01\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeClientErrors",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "(\n status_class_5xx:apiserver_request_total:ratio_rate1h{job=\"kube-apiserver\"} > (14.4*0.010000)\n and\n status_class_5xx:apiserver_request_total:ratio_rate5m{job=\"kube-apiserver\"} > (14.4*0.010000)\n)\nor\n(\n status_class_5xx:apiserver_request_total:ratio_rate6h{job=\"kube-apiserver\"} > (6*0.010000)\n and\n status_class_5xx:apiserver_request_total:ratio_rate30m{job=\"kube-apiserver\"} > (6*0.010000)\n)\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "ErrorBudgetBurn",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 0,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "(\n status_class_5xx:apiserver_request_total:ratio_rate1d{job=\"kube-apiserver\"} > (3*0.010000)\n and\n status_class_5xx:apiserver_request_total:ratio_rate2h{job=\"kube-apiserver\"} > (3*0.010000)\n)\nor\n(\n status_class_5xx:apiserver_request_total:ratio_rate3d{job=\"kube-apiserver\"} > (0.010000)\n and\n status_class_5xx:apiserver_request_total:ratio_rate6h{job=\"kube-apiserver\"} > (0.010000)\n)\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "ErrorBudgetBurn",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 0,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "(\n cluster:apiserver_request_duration_seconds:mean5m{job=\"kube-apiserver\"}\n >\n on (verb) group_left()\n (\n avg by (verb) (cluster:apiserver_request_duration_seconds:mean5m{job=\"kube-apiserver\"} >= 0)\n +\n 2*stddev by (verb) (cluster:apiserver_request_duration_seconds:mean5m{job=\"kube-apiserver\"} >= 0)\n )\n) > on (verb) group_left()\n1.2 * avg by (verb) (cluster:apiserver_request_duration_seconds:mean5m{job=\"kube-apiserver\"} >= 0)\nand on (verb,resource)\ncluster_quantile:apiserver_request_duration_seconds:histogram_quantile{job=\"kube-apiserver\",quantile=\"0.99\"}\n>\n1\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeAPILatencyHigh",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 5,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "cluster_quantile:apiserver_request_duration_seconds:histogram_quantile{job=\"kube-apiserver\",quantile=\"0.99\"} > 4\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeAPILatencyHigh",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 10,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "sum(rate(apiserver_request_total{job=\"kube-apiserver\",code=~\"5..\"}[5m])) by (resource,subresource,verb)\n /\nsum(rate(apiserver_request_total{job=\"kube-apiserver\"}[5m])) by (resource,subresource,verb) > 0.10\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeAPIErrorsHigh",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 10,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "sum(rate(apiserver_request_total{job=\"kube-apiserver\",code=~\"5..\"}[5m])) by (resource,subresource,verb)\n /\nsum(rate(apiserver_request_total{job=\"kube-apiserver\"}[5m])) by (resource,subresource,verb) > 0.05\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeAPIErrorsHigh",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 10,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "apiserver_client_certificate_expiration_seconds_count{job=\"kube-apiserver\"} > 0 and on(job) histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket{job=\"kube-apiserver\"}[5m]))) < 604800\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeClientCertificateExpiration",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 0,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "apiserver_client_certificate_expiration_seconds_count{job=\"kube-apiserver\"} > 0 and on(job) histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket{job=\"kube-apiserver\"}[5m]))) < 86400\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeClientCertificateExpiration",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 0,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "sum by(name, namespace)(increase(aggregator_unavailable_apiservice_count[5m])) > 2\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "AggregatedAPIErrors",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 0,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "sum by(name, namespace)(sum_over_time(aggregator_unavailable_apiservice[5m])) > 0\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "AggregatedAPIDown",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 5,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "absent(up{job=\"kube-apiserver\"} == 1)\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeAPIDown",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "kube_node_status_condition{job=\"kube-state-metrics\",condition=\"Ready\",status=\"true\"} == 0\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeNodeNotReady",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "kube_node_spec_taint{job=\"kube-state-metrics\",key=\"node.kubernetes.io/unreachable\",effect=\"NoSchedule\"} == 1\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeNodeUnreachable",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 2,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "max(max(kubelet_running_pod_count{job=\"kubelet\"}) by(instance) * on(instance) group_left(node) kubelet_node_name{job=\"kubelet\"}) by(node) / max(kube_node_status_capacity_pods{job=\"kube-state-metrics\"}) by(node) > 0.95\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeletTooManyPods",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "sum(changes(kube_node_status_condition{status=\"true\",condition=\"Ready\"}[15m])) by (node) > 2\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeNodeReadinessFlapping",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "node_quantile:kubelet_pleg_relist_duration_seconds:histogram_quantile{quantile=\"0.99\"} >= 10\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeletPlegDurationHigh",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 5,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{job=\"kubelet\"}[5m])) by (instance, le)) * on(instance) group_left(node) kubelet_node_name > 60\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeletPodStartUpLatencyHigh",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "absent(up{job=\"kubelet\"} == 1)\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeletDown",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "absent(up{job=\"kube-scheduler\"} == 1)\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeSchedulerDown",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
-- data: |-
- {
- "alert": {
- "condition": "absent(up{job=\"kube-controller-manager\"} == 1)\n",
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": "KubeControllerManagerDown",
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 15,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
- kind: Sysdig
diff --git a/resources/openshift/ALERTS.md b/future-apps/openshift/ALERTS.md
similarity index 100%
rename from resources/openshift/ALERTS.md
rename to future-apps/openshift/ALERTS.md
diff --git a/future-apps/openshift/INSTALL.md b/future-apps/openshift/INSTALL.md
new file mode 100644
index 00000000..0e66b074
--- /dev/null
+++ b/future-apps/openshift/INSTALL.md
@@ -0,0 +1,3 @@
+# Gather the metrics from the prometheus deployed by Openshift
+
+Metrics are automatically gathered by Prometheus Cluster Monitoring, you can query them in the Prometheus built-in console.
\ No newline at end of file
diff --git a/resources/openshift/README-v3.11.md b/future-apps/openshift/README-v3.11.md
similarity index 69%
rename from resources/openshift/README-v3.11.md
rename to future-apps/openshift/README-v3.11.md
index 1931d8b4..4dbf2f1f 100644
--- a/resources/openshift/README-v3.11.md
+++ b/future-apps/openshift/README-v3.11.md
@@ -2,10 +2,6 @@
Red Hat® OpenShift® offers a consistent hybrid cloud foundation for building and scaling containerized applications.
Benefit from streamlined platform installation and upgrades from one of the enterprise Kubernetes leaders.
-Openshift provides a prometheus with all targets and metrics but doesn't provide any dashboard with this information.
-You can gather the metrics with our agent and show all metrics in our dashboards or even in the grafana dashboards with
-the Sysdig datasource as a Prometheus datasource.
-
For more information, see the exporter config tab.
# Metrics
diff --git a/resources/openshift/README-v4.3.md b/future-apps/openshift/README-v4.3.md
similarity index 70%
rename from resources/openshift/README-v4.3.md
rename to future-apps/openshift/README-v4.3.md
index 15d05434..b001fcc5 100644
--- a/resources/openshift/README-v4.3.md
+++ b/future-apps/openshift/README-v4.3.md
@@ -2,10 +2,6 @@
Red Hat® OpenShift® offers a consistent hybrid cloud foundation for building and scaling containerized applications.
Benefit from streamlined platform installation and upgrades from one of the enterprise Kubernetes leaders.
-Openshift provides a prometheus with all targets and metrics but doesn't provide any dashboard with this information.
-You can gather the metrics with our agent and show all metrics in our dashboards or even in the grafana dashboards with
-the Sysdig datasource as a Prometheus datasource.
-
For more information, see the exporter config tab.
# Metrics
diff --git a/resources/openshift/alerts.yaml b/future-apps/openshift/alerts.yaml
similarity index 100%
rename from resources/openshift/alerts.yaml
rename to future-apps/openshift/alerts.yaml
diff --git a/resources/openshift/dashboards-v3.11.yaml b/future-apps/openshift/dashboards-v3.11.yaml
similarity index 53%
rename from resources/openshift/dashboards-v3.11.yaml
rename to future-apps/openshift/dashboards-v3.11.yaml
index 147922d8..edbfc6a1 100644
--- a/resources/openshift/dashboards-v3.11.yaml
+++ b/future-apps/openshift/dashboards-v3.11.yaml
@@ -5,27 +5,6 @@ version: 1.0.0
appVersion:
- '3.11'
configurations:
-- name: Ocp3 / Controller manager
- kind: Sysdig
- image: openshift/images/controller_manager_sysdig.png
- description: |
- This dashboard offers information on:
- * Controller manager
- file: include/dashboard-Sysdig-Ocp3---Controller-manager-3.11.json
-- name: Ocp3 / Api
- kind: Sysdig
- image: openshift/images/api_sysdig.png
- description: |
- This dashboard offers information on:
- * Api Server
- file: include/dashboard-Sysdig-Ocp3---Api-3.11.json
-- name: Ocp3 / Kubelet
- kind: Sysdig
- image: openshift/images/kubelet_sysdig.png
- description: |
- This dashboard offers information on:
- * Kubelet
- file: include/dashboard-Sysdig-Ocp3---Kubelet-3.11.json
- name: Ocp3 / Api
kind: Grafana
image: openshift/images/api_grafana.png
diff --git a/resources/openshift/dashboards-v4.3.yaml b/future-apps/openshift/dashboards-v4.3.yaml
similarity index 52%
rename from resources/openshift/dashboards-v4.3.yaml
rename to future-apps/openshift/dashboards-v4.3.yaml
index a5d9842d..324ccacd 100644
--- a/resources/openshift/dashboards-v4.3.yaml
+++ b/future-apps/openshift/dashboards-v4.3.yaml
@@ -5,48 +5,6 @@ version: 1.0.0
appVersion:
- '4.3'
configurations:
-- name: Ocp4 / Controller manager
- kind: Sysdig
- image: openshift/images/controller_manager_sysdig.png
- description: |
- This dashboard offers information on:
- * Controller manager
- file: include/dashboard-Sysdig-Ocp4---Controller-manager-4.3.json
-- name: Ocp4 / Api
- kind: Sysdig
- image: openshift/images/api_sysdig.png
- description: |
- This dashboard offers information on:
- * Api Server
- file: include/dashboard-Sysdig-Ocp4---Api-4.3.json
-- name: Ocp4 / Kubelet
- kind: Sysdig
- image: openshift/images/kubelet_sysdig.png
- description: |
- This dashboard offers information on:
- * Kubelet
- file: include/dashboard-Sysdig-Ocp4---Kubelet-4.3.json
-- name: Ocp4 / Scheduler
- kind: Sysdig
- image: openshift/images/scheduler_sysdig.png
- description: |
- This dashboard offers information on:
- * Scheduler
- file: include/dashboard-Sysdig-Ocp4---Scheduler-4.3.json
-- name: Ocp4 / etcd
- kind: Sysdig
- image: openshift/images/etcd_sysdig.png
- description: |
- This dashboard offers information on:
- * etcd
- file: include/dashboard-Sysdig-Ocp4---etcd-4.3.json
-- name: Ocp4 / coreDNS
- kind: Sysdig
- image: openshift/images/coreDNS_sysdig.png
- description: |
- This dashboard offers information on:
- * CoreDNS
- file: include/dashboard-Sysdig-Ocp4---CoreDNS-4.3.json
- name: Ocp4 / Api
kind: Grafana
image: openshift/images/api_grafana.png
diff --git a/resources/openshift/description-v3.11.yaml b/future-apps/openshift/description-v3.11.yaml
similarity index 100%
rename from resources/openshift/description-v3.11.yaml
rename to future-apps/openshift/description-v3.11.yaml
diff --git a/resources/openshift/description-v4.3.yaml b/future-apps/openshift/description-v4.3.yaml
similarity index 100%
rename from resources/openshift/description-v4.3.yaml
rename to future-apps/openshift/description-v4.3.yaml
diff --git a/resources/openshift/images/api_grafana.png b/future-apps/openshift/images/api_grafana.png
similarity index 100%
rename from resources/openshift/images/api_grafana.png
rename to future-apps/openshift/images/api_grafana.png
diff --git a/resources/openshift/images/controller_manager_grafana.png b/future-apps/openshift/images/controller_manager_grafana.png
similarity index 100%
rename from resources/openshift/images/controller_manager_grafana.png
rename to future-apps/openshift/images/controller_manager_grafana.png
diff --git a/resources/kubernetes-control/images/coreDNS_grafana.png b/future-apps/openshift/images/coreDNS_grafana.png
similarity index 100%
rename from resources/kubernetes-control/images/coreDNS_grafana.png
rename to future-apps/openshift/images/coreDNS_grafana.png
diff --git a/resources/kubernetes-control/images/etcd_grafana.png b/future-apps/openshift/images/etcd_grafana.png
similarity index 100%
rename from resources/kubernetes-control/images/etcd_grafana.png
rename to future-apps/openshift/images/etcd_grafana.png
diff --git a/resources/openshift/images/kubelet_grafana.png b/future-apps/openshift/images/kubelet_grafana.png
similarity index 100%
rename from resources/openshift/images/kubelet_grafana.png
rename to future-apps/openshift/images/kubelet_grafana.png
diff --git a/resources/openshift/images/scheduler_grafana.png b/future-apps/openshift/images/scheduler_grafana.png
similarity index 100%
rename from resources/openshift/images/scheduler_grafana.png
rename to future-apps/openshift/images/scheduler_grafana.png
diff --git a/resources/openshift/include/dashboard-Grafana-Ocp3---Api-3.11.json b/future-apps/openshift/include/dashboard-Grafana-Ocp3---Api-3.11.json
similarity index 100%
rename from resources/openshift/include/dashboard-Grafana-Ocp3---Api-3.11.json
rename to future-apps/openshift/include/dashboard-Grafana-Ocp3---Api-3.11.json
diff --git a/resources/openshift/include/dashboard-Grafana-Ocp3---Controller-manager-3.11.json b/future-apps/openshift/include/dashboard-Grafana-Ocp3---Controller-manager-3.11.json
similarity index 100%
rename from resources/openshift/include/dashboard-Grafana-Ocp3---Controller-manager-3.11.json
rename to future-apps/openshift/include/dashboard-Grafana-Ocp3---Controller-manager-3.11.json
diff --git a/resources/openshift/include/dashboard-Grafana-Ocp3---Kubelet-3.11.json b/future-apps/openshift/include/dashboard-Grafana-Ocp3---Kubelet-3.11.json
similarity index 100%
rename from resources/openshift/include/dashboard-Grafana-Ocp3---Kubelet-3.11.json
rename to future-apps/openshift/include/dashboard-Grafana-Ocp3---Kubelet-3.11.json
diff --git a/resources/openshift/include/dashboard-Grafana-Ocp4---Api-4.3.json b/future-apps/openshift/include/dashboard-Grafana-Ocp4---Api-4.3.json
similarity index 100%
rename from resources/openshift/include/dashboard-Grafana-Ocp4---Api-4.3.json
rename to future-apps/openshift/include/dashboard-Grafana-Ocp4---Api-4.3.json
diff --git a/resources/openshift/include/dashboard-Grafana-Ocp4---Controller-manager-4.3.json b/future-apps/openshift/include/dashboard-Grafana-Ocp4---Controller-manager-4.3.json
similarity index 100%
rename from resources/openshift/include/dashboard-Grafana-Ocp4---Controller-manager-4.3.json
rename to future-apps/openshift/include/dashboard-Grafana-Ocp4---Controller-manager-4.3.json
diff --git a/resources/openshift/include/dashboard-Grafana-Ocp4---CoreDNS-4.3.json b/future-apps/openshift/include/dashboard-Grafana-Ocp4---CoreDNS-4.3.json
similarity index 100%
rename from resources/openshift/include/dashboard-Grafana-Ocp4---CoreDNS-4.3.json
rename to future-apps/openshift/include/dashboard-Grafana-Ocp4---CoreDNS-4.3.json
diff --git a/resources/openshift/include/dashboard-Grafana-Ocp4---Kubelet-4.3.json b/future-apps/openshift/include/dashboard-Grafana-Ocp4---Kubelet-4.3.json
similarity index 100%
rename from resources/openshift/include/dashboard-Grafana-Ocp4---Kubelet-4.3.json
rename to future-apps/openshift/include/dashboard-Grafana-Ocp4---Kubelet-4.3.json
diff --git a/resources/openshift/include/dashboard-Grafana-Ocp4---Scheduler-4.3.json b/future-apps/openshift/include/dashboard-Grafana-Ocp4---Scheduler-4.3.json
similarity index 100%
rename from resources/openshift/include/dashboard-Grafana-Ocp4---Scheduler-4.3.json
rename to future-apps/openshift/include/dashboard-Grafana-Ocp4---Scheduler-4.3.json
diff --git a/resources/openshift/include/dashboard-Grafana-Ocp4---etcd-4.3.json b/future-apps/openshift/include/dashboard-Grafana-Ocp4---etcd-4.3.json
similarity index 100%
rename from resources/openshift/include/dashboard-Grafana-Ocp4---etcd-4.3.json
rename to future-apps/openshift/include/dashboard-Grafana-Ocp4---etcd-4.3.json
diff --git a/future-apps/openshift/setup-guide-v3.11.yaml b/future-apps/openshift/setup-guide-v3.11.yaml
new file mode 100644
index 00000000..7d7f37e1
--- /dev/null
+++ b/future-apps/openshift/setup-guide-v3.11.yaml
@@ -0,0 +1,8 @@
+apiVersion: v1
+kind: SetupGuide
+app: Openshift
+version: 1.0.0
+appVersion:
+- '3.11'
+configurations: []
+descriptionFile: INSTALL.md
diff --git a/future-apps/openshift/setup-guide-v4.3.yaml b/future-apps/openshift/setup-guide-v4.3.yaml
new file mode 100644
index 00000000..73623ae6
--- /dev/null
+++ b/future-apps/openshift/setup-guide-v4.3.yaml
@@ -0,0 +1,8 @@
+apiVersion: v1
+kind: SetupGuide
+app: Openshift
+version: 1.0.0
+appVersion:
+- '4.3'
+configurations: []
+descriptionFile: INSTALL.md
diff --git a/resources/rancher/ALERTS.md b/future-apps/rancher/ALERTS.md
similarity index 100%
rename from resources/rancher/ALERTS.md
rename to future-apps/rancher/ALERTS.md
diff --git a/future-apps/rancher/INSTALL.md b/future-apps/rancher/INSTALL.md
new file mode 100644
index 00000000..590da9a6
--- /dev/null
+++ b/future-apps/rancher/INSTALL.md
@@ -0,0 +1,15 @@
+# Prerequisites
+## Enable monitoring
+Rancher can deploy a Prometheus server. To get a default monitoring you have to enable it in the monitoring tab.
+
+# Gather the metrics from the prometheus deployed by Rancher
+For the control plane metrics, the services are not created by default. To get them in the Prometheus server you have to create new services and seviceMonitors.
+
+1. Apply the services:
+```bash
+kubectl apply -f services.yaml
+```
+2. Apply the serviceMonitor:
+```bash
+kubectl apply -f service-monitor.yaml
+```
diff --git a/resources/rancher/README.md b/future-apps/rancher/README.md
similarity index 100%
rename from resources/rancher/README.md
rename to future-apps/rancher/README.md
diff --git a/resources/rancher/alerts.yaml b/future-apps/rancher/alerts.yaml
similarity index 100%
rename from resources/rancher/alerts.yaml
rename to future-apps/rancher/alerts.yaml
diff --git a/resources/rancher/dashboards.yaml b/future-apps/rancher/dashboards.yaml
similarity index 51%
rename from resources/rancher/dashboards.yaml
rename to future-apps/rancher/dashboards.yaml
index 1e517e22..bfce9e73 100644
--- a/resources/rancher/dashboards.yaml
+++ b/future-apps/rancher/dashboards.yaml
@@ -5,55 +5,6 @@ version: 1.0.0
appVersion:
- '2.5.0'
configurations:
-- name: Rancher / Api
- kind: Sysdig
- image: rancher/images/api_sysdig.png
- description: |
- This dashboard offers information on:
- * Api Server
- file: include/dashboard-Sysdig-Rancher---Api.json
-- name: Rancher / Controller manager
- kind: Sysdig
- image: rancher/images/controller_manager_sysdig.png
- description: |
- This dashboard offers information on:
- * Controller manager
- file: include/dashboard-Sysdig-Rancher---Controller_Manager.json
-- name: Rancher / Kubelet
- kind: Sysdig
- image: rancher/images/kubelet_sysdig.png
- description: |
- This dashboard offers information on:
- * Kubelet
- file: include/dashboard-Sysdig-Rancher---Kubelet.json
-- name: Rancher / Scheduler
- kind: Sysdig
- image: rancher/images/scheduler_sysdig.png
- description: |
- This dashboard offers information on:
- * Scheduler
- file: include/dashboard-Sysdig-Rancher---Scheduler.json
-- name: Rancher / Proxy
- kind: Sysdig
- image: rancher/images/proxy_sysdig.png
- description: |
- This dashboard offers information on:
- * Proxy server
- file: include/dashboard-Sysdig-Rancher---Proxy.json
-- name: Rancher / CoreDNS
- kind: Sysdig
- image: rancher/images/coredns_sysdig.png
- description: |
- This dashboard offers information on:
- * CoreDns
- file: include/dashboard-Sysdig-Rancher---CoreDNS.json
-- name: Rancher / etcd
- kind: Sysdig
- image: rancher/images/etcd_sysdig.png
- description: |
- This dashboard offers information on:
- * Etcd
- file: include/dashboard-Sysdig-Rancher---etcd.json
- name: Rancher / Api
kind: Grafana
image: rancher/images/api_grafana.png
diff --git a/resources/rancher/description.yaml b/future-apps/rancher/description.yaml
similarity index 100%
rename from resources/rancher/description.yaml
rename to future-apps/rancher/description.yaml
diff --git a/resources/kubernetes-control/images/api_grafana.png b/future-apps/rancher/images/api_grafana.png
similarity index 100%
rename from resources/kubernetes-control/images/api_grafana.png
rename to future-apps/rancher/images/api_grafana.png
diff --git a/resources/kubernetes-control/images/controller_manager_grafana.png b/future-apps/rancher/images/controller_manager_grafana.png
similarity index 100%
rename from resources/kubernetes-control/images/controller_manager_grafana.png
rename to future-apps/rancher/images/controller_manager_grafana.png
diff --git a/resources/openshift/images/coreDNS_grafana.png b/future-apps/rancher/images/coreDNS_grafana.png
similarity index 100%
rename from resources/openshift/images/coreDNS_grafana.png
rename to future-apps/rancher/images/coreDNS_grafana.png
diff --git a/resources/openshift/images/etcd_grafana.png b/future-apps/rancher/images/etcd_grafana.png
similarity index 100%
rename from resources/openshift/images/etcd_grafana.png
rename to future-apps/rancher/images/etcd_grafana.png
diff --git a/resources/kubernetes-control/images/kubelet_grafana.png b/future-apps/rancher/images/kubelet_grafana.png
similarity index 100%
rename from resources/kubernetes-control/images/kubelet_grafana.png
rename to future-apps/rancher/images/kubelet_grafana.png
diff --git a/resources/kubernetes-control/images/proxy_grafana.png b/future-apps/rancher/images/proxy_grafana.png
similarity index 100%
rename from resources/kubernetes-control/images/proxy_grafana.png
rename to future-apps/rancher/images/proxy_grafana.png
diff --git a/resources/kubernetes-control/images/scheduler_grafana.png b/future-apps/rancher/images/scheduler_grafana.png
similarity index 100%
rename from resources/kubernetes-control/images/scheduler_grafana.png
rename to future-apps/rancher/images/scheduler_grafana.png
diff --git a/resources/rancher/include/dashboard-Grafana-Rancher---Api.json b/future-apps/rancher/include/dashboard-Grafana-Rancher---Api.json
similarity index 100%
rename from resources/rancher/include/dashboard-Grafana-Rancher---Api.json
rename to future-apps/rancher/include/dashboard-Grafana-Rancher---Api.json
diff --git a/resources/rancher/include/dashboard-Grafana-Rancher---Controller-manager.json b/future-apps/rancher/include/dashboard-Grafana-Rancher---Controller-manager.json
similarity index 100%
rename from resources/rancher/include/dashboard-Grafana-Rancher---Controller-manager.json
rename to future-apps/rancher/include/dashboard-Grafana-Rancher---Controller-manager.json
diff --git a/resources/rancher/include/dashboard-Grafana-Rancher---CoreDNS.json b/future-apps/rancher/include/dashboard-Grafana-Rancher---CoreDNS.json
similarity index 100%
rename from resources/rancher/include/dashboard-Grafana-Rancher---CoreDNS.json
rename to future-apps/rancher/include/dashboard-Grafana-Rancher---CoreDNS.json
diff --git a/resources/rancher/include/dashboard-Grafana-Rancher---Kubelet.json b/future-apps/rancher/include/dashboard-Grafana-Rancher---Kubelet.json
similarity index 100%
rename from resources/rancher/include/dashboard-Grafana-Rancher---Kubelet.json
rename to future-apps/rancher/include/dashboard-Grafana-Rancher---Kubelet.json
diff --git a/resources/rancher/include/dashboard-Grafana-Rancher---Proxy.json b/future-apps/rancher/include/dashboard-Grafana-Rancher---Proxy.json
similarity index 100%
rename from resources/rancher/include/dashboard-Grafana-Rancher---Proxy.json
rename to future-apps/rancher/include/dashboard-Grafana-Rancher---Proxy.json
diff --git a/resources/rancher/include/dashboard-Grafana-Rancher---Scheduler.json b/future-apps/rancher/include/dashboard-Grafana-Rancher---Scheduler.json
similarity index 100%
rename from resources/rancher/include/dashboard-Grafana-Rancher---Scheduler.json
rename to future-apps/rancher/include/dashboard-Grafana-Rancher---Scheduler.json
diff --git a/resources/rancher/include/dashboard-Grafana-Rancher---etcd.json b/future-apps/rancher/include/dashboard-Grafana-Rancher---etcd.json
similarity index 100%
rename from resources/rancher/include/dashboard-Grafana-Rancher---etcd.json
rename to future-apps/rancher/include/dashboard-Grafana-Rancher---etcd.json
diff --git a/future-apps/rancher/include/installation.sh b/future-apps/rancher/include/installation.sh
new file mode 100755
index 00000000..7211e83d
--- /dev/null
+++ b/future-apps/rancher/include/installation.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+kubectl apply -f 'https://raw.githubusercontent.com/sysdiglabs/promcat-resources/master/resources/rancher/include/service.yaml'
+kubectl apply -f 'https://raw.githubusercontent.com/sysdiglabs/promcat-resources/master/resources/rancher/include/service-monitor.yaml'
\ No newline at end of file
diff --git a/resources/rancher/include/service-monitor.yaml b/future-apps/rancher/include/service-monitor.yaml
similarity index 100%
rename from resources/rancher/include/service-monitor.yaml
rename to future-apps/rancher/include/service-monitor.yaml
diff --git a/resources/rancher/include/services.yaml b/future-apps/rancher/include/services.yaml
similarity index 100%
rename from resources/rancher/include/services.yaml
rename to future-apps/rancher/include/services.yaml
diff --git a/resources/rancher/setup-guide.yaml b/future-apps/rancher/setup-guide.yaml
similarity index 74%
rename from resources/rancher/setup-guide.yaml
rename to future-apps/rancher/setup-guide.yaml
index 956c87a1..8e5939e7 100644
--- a/resources/rancher/setup-guide.yaml
+++ b/future-apps/rancher/setup-guide.yaml
@@ -5,14 +5,10 @@ version: 1.0.0
appVersion:
- '2.5.0'
configurations:
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
- name: services.yaml
file: include/services.yaml
- name: service-monitor.yaml
file: include/service-monitor.yaml
-- name: rules.yaml
- file: include/rules.yaml
- name: installation.sh
file: include/installation.sh
descriptionFile: INSTALL.md
diff --git a/resources/apache/INSTALL.md b/resources/apache/INSTALL.md
index 9226b9b3..c936d0a9 100644
--- a/resources/apache/INSTALL.md
+++ b/resources/apache/INSTALL.md
@@ -75,13 +75,4 @@ the URL address of both the exporters in the _MERGER_URLS_ environment variable.
To deploy the configuration example in Kubernetes, download the configuration file and run:
```
kubectl apply -f apache-deploy.yaml
-```
-
-# Configuring Sysdig Agent
-
-Download the sample [Sysdig Agent configuration file](include/sysdig-agent-config.yaml). By default the job will be in the agent so you don't need to change anything but if you don't have it here you have the way to do that
-
-Apply the changes:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
+```
\ No newline at end of file
diff --git a/resources/apache/dashboards.yaml b/resources/apache/dashboards.yaml
index 0d90e4aa..517c106c 100644
--- a/resources/apache/dashboards.yaml
+++ b/resources/apache/dashboards.yaml
@@ -5,24 +5,6 @@ version: 1.0.0
appVersion:
- '2.4'
configurations:
-- name: Apache App Overview
- kind: Sysdig
- image: apache/images/apache-sysdig-app-overview.png
- description: |
- This dashboard offers information on:
- * Instances Up
- * Up Time
- * Time since last OK request
- * Error Rate
- * Response Time
- * % Workers Busy by Instance
- * Scoreboard status
- * CPU Load by Instance
- * Connections by State
- * Requests per Second by Code
- * Traffic
- * Request Size
- file: include/apache-sysdig-app-overview.json
- name: Apache App Overview
kind: Grafana
image: apache/images/apache-grafana-app-overview.png
diff --git a/resources/apache/images/apache-sysdig-app-overview.png b/resources/apache/images/apache-sysdig-app-overview.png
deleted file mode 100644
index a73a2f26..00000000
Binary files a/resources/apache/images/apache-sysdig-app-overview.png and /dev/null differ
diff --git a/resources/apache/include/apache-deploy.yaml b/resources/apache/include/apache-deploy.yaml
index c1742f48..d7e58f48 100644
--- a/resources/apache/include/apache-deploy.yaml
+++ b/resources/apache/include/apache-deploy.yaml
@@ -12,8 +12,8 @@ spec:
template:
metadata:
annotations:
- promcat.sysdig.com/port: "9222"
- promcat.sysdig.com/integration_type: "apache"
+ prometheus.io/port: "9222"
+ prometheus.io/scrape: "true"
labels:
app: apache
spec:
diff --git a/resources/apache/include/apache-sysdig-app-overview.json b/resources/apache/include/apache-sysdig-app-overview.json
deleted file mode 100644
index 01f4bc35..00000000
--- a/resources/apache/include/apache-sysdig-app-overview.json
+++ /dev/null
@@ -1,1070 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 4,
- "w": 12,
- "x": 0,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 6,
- "w": 12,
- "x": 0,
- "y": 7
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 12,
- "x": 12,
- "y": 7
- },
- {
- "h": 5,
- "panelId": 8,
- "w": 12,
- "x": 0,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 12,
- "x": 12,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 10,
- "w": 8,
- "x": 0,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 11,
- "w": 8,
- "x": 8,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 12,
- "w": 8,
- "x": 16,
- "y": 17
- }
- ],
- "name": "Apache App Overview",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum((apache_up{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Instances Up",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "avg(\n(apache_uptime_seconds_total{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Up Time",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "s",
- "severity": "ok",
- "value": 3600.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "min(time() - (apache_http_last_request_seconds{code=~'2..'}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})\n"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Time since last OK request",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "s",
- "severity": "high",
- "value": 3600.0
- },
- {
- "displayText": "",
- "inputFormat": "s",
- "severity": "medium",
- "value": 300.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Container - ReplicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "{{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * ((sum by (container_id, host_mac)(rate(apache_http_response_codes_total{code=~'4..|5..'}[$__interval])) / sum by (container_id, host_mac)(rate(apache_http_response_codes_total{}[$__interval])))\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Error Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Container - replicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "{{container_id}} - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "((sum by (container_id, host_mac)(rate(apache_duration_total{}[$__interval])) / sum by (container_id, host_mac)(rate(apache_accesses_total{}[$__interval])))\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Response Time",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Container - ReplicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "{{container_id}} - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * ((sum by (container_id,host_mac)(apache_workers{state='busy'}) / sum by (container_id,host_mac)(apache_workers{})) \n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "% Workers Busy by Instance",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "State - Container - ReplicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "{{state}} {{container_id}} - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum by (state,container_id,host_mac)(apache_scoreboard{})\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Scoreboard status",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Container - ReplicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "{{container_id}} - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(sum by (container_id,host_mac)(apache_cpuload{})\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "CPU Load by Instance",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "State - Container - ReplicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "{{state}} - {{container_id}} - {{owner_name}} - {{cluster}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum by (state,container_id,host_mac)(apache_connections{})\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Connections by State",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Response Code - Container - ReplicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "{{code}} - {{container_id}} - {{owner_name}} - {{cluster}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum by (code,container_id,host_mac)(rate(apache_http_response_codes_total{}[$__interval]))\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Requests per Second by Code",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Container - ReplicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "{{container_id}} - {{owner_name}} - {{cluster}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "KiB/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "(sum by (container_id, host_mac)(rate(apache_sent_kilobytes_total{}[$__interval]))\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Traffic",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Container - ReplicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "{{container_id}} - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "KiB",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "((sum by (container_id,host_mac) (rate(apache_sent_kilobytes_total{}[$__interval])) / sum by (container_id,host_mac) (rate(apache_accesses_total[$__interval]))) \n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Request Size",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593755846925,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1593755846925,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593755051777,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1593755051777,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593755846925,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1593755846925,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593755651148,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1593755651148,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593755846925,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-9123524798813735958",
- "documentTimestamp": 1593755846925,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.replicaSet.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593755051777,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.replicaSet"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.replicaSet.name",
- "identity": false,
- "lastSeen": 1593755051777,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.replicaSet"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "replicaSet",
- "isVariable": true,
- "operand": "kubernetes.replicaSet.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/apache/include/sysdig-agent-config.yaml b/resources/apache/include/sysdig-agent-config.yaml
deleted file mode 100644
index 18ad3e49..00000000
--- a/resources/apache/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,66 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: YourClusterName
- metrics_excess_log: true
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
- snaplen: 512
- tags: role:cluster
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: apache-default
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: "apache"
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_ns]
- target_label: kube_namespace_name
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_workload_type]
- target_label: kube_workload_type
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_workload_name]
- target_label: kube_workload_name
- - action: replace
- replacement: true
- target_label: sysdig_omit_source
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_promcat_sysdig_com_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
\ No newline at end of file
diff --git a/resources/apache/setup-guide.yaml b/resources/apache/setup-guide.yaml
index 65c0316c..d5afb877 100644
--- a/resources/apache/setup-guide.yaml
+++ b/resources/apache/setup-guide.yaml
@@ -7,6 +7,4 @@ appVersion:
descriptionFile: INSTALL.md
configurations:
- name: apache-deploy.yaml
- file: include/apache-deploy.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
\ No newline at end of file
+ file: include/apache-deploy.yaml
\ No newline at end of file
diff --git a/resources/aws-alb/INSTALL.md b/resources/aws-alb/INSTALL.md
index 38aa3143..97cf8009 100644
--- a/resources/aws-alb/INSTALL.md
+++ b/resources/aws-alb/INSTALL.md
@@ -60,15 +60,4 @@ kubectl apply -f alb-deploy.yaml
6. Ensure that the exporter is working by checking whether the pods are running:
```
kubectl -n yace get pods
-```
-
-# Sysdig Agent configuration
-
-Do the following:
-
-1. In the yace deployment, include the Prometheus annotations. Add the port of the exporter as the scraping port in the annotation.
-
-2. Download the sample [Sysdig Agent configuration file](include/sysdig-agent-config.yaml) and apply it by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
+```
\ No newline at end of file
diff --git a/resources/aws-alb/dashboards.yaml b/resources/aws-alb/dashboards.yaml
index f481c778..a2cc53ac 100644
--- a/resources/aws-alb/dashboards.yaml
+++ b/resources/aws-alb/dashboards.yaml
@@ -25,23 +25,3 @@ configurations:
* Processed requests
* Responses with codes 2XX and 3XX from the targets
file: include/dashboard-Grafana-ALB-Golden-Signals-1.0.0.json
-- name: ALB Golden Signals
- kind: Sysdig
- image: aws-alb/images/aws-alb-sysdig-golden-signals.png
- description: |
- This dashboard offers information on:
- * Error from load balancer for 4XX and 5XX codes
- * Error from the target groups for 4XX and 5XX codes
- * Unhealthy hosts
- * TLS Negotiation errors
- * Top 5 response time target groups (list and graphic)
- * Rejected requests
- * Top 5 load balancer (in Bytes processed)
- * Number of load balancers and target groups
- * Active connections
- * Bytes processed
- * Rules evaluated
- * LCUs Consumed
- * Processed requests
- * Responses with codes 2XX and 3XX from the targets
- file: include/dashboard-Sysdig-ALB-Golden-Signals-1.0.0.json
diff --git a/resources/aws-alb/images/aws-alb-sysdig-golden-signals.png b/resources/aws-alb/images/aws-alb-sysdig-golden-signals.png
deleted file mode 100644
index d188c49c..00000000
Binary files a/resources/aws-alb/images/aws-alb-sysdig-golden-signals.png and /dev/null differ
diff --git a/resources/aws-alb/include/dashboard-Sysdig-ALB-Golden-Signals-1.0.0.json b/resources/aws-alb/include/dashboard-Sysdig-ALB-Golden-Signals-1.0.0.json
deleted file mode 100644
index 2f8c2ddb..00000000
--- a/resources/aws-alb/include/dashboard-Sysdig-ALB-Golden-Signals-1.0.0.json
+++ /dev/null
@@ -1,1375 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "layout": [
- {
- "h": 4,
- "panelId": 1,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 2,
- "w": 6,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 3,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 4,
- "w": 6,
- "x": 6,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 6,
- "w": 12,
- "x": 12,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 6,
- "x": 6,
- "y": 12
- },
- {
- "h": 2,
- "panelId": 10,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 2,
- "panelId": 11,
- "w": 6,
- "x": 0,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 6,
- "x": 12,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 13,
- "w": 6,
- "x": 18,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 14,
- "w": 6,
- "x": 0,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 15,
- "w": 6,
- "x": 6,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 16,
- "w": 6,
- "x": 12,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 17,
- "w": 6,
- "x": 18,
- "y": 16
- }
- ],
- "name": "AWS ALB Golden Signals",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "4XX",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_alb_httpcode_elb_4_xx_count_sum)"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "5XX",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_alb_httpcode_elb_5_xx_count_sum)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Errors From the Load Balancer",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Unhealthy hosts",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_alb_tg_un_healthy_host_count_average)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 0,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Unhealthy Hosts",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "4XX",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_alb_tg_httpcode_target_4_xx_count_sum)"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "5XX",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_alb_tg_httpcode_target_5_xx_count_sum)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Errors From the Target Groups",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "TLS errors",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_alb_client_tls_negotiation_error_count_sum)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "TLS Negotiation Errors",
- "type": "advancedTimechart"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586266873637,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-9073477163371705261",
- "documentTimestamp": 1586266873637,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1586251593624,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_alb_tg_target_response_time_p95",
- "identity": false,
- "lastSeen": 1586266740299,
- "metricType": "gauge",
- "name": "aws_alb_tg_target_response_time_p95",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "dimension_LoadBalancer",
- "dimension_TargetGroup",
- "host.hostName",
- "host.mac",
- "name",
- "proc.commandLine",
- "proc.name",
- "region"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_alb_tg_target_response_time_p95",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586266873637,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--2061834698950676115",
- "documentTimestamp": 1586266873637,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_TargetGroup",
- "identity": false,
- "lastSeen": 1586266740299,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "dimension_TargetGroup",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 5,
- "name": "Top 5 Response Time Target Groups",
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{dimension_LoadBalancer}} - {{dimension_TargetGroup}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(10,aws_alb_tg_target_response_time_p95)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "P95 Target Groups Response Time",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Rejected requests",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_alb_rejected_connection_count_sum)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Rejected Requests",
- "type": "advancedTimechart"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586266873638,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--3256903466538534972",
- "documentTimestamp": 1586266873638,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1586251593624,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_alb_processed_bytes_sum",
- "identity": false,
- "lastSeen": 1586266740299,
- "metricType": "gauge",
- "name": "aws_alb_processed_bytes_sum",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "dimension_LoadBalancer",
- "host.hostName",
- "host.mac",
- "name",
- "proc.commandLine",
- "proc.name",
- "region"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_alb_processed_bytes_sum",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586266873638,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-262210857212227687",
- "documentTimestamp": 1586266873638,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_LoadBalancer",
- "identity": false,
- "lastSeen": 1586266740299,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "dimension_LoadBalancer",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 8,
- "name": "Top 5 Load Balancers",
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Active connections",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_alb_active_connection_count_sum)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Active Connections",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(aws_alb_info)"
- }
- ],
- "description": "",
- "id": 10,
- "name": "Load Balancers",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(aws_alb_tg_healthy_host_count_average)"
- }
- ],
- "description": "",
- "id": 11,
- "name": "Target Groups",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Active connections",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum(aws_alb_processed_bytes_sum)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Bytes processed",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Rules",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_alb_rule_evaluations_sum)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Rules Evaluated",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "LCUs",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_alb_consumed_lcus_sum)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "LCUs Consumed",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Processed requests",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_alb_request_count_sum)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Processed Requests",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "2XX",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_alb_tg_httpcode_target_2_xx_count_sum)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "2XX Responses by Target Groups",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "3XX",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_alb_tg_httpcode_target_3_xx_count_sum)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "3XX Responses by Target Groups",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": []
- }
-}
\ No newline at end of file
diff --git a/resources/aws-alb/include/sysdig-agent-config.yaml b/resources/aws-alb/include/sysdig-agent-config.yaml
deleted file mode 100644
index 481a7a3a..00000000
--- a/resources/aws-alb/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-kind: ConfigMap
-metadata:
- labels:
- app: sysdig-agent
- name: sysdig-agent
- namespace: sysdig-agent
-apiVersion: v1
-data:
- prometheus.yaml: |-
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
- scrape_configs:
- - job_name: 'k8s-pods'
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- # Trying to ensure we only scrape local targets
- # __HOSTIPS__ is replaced by promscrape with a regex list of the IP addresses
- # of all the active network interfaces on the host
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- - action: keep
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
- regex: true
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
- target_label: __scheme__
- regex: (https?)
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
- target_label: __metrics_path__
- regex: (.+)
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: your-cluster-name
- jmx:
- enabled: false
- metrics_excess_log: true
- app_checks_enabled: false
- 10s_flush_enable: true
- use_promscrape: true
- prometheus:
- enabled: true
- ingest_calculated: false
- ingest_raw: true
- max_metrics: 10000
- max_metrics_per_process: 20000
- tags: role:cluster
- use_promscrape: true
- prom_service_discovery: true
- snaplen: 512
- tags: role:cluster
\ No newline at end of file
diff --git a/resources/aws-alb/setup-guide.yaml b/resources/aws-alb/setup-guide.yaml
index a5448c1a..37b2ffd9 100644
--- a/resources/aws-alb/setup-guide.yaml
+++ b/resources/aws-alb/setup-guide.yaml
@@ -7,7 +7,4 @@ appVersion:
descriptionFile: INSTALL.md
configurations:
- name: alb-deploy.yaml
- file: include/alb-deploy.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
-
+ file: include/alb-deploy.yaml
\ No newline at end of file
diff --git a/resources/aws-ebs/INSTALL.md b/resources/aws-ebs/INSTALL.md
index 04719e1c..2622a84e 100644
--- a/resources/aws-ebs/INSTALL.md
+++ b/resources/aws-ebs/INSTALL.md
@@ -60,13 +60,4 @@ kubectl apply -f ebs-deploy.yaml
6. Ensure that the exporter is working checking that the pods are running:
```
kubectl -n yace get pods
-```
-
-# Sysdig Agent configuration
-Do the following:
-
-1. In the yace deployment, include the Prometheus annotations. Add the port of the exporter as the scraping port in the annotation.
-
-2. Download the sample [Sysdig Agent configuration file](include/sysdig-agent-config.yaml) and apply it by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
+```
\ No newline at end of file
diff --git a/resources/aws-ebs/dashboards.yaml b/resources/aws-ebs/dashboards.yaml
index c856a325..302a78ee 100644
--- a/resources/aws-ebs/dashboards.yaml
+++ b/resources/aws-ebs/dashboards.yaml
@@ -20,20 +20,4 @@ configurations:
* Top 5 read/write operations per second
* Top 5 read/write throughput
* Top 5 mean read/write operation time
- file: include/dashboard-Grafana-EBS-General-Overview-1.0.0.json
-- name: EBS General Overview
- kind: Sysdig
- image: aws-ebs/images/aws-ebs-sysdig-general-overview.png
- description: |
- This dashboard offers information on:
- * Active volumes
- * Volumes with Queue not empty
- * Volumes with 100% time idle time
- * Provisioned IOPS SSD volumes with performance under 99.9%
- * Volumes with zero bust balance
- * Top 5 queue length
- * Bottom 5 burst balance
- * Top 5 read/write operations per second
- * Top 5 read/write throughput
- * Top 5 mean read/write operation time
- file: include/dashboard-Sysdig-EBS-General-Overview-1.0.0.json
+ file: include/dashboard-Grafana-EBS-General-Overview-1.0.0.json
\ No newline at end of file
diff --git a/resources/aws-ebs/images/aws-ebs-sysdig-general-overview.png b/resources/aws-ebs/images/aws-ebs-sysdig-general-overview.png
deleted file mode 100644
index bba0488c..00000000
Binary files a/resources/aws-ebs/images/aws-ebs-sysdig-general-overview.png and /dev/null differ
diff --git a/resources/aws-ebs/include/dashboard-Sysdig-EBS-General-Overview-1.0.0.json b/resources/aws-ebs/include/dashboard-Sysdig-EBS-General-Overview-1.0.0.json
deleted file mode 100644
index 97211eb9..00000000
--- a/resources/aws-ebs/include/dashboard-Sysdig-EBS-General-Overview-1.0.0.json
+++ /dev/null
@@ -1,730 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "layout": [
- {
- "h": 2,
- "panelId": 1,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 2,
- "w": 5,
- "x": 4,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 3,
- "w": 5,
- "x": 9,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 5,
- "x": 14,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 5,
- "w": 5,
- "x": 19,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 6,
- "w": 12,
- "x": 0,
- "y": 2
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 12,
- "x": 0,
- "y": 6
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 12,
- "x": 12,
- "y": 2
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 12,
- "x": 0,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 13,
- "w": 12,
- "x": 0,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 14,
- "w": 12,
- "x": 12,
- "y": 6
- },
- {
- "h": 4,
- "panelId": 15,
- "w": 12,
- "x": 12,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 16,
- "w": 12,
- "x": 12,
- "y": 14
- }
- ],
- "name": "AWS EBS - Overview",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(aws_ebs_volume_queue_length_average)"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Volumes",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(aws_ebs_volume_queue_length_average > 0) or vector(0)"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Volumes With Queue Not Empty",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(aws_ebs_volume_idle_time_sum / 300 >= 1) or vector(0)"
- }
- ],
- "description": "",
- "id": 3,
- "name": "100% Idle Time Volumes",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(aws_ebs_volume_throughput_percentage_average < 99.9) or vector(0)"
- }
- ],
- "description": "",
- "id": 4,
- "name": "IOPS SSD Perform. < 99.9%",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(aws_ebs_burst_balance_minimum == 0) or vector(0)"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Volumes With Zero Bust Balance",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{dimension_VolumeId}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(5,aws_ebs_volume_queue_length_average)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Top 5 Queue length",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{dimension_VolumeId}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(5,aws_ebs_volume_read_ops_sum / 300)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Top 5 Read Operations Per Second",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{dimension_VolumeId}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "bottomk(5,aws_ebs_burst_balance_minimum)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Bottom 5 Burst Balance",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{dimension_VolumeId}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(5,aws_ebs_volume_total_read_time_sum / aws_ebs_volume_read_ops_sum)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Top 5 Mean Read Operation Time",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{dimension_VolumeId}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "topk(5,aws_ebs_volume_read_bytes_sum / 300)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Top 5 Read Throughput",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{dimension_VolumeId}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(5,aws_ebs_volume_write_ops_sum / 300)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Top 5 Write Operations Per Second",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{dimension_VolumeId}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "topk(5,aws_ebs_volume_write_bytes_sum / 300)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Top 5 Write Throughput",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{dimension_VolumeId}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(5,aws_ebs_volume_total_write_time_sum / aws_ebs_volume_write_ops_sum)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Top 5 Mean Write Operation Time",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": []
- }
-}
\ No newline at end of file
diff --git a/resources/aws-ebs/include/sysdig-agent-config.yaml b/resources/aws-ebs/include/sysdig-agent-config.yaml
deleted file mode 100644
index 03c97986..00000000
--- a/resources/aws-ebs/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-kind: ConfigMap
-metadata:
- labels:
- app: sysdig-agent
- name: sysdig-agent
- namespace: sysdig-agent
-apiVersion: v1
-data:
- prometheus.yaml: |-
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
- scrape_configs:
- - job_name: 'k8s-pods'
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- # Trying to ensure we only scrape local targets
- # __HOSTIPS__ is replaced by promscrape with a regex list of the IP addresses
- # of all the active network interfaces on the host
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- - action: keep
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
- regex: true
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
- target_label: __scheme__
- regex: (https?)
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
- target_label: __metrics_path__
- regex: (.+)
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: your-cluster-name
- jmx:
- enabled: false
- metrics_excess_log: true
- app_checks_enabled: false
- 10s_flush_enable: true
- use_promscrape: true
- prometheus:
- enabled: true
- ingest_calculated: false
- ingest_raw: true
- max_metrics: 10000
- max_metrics_per_process: 20000
- tags: role:cluster
- use_promscrape: true
- prom_service_discovery: true
- snaplen: 512
- tags: role:cluster
diff --git a/resources/aws-ebs/setup-guide.yaml b/resources/aws-ebs/setup-guide.yaml
index 91439b10..4907ef4f 100644
--- a/resources/aws-ebs/setup-guide.yaml
+++ b/resources/aws-ebs/setup-guide.yaml
@@ -7,6 +7,4 @@ appVersion:
descriptionFile: INSTALL.md
configurations:
- name: ebs-deploy.yaml
- file: include/ebs-deploy.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
\ No newline at end of file
+ file: include/ebs-deploy.yaml
\ No newline at end of file
diff --git a/resources/aws-eks/dashboards.yaml b/resources/aws-eks/dashboards.yaml
deleted file mode 100644
index 259c1488..00000000
--- a/resources/aws-eks/dashboards.yaml
+++ /dev/null
@@ -1,78 +0,0 @@
-apiVersion: v1
-kind: Dashboard
-app: 'AWS EKS'
-version: 1.0.0
-appVersion:
- - "1.15-1.17"
-configurations:
-- name: 'EKS FARGATE - Kubernetes Resources / Cluster'
- kind: Sysdig
- image: 'aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cluster.png'
- description: |
- This dashboard offers information on:
- * CPU usage
- * CPU request commitment
- * CPU limits commitment
- * Memory usage
- * Memory request commitment
- * Memory limits commitment
- * CPU cores used per namespace
- * Memory used per namespace
- * CPU Quota
- * Memory Requests
- file: include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cluster.json
-
-- name: 'EKS FARGATE Kubernetes Resources / Workloads'
- kind: Sysdig
- image: 'aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Workloads.png'
- description: |
- This dashboard offers information on:
- * CPU usage per workload
- * Memory usage per workload
- * % pods available
- * Pods desired
- * Pods available
- * Pods available over time
- * Replicas updated
- * % Pods available
- file: include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Workloads.json
-
-- name: 'EKS FARGATE - Kubernetes Resources / Pods'
- kind: Sysdig
- image: 'aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Pods.png'
- description: |
- This dashboard offers information on:
- * CPU cores used by container
- * Memory used by container
- * CPU % limit used
- * Memory % limit used
- * % of CPU request used
- * % of Memory request used
- * CPU request per pod
- * CPU limit per pod
- * Memory limit per pod
- * Memory request per pod
- file: include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Pods.json
-
-- name: 'EKS FARGATE - Kubernetes Troubleshooting'
- kind: Sysdig
- image: 'aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Troubleshooting.png'
- description: |
- This dashboard offers information on:
- * Pod Phase by Namespace
- * Pod status by reason
- * Pod Termination by reason
- * Container Termination by reason
- * Container Waiting by reason
- * Init Container Termination by reason
- * Init Container Waiting by reason
- file: include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Troubleshooting.json
-
-- name: 'EKS FARGATE Kubernetes Resources / Cronjobs'
- kind: Sysdig
- image: 'aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cronjobs.png'
- description: |
- This dashboard offers information on:
- * Jobs completed
- * Jobs failed
- file: include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cronjobs.json
diff --git a/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cluster.png b/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cluster.png
deleted file mode 100644
index 1d97ca76..00000000
Binary files a/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cluster.png and /dev/null differ
diff --git a/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cronjobs.png b/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cronjobs.png
deleted file mode 100644
index 6fbe923e..00000000
Binary files a/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cronjobs.png and /dev/null differ
diff --git a/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Pods.png b/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Pods.png
deleted file mode 100644
index 1deed09d..00000000
Binary files a/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Pods.png and /dev/null differ
diff --git a/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Workloads.png b/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Workloads.png
deleted file mode 100644
index f7bc68ac..00000000
Binary files a/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Workloads.png and /dev/null differ
diff --git a/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Troubleshooting.png b/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Troubleshooting.png
deleted file mode 100644
index d7a0a1f5..00000000
Binary files a/resources/aws-eks/images/dashboard-sysdig-EKS_FARGATE-Kubernetes_Troubleshooting.png and /dev/null differ
diff --git a/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cluster.json b/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cluster.json
deleted file mode 100644
index c83f2479..00000000
--- a/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cluster.json
+++ /dev/null
@@ -1,2323 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 1,
- "w": 3,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 2,
- "w": 3,
- "x": 3,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 3,
- "w": 3,
- "x": 6,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 3,
- "x": 9,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 5,
- "w": 3,
- "x": 12,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 6,
- "w": 3,
- "x": 15,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 18,
- "x": 0,
- "y": 2
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 18,
- "x": 0,
- "y": 14
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 18,
- "x": 0,
- "y": 8
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 18,
- "x": 0,
- "y": 20
- }
- ],
- "name": "EKS FARGATE - Kubernetes Resources / Cluster",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg(sysdig_host_cpu_used_percent and on(host) sysdig_host_info{agent_tag_cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "CPU usage",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "high",
- "value": 95.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "low",
- "value": 80.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "ok",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum(kube_pod_container_resource_requests{resource=\"cpu\",cluster=~$cluster}) / sum(kube_node_status_allocatable{cluster=~$cluster,resource=\"cpu\"}) * 100"
- }
- ],
- "description": "",
- "id": 2,
- "name": "CPU request commitment",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "high",
- "value": 90.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "low",
- "value": 70.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "ok",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum(kube_pod_container_resource_limits{resource=\"cpu\",cluster=~$cluster}) / sum(kube_node_status_allocatable{cluster=~$cluster,resource=\"cpu\"}) * 100"
- }
- ],
- "description": "",
- "id": 3,
- "name": "CPU limits commitment",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "high",
- "value": 130.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "low",
- "value": 100.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "ok",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg((sysdig_host_memory_used_bytes/sysdig_host_memory_total_bytes) and on(host) sysdig_host_info{agent_tag_cluster=~$cluster}) * 100"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Memory usage",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "high",
- "value": 95.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "low",
- "value": 80.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "ok",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum(kube_pod_container_resource_requests{resource=\"memory\",cluster=~$cluster}) / sum(kube_node_status_allocatable{cluster=~$cluster,resource=\"memory\"}) * 100"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Memory request commitment",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "high",
- "value": 90.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "low",
- "value": 70.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "ok",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum(kube_pod_container_resource_limits{resource=\"memory\",cluster=~$cluster}) / sum(kube_node_status_allocatable{cluster=~$cluster,resource=\"memory\"}) * 100"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Memory limits commitment",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "high",
- "value": 130.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "low",
- "value": 100.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "ok",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "CPU cores used per namespace",
- "timeSeriesDisplayNameTemplate": "{{namespace}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (namespace) (node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=~$cluster} )"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU cores used per namespace",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory used per namespace",
- "timeSeriesDisplayNameTemplate": "{{namespace}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (namespace) (node_namespace_pod_container:container_memory_working_set_bytes{container!=\"\",container!=\"POD\",cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory used per namespace",
- "type": "advancedTimechart"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pods",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "kube_pod_owner:sysdig",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_pod_owner:sysdig",
- "identity": false,
- "metricType": "gauge",
- "name": "kube_pod_owner:sysdig",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "kube_pod_owner:sysdig",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1596623047818,
- "customerId": 9,
- "deferred": false,
- "documentId": "9--6139949314852700299",
- "documentTimestamp": 1596623047818,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1596515742571,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1596515742571,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1596622973993,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1596622973993,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 9,
- "routing": "9"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Cluster",
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "namespace",
- "documentId": "namespace",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "namespace",
- "identity": false,
- "metricType": "tag",
- "name": "namespace",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Namespace",
- "id": "namespace",
- "sorting": null
- }
- ],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Replicasets",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "kube_replicaset_owner:sysdig",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_replicaset_owner:sysdig",
- "identity": false,
- "metricType": "gauge",
- "name": "kube_replicaset_owner:sysdig",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "kube_replicaset_owner:sysdig",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "CPU used",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate",
- "identity": false,
- "metricType": "gauge",
- "name": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "CPU Requests",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "kube_pod_container_resource_requests_cpu_cores:sysdig",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_pod_container_resource_requests_cpu_cores:sysdig",
- "identity": false,
- "metricType": "gauge",
- "name": "kube_pod_container_resource_requests_cpu_cores:sysdig",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "kube_pod_container_resource_requests_cpu_cores:sysdig",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "CPU Limits",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "kube_pod_container_resource_limits_cpu_cores:sysdig",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_pod_container_resource_limits_cpu_cores:sysdig",
- "identity": false,
- "metricType": "gauge",
- "name": "kube_pod_container_resource_limits_cpu_cores:sysdig",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "kube_pod_container_resource_limits_cpu_cores:sysdig",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "% CPU Requests used",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "node_namespace_pod_container:container_cpu_usage_requests:percentage:sysdig",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "node_namespace_pod_container:container_cpu_usage_requests:percentage:sysdig",
- "identity": false,
- "metricType": "gauge",
- "name": "node_namespace_pod_container:container_cpu_usage_requests:percentage:sysdig",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "node_namespace_pod_container:container_cpu_usage_requests:percentage:sysdig",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "% CPU Limits used",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "node_namespace_pod_container:container_cpu_usage_limits:percentage:sysdig",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "node_namespace_pod_container:container_cpu_usage_limits:percentage:sysdig",
- "identity": false,
- "metricType": "gauge",
- "name": "node_namespace_pod_container:container_cpu_usage_limits:percentage:sysdig",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "node_namespace_pod_container:container_cpu_usage_limits:percentage:sysdig",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 11,
- "name": "CPU Quota",
- "type": "basicTable"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pods",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "kube_pod_owner:sysdig",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_pod_owner:sysdig",
- "identity": false,
- "metricType": "gauge",
- "name": "kube_pod_owner:sysdig",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "kube_pod_owner:sysdig",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1596623047818,
- "customerId": 9,
- "deferred": false,
- "documentId": "9--6139949314852700299",
- "documentTimestamp": 1596623047818,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1596515742571,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1596515742571,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1596622973993,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1596622973993,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 9,
- "routing": "9"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Cluster",
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "namespace",
- "documentId": "namespace",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "namespace",
- "identity": false,
- "metricType": "tag",
- "name": "namespace",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Namespace",
- "id": "namespace",
- "sorting": null
- }
- ],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Replicasets",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "kube_replicaset_owner:sysdig",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_replicaset_owner:sysdig",
- "identity": false,
- "metricType": "gauge",
- "name": "kube_replicaset_owner:sysdig",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "kube_replicaset_owner:sysdig",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Memory Usage",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "node_namespace_pod_container:container_memory_working_set_bytes",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "node_namespace_pod_container:container_memory_working_set_bytes",
- "identity": false,
- "metricType": "gauge",
- "name": "node_namespace_pod_container:container_memory_working_set_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "byte"
- },
- "groupAggregation": "sum",
- "id": "node_namespace_pod_container:container_memory_working_set_bytes",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Memory Requests",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "kube_pod_container_resource_requests_memory_bytes:sysdig",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_pod_container_resource_requests_memory_bytes:sysdig",
- "identity": false,
- "metricType": "gauge",
- "name": "kube_pod_container_resource_requests_memory_bytes:sysdig",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "kube_pod_container_resource_requests_memory_bytes:sysdig",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Memory Limits",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "kube_pod_container_resource_limits_memory_bytes:sysdig",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_pod_container_resource_limits_memory_bytes:sysdig",
- "identity": false,
- "metricType": "gauge",
- "name": "kube_pod_container_resource_limits_memory_bytes:sysdig",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "kube_pod_container_resource_limits_memory_bytes:sysdig",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "% Memory Requests used",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "node_namespace_pod_container:container_memory_usage_requests:percentage:sysdig",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "node_namespace_pod_container:container_memory_usage_requests:percentage:sysdig",
- "identity": false,
- "metricType": "gauge",
- "name": "node_namespace_pod_container:container_memory_usage_requests:percentage:sysdig",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "node_namespace_pod_container:container_memory_usage_requests:percentage:sysdig",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "% Memory Limits used",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "node_namespace_pod_container:container_memory_usage_limits:percentage:sysdig",
- "documentTimestamp": 1596623047905,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "node_namespace_pod_container:container_memory_usage_limits:percentage:sysdig",
- "identity": false,
- "metricType": "gauge",
- "name": "node_namespace_pod_container:container_memory_usage_limits:percentage:sysdig",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "node_namespace_pod_container:container_memory_usage_limits:percentage:sysdig",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 12,
- "name": "Memory Requests",
- "type": "basicTable"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1596623047818,
- "customerId": 9,
- "deferred": false,
- "documentId": "9--6139949314852700299",
- "documentTimestamp": 1596623047818,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1596515742571,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1596515742571,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1596622973993,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1596622973993,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 9,
- "routing": "9"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cronjobs.json b/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cronjobs.json
deleted file mode 100644
index 31f49d84..00000000
--- a/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Cronjobs.json
+++ /dev/null
@@ -1,409 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 7,
- "panelId": 1,
- "w": 16,
- "x": 0,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 16,
- "x": 0,
- "y": 0
- }
- ],
- "name": "EKS FARGATE Kubernetes Resources / Cronjobs",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Namespace [Cluster]",
- "timeSeriesDisplayNameTemplate": "{{owner_name}} - {{namespace}} [{{cluster}}]",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count by (cluster,namespace,owner_name)(rate(kube_job_complete_by_namespace:count:sysdig{cluster=~$cluster,namespace=~$namespace}[$__interval])>0) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Jobs completed",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "CronJob - Namespace [Cluster]",
- "timeSeriesDisplayNameTemplate": "{{owner_name}} - {{namespace}} [{{cluster}}]",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "kube_job_status_failed_by_namespace:count:sysdig{cluster=~$cluster,namespace=~$namespace,owner_name=~$cronjob}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Jobs failed",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1596623050784,
- "customerId": 9,
- "deferred": false,
- "documentId": "9--6139949314852700299",
- "documentTimestamp": 1596623050784,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1596515742571,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1596515742571,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1596622973993,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1596622973993,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 9,
- "routing": "9"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "namespace",
- "documentId": "namespace",
- "documentTimestamp": 1596623050839,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "namespace",
- "identity": false,
- "metricType": "tag",
- "name": "namespace",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "namespace",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "owner_name",
- "documentId": "owner_name",
- "documentTimestamp": 1596623050839,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "owner_name",
- "identity": false,
- "metricType": "tag",
- "name": "owner_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cronjob",
- "isVariable": true,
- "operand": "owner_name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Pods.json b/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Pods.json
deleted file mode 100644
index 60592544..00000000
--- a/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Pods.json
+++ /dev/null
@@ -1,953 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 9,
- "panelId": 1,
- "w": 24,
- "x": 0,
- "y": 12
- },
- {
- "h": 9,
- "panelId": 3,
- "w": 24,
- "x": 0,
- "y": 21
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 14,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 14,
- "x": 0,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 14,
- "x": 0,
- "y": 30
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 14,
- "x": 0,
- "y": 36
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 10,
- "x": 14,
- "y": 30
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 10,
- "x": 14,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 15,
- "w": 10,
- "x": 14,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 16,
- "w": 10,
- "x": 14,
- "y": 36
- }
- ],
- "name": "EKS FARGATE - Kubernetes Resources / Pods",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "CPU cores used by container",
- "timeSeriesDisplayNameTemplate": "{{container}} - {{pod}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{container!=\"\",cluster=~$cluster,namespace=~$namespace,pod=~$pod}) by (namespace, pod, container)\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU cores used by container",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory used by container",
- "timeSeriesDisplayNameTemplate": "{{container}} - {{pod}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "node_namespace_pod_container:container_memory_working_set_bytes{container!=\"POD\", container!=\"\",cluster=~$cluster,namespace=~$namespace,pod=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory used by container",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "% of CPU limit used",
- "timeSeriesDisplayNameTemplate": "{{pod}} - {{container}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(node_namespace_pod_container:container_cpu_usage_limits:percentage:sysdig{container!=\"POD\",cluster=~$cluster,namespace=~$namespace,pod=~$pod}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU % limit used",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "% of CPU limit used",
- "timeSeriesDisplayNameTemplate": "{{pod}} - {{container}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "node_namespace_pod_container:container_memory_usage_limits:percentage:sysdig{container!=\"POD\",cluster=~$cluster,namespace=~$namespace,pod=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory % limit used",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "% of CPU request used",
- "timeSeriesDisplayNameTemplate": "{{pod}} - {{namespace}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(node_namespace_pod_container:container_cpu_usage_requests:percentage:sysdig{container!=\"POD\",cluster=~$cluster,namespace=~$namespace,pod=~$pod}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "% of CPU request used",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "% of Memory request used",
- "timeSeriesDisplayNameTemplate": "{{pod}} - {{namespace}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(node_namespace_pod_container:container_memory_usage_requests:percentage:sysdig{container!=\"POD\",cluster=~$cluster,namespace=~$namespace,pod=~$pod}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "% of Memory request used",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "CPU request",
- "timeSeriesDisplayNameTemplate": "{{pod}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "kube_pod_container_resource_requests_cpu_cores:sysdig{cluster=~$cluster,namespace=~$namespace,pod=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU request per pod",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "CPU limit",
- "timeSeriesDisplayNameTemplate": "{{pod}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "kube_pod_container_resource_limits_cpu_cores:sysdig{cluster=~$cluster,namespace=~$namespace,pod=~$pod} "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU limit per pod",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory Limit",
- "timeSeriesDisplayNameTemplate": "{{pod}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "kube_pod_container_resource_limits_memory_bytes:sysdig{cluster=~$cluster,namespace=~$namespace,pod=~$pod} "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory limit per pod",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory request",
- "timeSeriesDisplayNameTemplate": "{{pod}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "kube_pod_container_resource_requests_memory_bytes:sysdig{cluster=~$cluster,namespace=~$namespace,pod=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory request per pod",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1596623049055,
- "customerId": 9,
- "deferred": false,
- "documentId": "9--6139949314852700299",
- "documentTimestamp": 1596623049055,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1596515742571,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1596515742571,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1596622973993,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1596622973993,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 9,
- "routing": "9"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "namespace",
- "documentId": "namespace",
- "documentTimestamp": 1596623049117,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "namespace",
- "identity": false,
- "metricType": "tag",
- "name": "namespace",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "namespace",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "pod",
- "documentId": "pod",
- "documentTimestamp": 1596623049117,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "pod",
- "identity": false,
- "metricType": "tag",
- "name": "pod",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "isVariable": true,
- "operand": "pod",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Workloads.json b/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Workloads.json
deleted file mode 100644
index fab24b07..00000000
--- a/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Resources_Workloads.json
+++ /dev/null
@@ -1,794 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 8,
- "panelId": 1,
- "w": 16,
- "x": 0,
- "y": 12
- },
- {
- "h": 8,
- "panelId": 2,
- "w": 16,
- "x": 0,
- "y": 20
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 3,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 3,
- "x": 0,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 3,
- "x": 3,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 10,
- "x": 6,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 9,
- "w": 3,
- "x": 3,
- "y": 3
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 16,
- "x": 0,
- "y": 6
- }
- ],
- "name": "EKS FARGATE Kubernetes Resources / Workloads",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "CPU cores used",
- "timeSeriesDisplayNameTemplate": "{{workload}} [namespace {{namespace}}] [cluster {{cluster}}]",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(cluster,namespace,workload) (node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=~$cluster, namespace=~$namespace}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=~$cluster, namespace=~$namespace, workload=~$workload, workload_type=~$type}\n)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage per deployment",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory used",
- "timeSeriesDisplayNameTemplate": "{{workload}} [namespace {{namespace}}] [cluster {{cluster}}]",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(cluster,namespace,workload) (\nnode_namespace_pod_container:container_memory_working_set_bytes{cluster=~$cluster, namespace=~$namespace, container!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=~$cluster, namespace=~$namespace, workload=~$workload, workload_type=~$type})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100* avg((kube_workload_status_available:sysdig{cluster=~$cluster,namespace=~$namespace,workload=~$workload,workload_type=~$type} / kube_workload_status_desired:sysdig{cluster=~$cluster,namespace=~$namespace,workload=~$workload,workload_type=~$type}))"
- }
- ],
- "description": "",
- "id": 4,
- "name": "% pods available",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "ok",
- "value": 90.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "low",
- "value": 60.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kube_workload_status_desired:sysdig{cluster=~$cluster,namespace=~$namespace,workload=~$workload, workload_type=~$type})"
- }
- ],
- "description": "",
- "id": 5,
- "name": "# Pods desired",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "info"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kube_workload_status_available:sysdig{cluster=~$cluster,namespace=~$namespace,workload=~$workload,workload_type=~$type})"
- }
- ],
- "description": "",
- "id": 6,
- "name": "# Pods available",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "info",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pods available",
- "timeSeriesDisplayNameTemplate": "{{workload}} [{{namespace}}] [{{cluster}}]",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,workload)(kube_workload_status_available:sysdig{cluster=~$cluster,namespace=~$namespace,workload=~$workload,workload_type=~$type})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Pods available",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kube_workload_status_updated:sysdig{cluster=~$cluster,namespace=~$namespace,workload=~$workload, workload_type=~$type})"
- }
- ],
- "description": "",
- "id": 9,
- "name": "Replicas updated",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "info",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pods available",
- "timeSeriesDisplayNameTemplate": "{{workload}} [{{namespace}}] [{{cluster}}]",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100* (kube_workload_status_available:sysdig{cluster=~$cluster,namespace=~$namespace,workload=~$workload,workload_type=~$type} / kube_workload_status_desired:sysdig{cluster=~$cluster,namespace=~$namespace,workload=~$workload,workload_type=~$type})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "% Pods available ",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "host",
- "createdAt": 1596623050108,
- "customerId": 9,
- "deferred": false,
- "documentId": "9--8538610175098983201",
- "documentTimestamp": 1596623050108,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "firstSeen": 1543400549317,
- "generatedFrom": "com.draios.model.metrics.AgentTag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "host",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "documented": true,
- "experimental": false,
- "firstSeen": 1543400549317,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "agent.tag.cluster",
- "identity": false,
- "label": true,
- "lastSeen": 1596621329844,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "host"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "tagId": "cluster",
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "agent.tag.cluster",
- "identity": false,
- "lastSeen": 1596621329844,
- "metricType": "tag",
- "namespaces": [
- "host"
- ],
- "routingInfo": {
- "customerId": 9,
- "routing": "9"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "agent.tag.cluster",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "namespace",
- "documentId": "namespace",
- "documentTimestamp": 1596623050191,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "namespace",
- "identity": false,
- "metricType": "tag",
- "name": "namespace",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "namespace",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "workload",
- "documentId": "workload",
- "documentTimestamp": 1596623050191,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "workload",
- "identity": false,
- "metricType": "tag",
- "name": "workload",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "workload",
- "isVariable": true,
- "operand": "workload",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "workload_type",
- "documentId": "workload_type",
- "documentTimestamp": 1596623050191,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "workload_type",
- "identity": false,
- "metricType": "tag",
- "name": "workload_type",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "type",
- "isVariable": true,
- "operand": "workload_type",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Troubleshooting.json b/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Troubleshooting.json
deleted file mode 100644
index 05d9c6ab..00000000
--- a/resources/aws-eks/include/dashboard-sysdig-EKS_FARGATE-Kubernetes_Troubleshooting.json
+++ /dev/null
@@ -1,676 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 2,
- "w": 12,
- "x": 0,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 12,
- "x": 12,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 12,
- "x": 12,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 12,
- "x": 0,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 12,
- "x": 12,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 18
- }
- ],
- "name": "EKS FARGATE - Kubernetes Troubleshooting",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Phase] Cluster - Namespace",
- "timeSeriesDisplayNameTemplate": "[{{phase}}] {{namespace}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(phase,namespace,cluster)(kube_pod_status_phase:sysdig{cluster=~$cluster,namespace=~$namespace}) != 0"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Pod Phase by Namespace",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Reason] Cluster - Namespace",
- "timeSeriesDisplayNameTemplate": "[{{reason}}] {{namespace}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(reason,namespace,cluster)(kube_pod_status_reason:sysdig{cluster=~$cluster,namespace=~$namespace}) != 0"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Pod status by reason",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Reason] Cluster - Namespace",
- "timeSeriesDisplayNameTemplate": "[{{reason}}] {{namespace}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(reason,namespace,cluster)(kube_pod_container_status_terminated_reason:sysdig{cluster=~$cluster,namespace=~$namespace}) != 0"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Pod Termination by reason",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Reason] Cluster - Namespace",
- "timeSeriesDisplayNameTemplate": "[{{reason}}] {{namespace}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(reason,namespace,cluster)(kube_pod_container_status_terminated_reason:sysdig{cluster=~$cluster,namespace=~$namespace}) != 0"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Container Termination by reason",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Reason] Cluster - Namespace",
- "timeSeriesDisplayNameTemplate": "[{{reason}}] {{namespace}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(reason,namespace,cluster)(kube_pod_container_status_waiting_reason:sysdig{cluster=~$cluster,namespace=~$namespace}) != 0"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Container Waiting by reason",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Reason] Cluster - Namespace",
- "timeSeriesDisplayNameTemplate": "[{{reason}}] {{namespace}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(reason,namespace,cluster)(kube_pod_init_container_status_terminated_reason:sysdig{cluster=~$cluster,namespace=~$namespace}) != 0"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Init Container Termination by reason",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Reason] Cluster - Namespace",
- "timeSeriesDisplayNameTemplate": "[{{reason}}] {{namespace}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(reason,namespace,cluster)(kube_pod_init_container_status_waiting_reason:sysdig{cluster=~$cluster,namespace=~$namespace}) != 0"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Init Container Waiting by reason",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1596623051276,
- "customerId": 9,
- "deferred": false,
- "documentId": "9--6139949314852700299",
- "documentTimestamp": 1596623051276,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1596515742571,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1596515742571,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1596622973993,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1596622973993,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 9,
- "routing": "9"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "namespace",
- "documentId": "namespace",
- "documentTimestamp": 1596623051330,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "namespace",
- "identity": false,
- "metricType": "tag",
- "name": "namespace",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "namespace",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/aws-eks/include/sysdig-agent.yaml b/resources/aws-eks/include/sysdig-agent.yaml
deleted file mode 100644
index 316fe5ab..00000000
--- a/resources/aws-eks/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,81 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- prometheus.yaml: |-
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
- scrape_configs:
- - job_name: 'prometheus' # config for federation
- honor_labels: true
- metrics_path: '/federate'
- metric_relabel_configs:
- - regex: 'kubernetes_pod_name'
- action: labeldrop
- params:
- 'match[]':
- - '{sysdig="true"}'
- sysdig_sd_configs:
- - tags:
- namespace: monitoring
- statefulset: prometheus-controlplane-server
- relabel_configs:
- - replacement: 'your-cluster-name'
- target_label: cluster
- dragent.yaml: |-
- new_k8s: true
- k8s_cluster_name: your-cluster-name
- metrics_excess_log: true
- app_checks_enabled: false
- 10s_flush_enable: true
- use_promscrape: true
- prometheus:
- enabled: true
- log_errors: true
- max_metrics: 3000
- max_metrics_per_process: 20000
- interval: 10
- ingest_calculated: false
- process_filter:
- - exclude:
- process.name: docker-proxy
- - exclude:
- container.image: sysdig/agent
- # special rule to exclude processes matching configured prometheus appcheck
- - exclude:
- appcheck.match: prometheus
- - include:
- container.label.io.prometheus.scrape: "true"
- conf:
- # Custom path definition
- # If the label doesn't exist we'll still use "/metrics"
- path: "{container.label.io.prometheus.path}"
-
- # Port definition
- # - If the label exists, only scan the given port.
- # - If it doesn't, use port_filter instead.
- # - If there is no port_filter defined, skip this process
- port: "{container.label.io.prometheus.port}"
- port_filter:
- - exclude: [9092,9200,9300]
- - include: 9090-9500
- - include: [9913,9984,24231,42004]
- - exclude:
- container.label.io.prometheus.scrape: "false"
- - include:
- kubernetes.pod.annotation.prometheus.io/scrape: true
- kubernetes.pod.annotation.prometheus.io/scheme: "https"
- conf:
- use_https: true
- path: "{kubernetes.pod.annotation.prometheus.io/path}"
- port: "{kubernetes.pod.annotation.prometheus.io/port}"
- - include:
- kubernetes.pod.annotation.prometheus.io/scrape: true
- conf:
- path: "{kubernetes.pod.annotation.prometheus.io/path}"
- port: "{kubernetes.pod.annotation.prometheus.io/port}"
- - exclude:
- kubernetes.pod.annotation.prometheus.io/scrape: false
\ No newline at end of file
diff --git a/resources/aws-elb/INSTALL.md b/resources/aws-elb/INSTALL.md
index 153631a0..49adcf23 100644
--- a/resources/aws-elb/INSTALL.md
+++ b/resources/aws-elb/INSTALL.md
@@ -60,15 +60,4 @@ kubectl apply -f elb-deploy.yaml
6. Ensure that the exporter is working checking that the pods are running:
```
kubectl -n yace get pods
-```
-
-# Sysdig Agent configuration
-
-Do the following:
-
-1. In the yace deployment, include the Prometheus annotations. Add the port of the exporter as the scraping port in the annotation.
-
-2. Download the sample [Sysdig Agent configuration file](include/sysdig-agent-config.yaml) and apply it by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
+```
\ No newline at end of file
diff --git a/resources/aws-elb/dashboards.yaml b/resources/aws-elb/dashboards.yaml
index cd11809c..1385c850 100644
--- a/resources/aws-elb/dashboards.yaml
+++ b/resources/aws-elb/dashboards.yaml
@@ -22,20 +22,3 @@ configurations:
* Total requests per second
* Top healthy hosts (list and graphic)
file: include/dashboard-Grafana-ELB-Golden-Signals-1.0.0.json
-- name: ELB Golden Signals
- kind: Sysdig
- image: aws-elb/images/aws-elb-sysdig-golden-signals.png
- description: |
- This dashboard offers information on:
- * Error from load balancer for 4XX and 5XX codes
- * Error from the backend for 4XX and 5XX codes
- * Unhealthy hosts
- * Queue spillovers rejections
- * Top 5 response time target groups (list and graphic)
- * Top surge queue length (list and graphic)
- * Number of load balancers
- * Requests per second with 2XX and 3XX code
- * Top requests / second load balancers
- * Total requests per second
- * Top healthy hosts (list and graphic)
- file: include/dashboard-Sysdig-ELB-Golden-Signals-1.0.0.json
diff --git a/resources/aws-elb/images/aws-elb-sysdig-golden-signals.png b/resources/aws-elb/images/aws-elb-sysdig-golden-signals.png
deleted file mode 100644
index 8a83b5c1..00000000
Binary files a/resources/aws-elb/images/aws-elb-sysdig-golden-signals.png and /dev/null differ
diff --git a/resources/aws-elb/include/dashboard-Sysdig-ELB-Golden-Signals-1.0.0.json b/resources/aws-elb/include/dashboard-Sysdig-ELB-Golden-Signals-1.0.0.json
deleted file mode 100644
index 29fc34a0..00000000
--- a/resources/aws-elb/include/dashboard-Sysdig-ELB-Golden-Signals-1.0.0.json
+++ /dev/null
@@ -1,1370 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 5,
- "panelId": 1,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 2,
- "w": 6,
- "x": 0,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 3,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 4,
- "w": 6,
- "x": 6,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 6,
- "w": 12,
- "x": 12,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 10
- },
- {
- "h": 5,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 10
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 15
- },
- {
- "h": 5,
- "panelId": 10,
- "w": 12,
- "x": 12,
- "y": 15
- },
- {
- "h": 5,
- "panelId": 11,
- "w": 12,
- "x": 0,
- "y": 20
- },
- {
- "h": 5,
- "panelId": 12,
- "w": 12,
- "x": 12,
- "y": 20
- },
- {
- "h": 5,
- "panelId": 13,
- "w": 12,
- "x": 0,
- "y": 25
- },
- {
- "h": 5,
- "panelId": 14,
- "w": 12,
- "x": 12,
- "y": 25
- }
- ],
- "name": "AWS ELB",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " [4XX] Region > ELB",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(100 * sum(aws_elb_httpcode_elb_4_xx_count_sum{region=~$region,dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"}) / sum(aws_elb_request_count_sum{region=~$region,dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"}) or vector(0))"
- },
- {
- "displayInfo": {
- "displayName": " [5XX] Region > ELB",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * sum(aws_elb_httpcode_elb_5_xx_count_sum{region=~$region,dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"} ) / sum(aws_elb_request_count_sum{region=~$region,dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"})or vector(0)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": 100.0,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Error Rate From the Load Balancer",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Region > ELB",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_elb_un_healthy_host_count_minimum{region=~$region})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 0,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Unhealthy Hosts",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[4XX] Region > ELB",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * sum(aws_elb_httpcode_backend_4_xx_count_sum{region=~$region,dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"}) / sum(aws_elb_request_count_sum{region=~$region,dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"}) or vector(0)"
- },
- {
- "displayInfo": {
- "displayName": " [5XX] Region > ELB",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * sum(aws_elb_httpcode_backend_5_xx_count_sum{region=~$region,dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"}) / sum(aws_elb_request_count_sum{region=~$region,dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"})or vector(0)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Error Rate From the Backend",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Region > ELB",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_elb_spillover_count_sum{region=~$region} or vector(0))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Queue Spillovers Rejections",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": 0,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_elb_latency_p95",
- "documentTimestamp": 1615998595369,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_elb_latency_p95",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_elb_latency_p95",
- "namespaces": [
- "prombeacon"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "max",
- "id": "aws_elb_latency_p95",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998595370,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_LoadBalancerName",
- "documentId": "dimension_LoadBalancerName",
- "documentTimestamp": 1615998595370,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_LoadBalancerName",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_LoadBalancerName",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_LoadBalancerName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 5,
- "name": "Top 5 P95 Latency",
- "nullValueDisplayText": null,
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(10,aws_elb_latency_p95{region=~$region})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Top P95 Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Region > ELB",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(5,aws_elb_surge_queue_length_maximum{region=~$region, dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Top Surge Queue Length",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": null,
- "groupAggregation": "max",
- "id": "aws_elb_surge_queue_length_maximum",
- "sorting": null,
- "timeAggregation": "max"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998595370,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_LoadBalancerName",
- "documentId": "dimension_LoadBalancerName",
- "documentTimestamp": 1615998595370,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_LoadBalancerName",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_LoadBalancerName",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_LoadBalancerName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 8,
- "name": "Top Surge Queue Length",
- "nullValueDisplayText": null,
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(aws_elb_info{})"
- }
- ],
- "description": "",
- "id": 9,
- "name": "Load Balancers",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " [2XX] Region > ELB",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_elb_httpcode_backend_2_xx_count_sum{region=~$region, dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"} or vector(0)) / 300"
- },
- {
- "displayInfo": {
- "displayName": " [3XX] Region > ELB",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_elb_httpcode_backend_3_xx_count_sum{region=~$region, dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"} or vector(0)) / 300"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Requests/sec With 2XX and 3XX Codes",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Region > ELB",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(5,aws_elb_request_count_sum{region=~$region, dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"} / 300) or vector(0)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Top Requests / Second",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Region > ELB",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_elb_request_count_sum{region=~$region, dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"})/ 300 or vector(0)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Total Requests / Second",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Region > ELB",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(5,aws_elb_healthy_host_count_sum{region=~$region, dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Top Healthy Hosts",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Region > ELB",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_LoadBalancerName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(aws_elb_healthy_host_count_sum{region=~$region, dimension_AvailabilityZone!=\"\", dimension_LoadBalancerName!=\"\"})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Total Healthy Hosts",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998595371,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "region",
- "isVariable": true,
- "operand": "region",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/aws-elb/include/sysdig-agent-config.yaml b/resources/aws-elb/include/sysdig-agent-config.yaml
deleted file mode 100644
index 481a7a3a..00000000
--- a/resources/aws-elb/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-kind: ConfigMap
-metadata:
- labels:
- app: sysdig-agent
- name: sysdig-agent
- namespace: sysdig-agent
-apiVersion: v1
-data:
- prometheus.yaml: |-
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
- scrape_configs:
- - job_name: 'k8s-pods'
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- # Trying to ensure we only scrape local targets
- # __HOSTIPS__ is replaced by promscrape with a regex list of the IP addresses
- # of all the active network interfaces on the host
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- - action: keep
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
- regex: true
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
- target_label: __scheme__
- regex: (https?)
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
- target_label: __metrics_path__
- regex: (.+)
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: your-cluster-name
- jmx:
- enabled: false
- metrics_excess_log: true
- app_checks_enabled: false
- 10s_flush_enable: true
- use_promscrape: true
- prometheus:
- enabled: true
- ingest_calculated: false
- ingest_raw: true
- max_metrics: 10000
- max_metrics_per_process: 20000
- tags: role:cluster
- use_promscrape: true
- prom_service_discovery: true
- snaplen: 512
- tags: role:cluster
\ No newline at end of file
diff --git a/resources/aws-elb/setup-guide.yaml b/resources/aws-elb/setup-guide.yaml
index 7182d8b0..9bd1e7c4 100644
--- a/resources/aws-elb/setup-guide.yaml
+++ b/resources/aws-elb/setup-guide.yaml
@@ -7,7 +7,4 @@ appVersion:
descriptionFile: INSTALL.md
configurations:
- name: elb-deploy.yaml
- file: include/elb-deploy.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
-
+ file: include/elb-deploy.yaml
\ No newline at end of file
diff --git a/resources/aws-fargate/INSTALL.md b/resources/aws-fargate/INSTALL.md
index b9601b8a..b2b79c53 100644
--- a/resources/aws-fargate/INSTALL.md
+++ b/resources/aws-fargate/INSTALL.md
@@ -59,14 +59,4 @@ kubectl apply -f fargate-deploy.yaml
6. Ensure that the exporter is working checking that the pods are running:
```
kubectl -n yace get pods
-```
-
-# Sysdig Agent configuration
-Do the following:
-
-1. In the yace deployment, include the Prometheus annotations. Add the port of the exporter as the scraping port in the annotation.
-
-2. Download the sample [Sysdig Agent configuration file](include/sysdig-agent-config.yaml) and apply the changes by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
+```
\ No newline at end of file
diff --git a/resources/aws-fargate/README.md b/resources/aws-fargate/README.md
index 936740b7..7c15f5b5 100644
--- a/resources/aws-fargate/README.md
+++ b/resources/aws-fargate/README.md
@@ -8,8 +8,6 @@ The metrics for AWS ECS are obtained through AWS Cloudwatch by using the [YACE e
See [Monitoring AWS Fargate](https://sysdig.com/blog/monitor-aws-fargate-prometheus/) for information on the main metrics to monitor and alert.
-![Monitoring AWS Fargate](https://raw.githubusercontent.com/sysdiglabs/promcat-resources/master/resources/aws-fargate/images/Monitoring-AWS-Fargate-with-Prometheus-and-Sysdig_2.png)
-
## Cloudwatch billing considerations
Using AWS Cloudwatch for monitoring can incur additional costs in your AWS billing.
See the [AWS Cloudwatch documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_limits.html) for further details.
diff --git a/resources/aws-fargate/dashboards.yaml b/resources/aws-fargate/dashboards.yaml
index 746da448..c2af651f 100644
--- a/resources/aws-fargate/dashboards.yaml
+++ b/resources/aws-fargate/dashboards.yaml
@@ -5,26 +5,6 @@ version: 1.0.0
appVersion:
- 1.3.0
configurations:
-- name: Fargate Cluster Overview
- kind: Sysdig
- image: aws-fargate/images/fargate-sysdig-cluster-overview.png
- description: |
- This dashboard offers information on:
- * Number of tasks in the cluster by state (desired, pending, running)
- * CPU utilization by service
- * Memory utilization by service
- * Disk read and write throughput
- file: include/dashboard-Sysdig-Fargate-Cluster-Overview-1.3.0.json
-- name: Fargate Service Detail
- kind: Sysdig
- image: aws-fargate/images/fargate-sysdig-service-detail.png
- description: |
- This dashboard has variables for cluster and service. It offers information on:
- * CPU utilization
- * Memory utilization
- * Disk read and write throughput
- * Running and pending tasks
- file: include/dashboard-Sysdig-Fargate-Service-Detail-1.3.0.json
- name: Fargate Cluster Overview
kind: Grafana
image: aws-fargate/images/fargate-grafana-cluster-overview.jpg
diff --git a/resources/aws-fargate/images/Monitoring-AWS-Fargate-with-Prometheus-and-Sysdig_2.png b/resources/aws-fargate/images/Monitoring-AWS-Fargate-with-Prometheus-and-Sysdig_2.png
deleted file mode 100644
index dbaa293e..00000000
Binary files a/resources/aws-fargate/images/Monitoring-AWS-Fargate-with-Prometheus-and-Sysdig_2.png and /dev/null differ
diff --git a/resources/aws-fargate/images/fargate-grafana-golden-signals.jpg b/resources/aws-fargate/images/fargate-grafana-golden-signals.jpg
deleted file mode 100644
index 90747137..00000000
Binary files a/resources/aws-fargate/images/fargate-grafana-golden-signals.jpg and /dev/null differ
diff --git a/resources/aws-fargate/images/fargate-sysdig-cluster-overview.png b/resources/aws-fargate/images/fargate-sysdig-cluster-overview.png
deleted file mode 100644
index 25aa1ff2..00000000
Binary files a/resources/aws-fargate/images/fargate-sysdig-cluster-overview.png and /dev/null differ
diff --git a/resources/aws-fargate/images/fargate-sysdig-golden-signals.png b/resources/aws-fargate/images/fargate-sysdig-golden-signals.png
deleted file mode 100644
index 25aa1ff2..00000000
Binary files a/resources/aws-fargate/images/fargate-sysdig-golden-signals.png and /dev/null differ
diff --git a/resources/aws-fargate/images/fargate-sysdig-service-detail.png b/resources/aws-fargate/images/fargate-sysdig-service-detail.png
deleted file mode 100644
index c0ba1147..00000000
Binary files a/resources/aws-fargate/images/fargate-sysdig-service-detail.png and /dev/null differ
diff --git a/resources/aws-fargate/include/dashboard-Sysdig-Fargate-Cluster-Overview-1.3.0.json b/resources/aws-fargate/include/dashboard-Sysdig-Fargate-Cluster-Overview-1.3.0.json
deleted file mode 100644
index 02986ffb..00000000
--- a/resources/aws-fargate/include/dashboard-Sysdig-Fargate-Cluster-Overview-1.3.0.json
+++ /dev/null
@@ -1,413 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "layout": [
- {
- "h": 2,
- "panelId": 1,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 1,
- "panelId": 2,
- "w": 4,
- "x": 4,
- "y": 0
- },
- {
- "h": 1,
- "panelId": 3,
- "w": 4,
- "x": 4,
- "y": 1
- },
- {
- "h": 5,
- "panelId": 4,
- "w": 8,
- "x": 0,
- "y": 2
- },
- {
- "h": 7,
- "panelId": 5,
- "w": 8,
- "x": 8,
- "y": 0
- },
- {
- "h": 7,
- "panelId": 6,
- "w": 8,
- "x": 16,
- "y": 0
- },
- {
- "h": 7,
- "panelId": 7,
- "w": 24,
- "x": 0,
- "y": 7
- }
- ],
- "name": "AWS Fargate Cluster Overview",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum (aws_ecs_containerinsights_pending_task_count_average)"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Pending tasks",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "medium",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_ecs_containerinsights_running_task_count_average)"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Running tasks",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_ecs_containerinsights_desired_task_count_average)"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Desired tasks",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Service: {{dimension_ServiceName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (dimension_ServiceName)(aws_ecs_containerinsights_running_task_count_average)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Task by Service",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Service: {{dimension_ServiceName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg by (dimension_ServiceName)(aws_ecs_containerinsights_cpu_utilized_average / aws_ecs_containerinsights_cpu_reserved_average) * 100"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": 100.0,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "CPU utilization",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Service: {{dimension_ServiceName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg by (dimension_ServiceName)(aws_ecs_containerinsights_memory_utilized_average / aws_ecs_containerinsights_memory_reserved_average) * 100"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": 100.0,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Memory utilization",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Storage Read",
- "timeSeriesDisplayNameTemplate": "Storage read service: {{dimension_ServiceName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (dimension_ServiceName)(rate(aws_ecs_containerinsights_storage_read_bytes_average[15m]))"
- },
- {
- "displayInfo": {
- "displayName": "Storage Write",
- "timeSeriesDisplayNameTemplate": "Storage write service: {{dimension_ServiceName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (dimension_ServiceName)(rate(aws_ecs_containerinsights_storage_write_bytes_average[15m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Storage read / write",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": []
- }
-}
diff --git a/resources/aws-fargate/include/dashboard-Sysdig-Fargate-Service-Detail-1.3.0.json b/resources/aws-fargate/include/dashboard-Sysdig-Fargate-Service-Detail-1.3.0.json
deleted file mode 100644
index ce0386c8..00000000
--- a/resources/aws-fargate/include/dashboard-Sysdig-Fargate-Service-Detail-1.3.0.json
+++ /dev/null
@@ -1,619 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 2,
- "w": 12,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 12,
- "x": 12,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 12,
- "x": 0,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 6
- }
- ],
- "name": "AWS Fargate Service Detail",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "CPU Reserved",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "aws_ecs_containerinsights_cpu_reserved_average{dimension_ClusterName=$cluster, dimension_ServiceName=$service}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "CPU Utilized",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "aws_ecs_containerinsights_cpu_utilized_average{dimension_ClusterName=$cluster, dimension_ServiceName=$service}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "CPU Reserved vs Utilized",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "CPU Reserved",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "MiB",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "aws_ecs_containerinsights_memory_reserved_average{dimension_ClusterName=$cluster, dimension_ServiceName=$service}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "CPU Reserved",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "MiB",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "aws_ecs_containerinsights_memory_utilized_average{dimension_ClusterName=$cluster, dimension_ServiceName=$service}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Memory Reserved vs Utilized",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Storage Read",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "rate(aws_ecs_containerinsights_storage_read_bytes_average{dimension_ClusterName=$cluster, dimension_ServiceName=$service}[15m])"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Storage Write",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "rate(aws_ecs_containerinsights_storage_write_bytes_average{dimension_ClusterName=$cluster, dimension_ServiceName=$service}[15m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Storage Throughput ",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Running",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "aws_ecs_containerinsights_running_task_count_average{dimension_ClusterName=$cluster, dimension_ServiceName=$service}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Pending",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "aws_ecs_containerinsights_pending_task_count_average{dimension_ClusterName=$cluster, dimension_ServiceName=$service}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Running vs Pending Tasks",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588679282463,
- "customerId": 995,
- "deferred": false,
- "documentId": "995-7174107566356551535",
- "documentTimestamp": 1588679282463,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_ClusterName",
- "identity": false,
- "label": true,
- "lastSeen": 1588608774279,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_ClusterName",
- "identity": false,
- "lastSeen": 1588608774279,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "dimension_ClusterName",
- "operator": "equals",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588679282463,
- "customerId": 995,
- "deferred": false,
- "documentId": "995--1249961131704159062",
- "documentTimestamp": 1588679282463,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_ServiceName",
- "identity": false,
- "label": true,
- "lastSeen": 1588608774279,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_ServiceName",
- "identity": false,
- "lastSeen": 1588608774279,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "service",
- "isVariable": true,
- "operand": "dimension_ServiceName",
- "operator": "equals",
- "value": [],
- "variable": true
- }
- ]
- }
-}
diff --git a/resources/aws-fargate/include/sysdig-agent-config.yaml b/resources/aws-fargate/include/sysdig-agent-config.yaml
deleted file mode 100644
index 481a7a3a..00000000
--- a/resources/aws-fargate/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-kind: ConfigMap
-metadata:
- labels:
- app: sysdig-agent
- name: sysdig-agent
- namespace: sysdig-agent
-apiVersion: v1
-data:
- prometheus.yaml: |-
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
- scrape_configs:
- - job_name: 'k8s-pods'
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- # Trying to ensure we only scrape local targets
- # __HOSTIPS__ is replaced by promscrape with a regex list of the IP addresses
- # of all the active network interfaces on the host
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- - action: keep
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
- regex: true
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
- target_label: __scheme__
- regex: (https?)
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
- target_label: __metrics_path__
- regex: (.+)
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: your-cluster-name
- jmx:
- enabled: false
- metrics_excess_log: true
- app_checks_enabled: false
- 10s_flush_enable: true
- use_promscrape: true
- prometheus:
- enabled: true
- ingest_calculated: false
- ingest_raw: true
- max_metrics: 10000
- max_metrics_per_process: 20000
- tags: role:cluster
- use_promscrape: true
- prom_service_discovery: true
- snaplen: 512
- tags: role:cluster
\ No newline at end of file
diff --git a/resources/aws-fargate/setup-guide.yaml b/resources/aws-fargate/setup-guide.yaml
index b6ffe6d0..44b3ebde 100644
--- a/resources/aws-fargate/setup-guide.yaml
+++ b/resources/aws-fargate/setup-guide.yaml
@@ -7,7 +7,4 @@ appVersion:
descriptionFile: INSTALL.md
configurations:
- name: fargate-deploy.yaml
- file: include/fargate-deploy.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
-
+ file: include/fargate-deploy.yaml
\ No newline at end of file
diff --git a/resources/aws-lambda/INSTALL.md b/resources/aws-lambda/INSTALL.md
index 1adb9995..af48f5e9 100644
--- a/resources/aws-lambda/INSTALL.md
+++ b/resources/aws-lambda/INSTALL.md
@@ -59,14 +59,4 @@ kubectl apply -f lambda-deploy.yaml
6. Ensure that the exporter is working checking that the pods are running:
```
kubectl -n yace get pods
-```
-
-# Sysdig Agent configuration
-Do the following:
-
-1. In the yace deployment, include the Prometheus annotations. Add the port of the exporter as the scraping port in the annotation.
-
-2. Download the sample [Sysdig Agent configuration file](include/sysdig-agent-config.yaml) and apply it by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
+```
\ No newline at end of file
diff --git a/resources/aws-lambda/dashboards.yaml b/resources/aws-lambda/dashboards.yaml
index d7a79c73..62ec7b52 100644
--- a/resources/aws-lambda/dashboards.yaml
+++ b/resources/aws-lambda/dashboards.yaml
@@ -5,37 +5,6 @@ version: 1.0.0
appVersion:
- 1.0.0
configurations:
-- name: Lambda Golden Signals
- kind: Sysdig
- image: aws-lambda/images/lambda-sysdig-golden-signals.png
- description: |
- This dashboard offers information on:
- * Error rate
- * Dead-letter Errors
- * Destination Delivery Failures
- * Throttles
- * Invocations
- * Duration total
- * Duration (minimum, average, maximum)
- file: include/dashboard-Sysdig-Lambda-Golden-Signals-1.0.0.json
-- name: Lambda Function Details
- kind: Sysdig
- image: aws-lambda/images/lambda-sysdig-function-details.png
- description: |
- This dashboard offers information on:
- * Error rate
- * Dead-letter Errors
- * Destination Delivery Failures
- * Throttles
- * Invocations
- * Concurrent Executions
- * Unreserved Concurrent Executions
- * Duration
- * Iterator Age
- * Provisioned Concurrency
- * Provisioned Concurrency Utilization
- * Provisioned Concurrency Spillover
- file: include/dashboard-Sysdig-Lambda-Function-Details-1.0.0.json
- name: Lambda Golden Signals
kind: Grafana
image: aws-lambda/images/lambda-grafana-golden-signals.png
diff --git a/resources/aws-lambda/images/lambda-sysdig-function-details.png b/resources/aws-lambda/images/lambda-sysdig-function-details.png
deleted file mode 100644
index f1f8d18b..00000000
Binary files a/resources/aws-lambda/images/lambda-sysdig-function-details.png and /dev/null differ
diff --git a/resources/aws-lambda/images/lambda-sysdig-golden-signals.png b/resources/aws-lambda/images/lambda-sysdig-golden-signals.png
deleted file mode 100644
index 1c84c5ed..00000000
Binary files a/resources/aws-lambda/images/lambda-sysdig-golden-signals.png and /dev/null differ
diff --git a/resources/aws-lambda/include/dashboard-Sysdig-Lambda-Function-Details-1.0.0.json b/resources/aws-lambda/include/dashboard-Sysdig-Lambda-Function-Details-1.0.0.json
deleted file mode 100644
index d9f3bee2..00000000
--- a/resources/aws-lambda/include/dashboard-Sysdig-Lambda-Function-Details-1.0.0.json
+++ /dev/null
@@ -1,1071 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 5,
- "panelId": 2,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 3,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 4,
- "w": 6,
- "x": 12,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 5,
- "w": 6,
- "x": 18,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 6,
- "w": 8,
- "x": 0,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 10
- },
- {
- "h": 5,
- "panelId": 8,
- "w": 8,
- "x": 0,
- "y": 15
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 8,
- "x": 8,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 10,
- "w": 8,
- "x": 16,
- "y": 15
- },
- {
- "h": 5,
- "panelId": 11,
- "w": 8,
- "x": 16,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 12,
- "w": 8,
- "x": 8,
- "y": 15
- },
- {
- "h": 5,
- "panelId": 13,
- "w": 12,
- "x": 12,
- "y": 10
- }
- ],
- "name": "AWS Lambda Function Details",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * (aws_lambda_errors_sum{region=~$region,dimension_FunctionName=~$function} / aws_lambda_invocations_sum{region=~$region,dimension_FunctionName=~$function})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Error rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_lambda_dead_letter_errors_sum{region=~$region,dimension_FunctionName=~$function} or vector(0))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Dead-letter Errors",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_lambda_destination_delivery_failures_sum{region=~$region,dimension_FunctionName=~$function} or vector(0))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Destination Delivery Failures",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "aws_lambda_throttles_sum{region=~$region,dimension_FunctionName=~$function}\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Throttles",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "aws_lambda_invocations_sum{region=~$region,dimension_FunctionName=~$function}\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Invocations",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " [Max] Region > Function",
- "timeSeriesDisplayNameTemplate": "[Max] {{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "aws_lambda_duration_maximum{region=~$region,dimension_FunctionName=~$function}\n"
- },
- {
- "displayInfo": {
- "displayName": " [Avg] Region > Function",
- "timeSeriesDisplayNameTemplate": "[Avg] {{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "aws_lambda_duration_average{region=~$region,dimension_FunctionName=~$function}\n"
- },
- {
- "displayInfo": {
- "displayName": " [Min] Region > Function",
- "timeSeriesDisplayNameTemplate": "[Min] {{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "aws_lambda_duration_minimum{region=~$region,dimension_FunctionName=~$function}\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Duration",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Invocations",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_lambda_provisioned_concurrency_invocations_sum{region=~$region,dimension_FunctionName=~$function} or vector(0))\n"
- },
- {
- "displayInfo": {
- "displayName": "Executions",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_lambda_provisioned_concurrency_executions_sum{region=~$region,dimension_FunctionName=~$function} or vector(0))\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Provisioned Concurrency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "aws_lambda_invocations_sum{region=~$region,dimension_FunctionName=~$function}\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Concurrent Executions",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Invocations",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_lambda_provisioned_concurrency_spillover_invocations_sum{region=~$region,dimension_FunctionName=~$function} or vector(0))\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Provisioned Concurrency Spillover",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Region > Function ",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_lambda_unreserved_concurrent_executions_sum{region=~$region,dimension_FunctionName=~$function} or vector(0))\n\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Unreserved Concurrent Executions",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Utilization",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * sum(aws_lambda_provisioned_concurrency_utilization_average{region=~$region,dimension_FunctionName=~$function} or vector(0))\n\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Provisioned Concurrency Utilization",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " [Max] Region > Function",
- "timeSeriesDisplayNameTemplate": "[Max] {{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "sum(aws_lambda_iterator_age_maximum{region=~$region,dimension_FunctionName=~$function} or vector(0))"
- },
- {
- "displayInfo": {
- "displayName": " [Avg] Region > Function",
- "timeSeriesDisplayNameTemplate": "[Avg] {{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "sum(aws_lambda_iterator_age_average{region=~$region,dimension_FunctionName=~$function} or vector(0))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Iterator Age",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998639627,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "region",
- "isVariable": true,
- "operand": "region",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_FunctionName",
- "documentId": "dimension_FunctionName",
- "documentTimestamp": 1615998639627,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_FunctionName",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_FunctionName",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "function",
- "isVariable": true,
- "operand": "dimension_FunctionName",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/aws-lambda/include/dashboard-Sysdig-Lambda-Golden-Signals-1.0.0.json b/resources/aws-lambda/include/dashboard-Sysdig-Lambda-Golden-Signals-1.0.0.json
deleted file mode 100644
index c6bae243..00000000
--- a/resources/aws-lambda/include/dashboard-Sysdig-Lambda-Golden-Signals-1.0.0.json
+++ /dev/null
@@ -1,723 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 1,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 2,
- "w": 12,
- "x": 0,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 6,
- "x": 18,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 8,
- "x": 0,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 8,
- "x": 8,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 8,
- "x": 16,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 6,
- "x": 12,
- "y": 0
- }
- ],
- "name": "AWS Lambda overview",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "topk(10,aws_lambda_errors_sum{region=~$region} / aws_lambda_invocations_sum{region=~$region}) * 100"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "%"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Error rate %",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(10,aws_lambda_invocations_sum{region=~$region})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Invocations",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(10,aws_lambda_throttles_sum{region=~$region})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 0,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Throttles",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(10,aws_lambda_duration_minimum{region=~$region})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "%"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Duration (minimum)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(10,aws_lambda_duration_sum{region=~$region})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Duration total",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(10,aws_lambda_dead_letter_errors_sum{region=~$region})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "%"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Dead-letter Errors",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(10,aws_lambda_duration_average{region=~$region})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "%"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Duration (average)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(10,aws_lambda_duration_maximum{region=~$region})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "%"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Duration (maximum)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Region > Function",
- "timeSeriesDisplayNameTemplate": "{{region}} > {{dimension_FunctionName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(10,aws_lambda_destination_delivery_failures_sum{region=~$region})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "%"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Destination Delivery Failures",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998638768,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "region",
- "isVariable": true,
- "operand": "region",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/aws-lambda/include/sysdig-agent-config.yaml b/resources/aws-lambda/include/sysdig-agent-config.yaml
deleted file mode 100644
index 481a7a3a..00000000
--- a/resources/aws-lambda/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-kind: ConfigMap
-metadata:
- labels:
- app: sysdig-agent
- name: sysdig-agent
- namespace: sysdig-agent
-apiVersion: v1
-data:
- prometheus.yaml: |-
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
- scrape_configs:
- - job_name: 'k8s-pods'
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- # Trying to ensure we only scrape local targets
- # __HOSTIPS__ is replaced by promscrape with a regex list of the IP addresses
- # of all the active network interfaces on the host
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- - action: keep
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
- regex: true
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
- target_label: __scheme__
- regex: (https?)
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
- target_label: __metrics_path__
- regex: (.+)
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: your-cluster-name
- jmx:
- enabled: false
- metrics_excess_log: true
- app_checks_enabled: false
- 10s_flush_enable: true
- use_promscrape: true
- prometheus:
- enabled: true
- ingest_calculated: false
- ingest_raw: true
- max_metrics: 10000
- max_metrics_per_process: 20000
- tags: role:cluster
- use_promscrape: true
- prom_service_discovery: true
- snaplen: 512
- tags: role:cluster
\ No newline at end of file
diff --git a/resources/aws-lambda/setup-guide.yaml b/resources/aws-lambda/setup-guide.yaml
index a429e68b..69215727 100644
--- a/resources/aws-lambda/setup-guide.yaml
+++ b/resources/aws-lambda/setup-guide.yaml
@@ -7,7 +7,4 @@ appVersion:
descriptionFile: INSTALL.md
configurations:
- name: lambda-deploy.yaml
- file: include/lambda-deploy.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
-
+ file: include/lambda-deploy.yaml
\ No newline at end of file
diff --git a/resources/aws-rds/INSTALL.md b/resources/aws-rds/INSTALL.md
index d55ef8f9..be176c64 100644
--- a/resources/aws-rds/INSTALL.md
+++ b/resources/aws-rds/INSTALL.md
@@ -60,14 +60,4 @@ kubectl apply -f rds-deploy.yaml
5. Ensure that the exporter is working checking that the pods are running:
```
kubectl -n yace get pods
-```
-
-# Sysdig Agent configuration
-Do the following:
-
-1. In the yace deployment, include the Prometheus annotations. Add the port of the exporter as the scraping port in the annotation.
-
-2. Download the sample [Sysdig Agent configuration file](include/sysdig-agent-config.yaml) and apply it by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
+```
\ No newline at end of file
diff --git a/resources/aws-rds/dashboards.yaml b/resources/aws-rds/dashboards.yaml
index a8aab1ec..80e2959b 100644
--- a/resources/aws-rds/dashboards.yaml
+++ b/resources/aws-rds/dashboards.yaml
@@ -5,24 +5,6 @@ version: 1.0.0
appVersion:
- 1.0.0
configurations:
-- name: 'AWS RDS - Instance Detail'
- kind: Sysdig
- image: 'aws-rds/images/dashboard-sysdig-aws-rds.png'
- description: |
- This dashboard offers information on:
- * AWS RDS - Instance Detail
- * Read Latency
- * Write Latency
- * Disk Queue Depth
- * Freeable Memory
- * Free Storage Space
- * Swap Usage
- * DB Connections
- * CPU Utilization
- * Read / Write Throughput
- * Read / Write IOPS
- * Network I/O
- file: include/dashboard-sysdig-aws-rds.json
- name: 'AWS RDS - Instance Detail'
kind: Grafana
image: 'aws-rds/images/dashboard-grafana-aws-rds.png'
diff --git a/resources/aws-rds/images/dashboard-sysdig-aws-rds.png b/resources/aws-rds/images/dashboard-sysdig-aws-rds.png
deleted file mode 100644
index bdac4d99..00000000
Binary files a/resources/aws-rds/images/dashboard-sysdig-aws-rds.png and /dev/null differ
diff --git a/resources/aws-rds/include/dashboard-sysdig-aws-rds.json b/resources/aws-rds/include/dashboard-sysdig-aws-rds.json
deleted file mode 100644
index 3eeee861..00000000
--- a/resources/aws-rds/include/dashboard-sysdig-aws-rds.json
+++ /dev/null
@@ -1,4014 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 5,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 4,
- "w": 8,
- "x": 0,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 5,
- "w": 8,
- "x": 8,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 6,
- "w": 8,
- "x": 16,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 10
- },
- {
- "h": 5,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 10
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 8,
- "x": 0,
- "y": 15
- },
- {
- "h": 5,
- "panelId": 10,
- "w": 8,
- "x": 8,
- "y": 15
- },
- {
- "h": 5,
- "panelId": 11,
- "w": 8,
- "x": 16,
- "y": 15
- }
- ],
- "name": "AWS RDS",
- "panels": [
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Average",
- "timeSeriesDisplayNameTemplate": "Avg: {{dimension_DBInstanceIdentifier}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": null,
- "groupAggregation": "avg",
- "id": "aws_rds_read_latency_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569357,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569357,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Max",
- "timeSeriesDisplayNameTemplate": "Max: {{dimension_DBInstanceIdentifier}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": null,
- "groupAggregation": "avg",
- "id": "aws_rds_read_latency_maximum",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569357,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569357,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Read Latency",
- "nullValueDisplayText": null,
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Average",
- "timeSeriesDisplayNameTemplate": "Avg: {{dimension_DBInstanceIdentifier}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": null,
- "groupAggregation": "avg",
- "id": "aws_rds_write_latency_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569358,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569358,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Max",
- "timeSeriesDisplayNameTemplate": "Max: {{dimension_DBInstanceIdentifier}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": null,
- "groupAggregation": "avg",
- "id": "aws_rds_read_latency_maximum",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569358,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569358,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Write Latency",
- "nullValueDisplayText": null,
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Average",
- "timeSeriesDisplayNameTemplate": "Avg: {{dimension_DBInstanceIdentifier}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_rds_disk_queue_depth_average",
- "documentTimestamp": 1615998569358,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_rds_disk_queue_depth_average",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_rds_disk_queue_depth_average",
- "namespaces": [
- "prombeacon"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_rds_disk_queue_depth_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Max",
- "timeSeriesDisplayNameTemplate": "Max: {{dimension_DBInstanceIdentifier}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_rds_disk_queue_depth_maximum",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_rds_disk_queue_depth_maximum",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_rds_disk_queue_depth_maximum",
- "namespaces": [
- "prombeacon"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_rds_disk_queue_depth_maximum",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk Queue Depth",
- "nullValueDisplayText": null,
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_rds_freeable_memory_average",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_rds_freeable_memory_average",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_rds_freeable_memory_average",
- "namespaces": [
- "prombeacon"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_rds_freeable_memory_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Freeable Memory",
- "nullValueDisplayText": null,
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_rds_free_storage_space_average",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_rds_free_storage_space_average",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_rds_free_storage_space_average",
- "namespaces": [
- "prombeacon"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_rds_free_storage_space_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Free Storage Space",
- "nullValueDisplayText": null,
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": null,
- "groupAggregation": "avg",
- "id": "aws_rds_swap_usage_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Swap Usage",
- "nullValueDisplayText": null,
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_rds_database_connections_average",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_rds_database_connections_average",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_rds_database_connections_average",
- "namespaces": [
- "prombeacon"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_rds_database_connections_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569359,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "DB Connections",
- "nullValueDisplayText": null,
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_rds_cpuutilization_average",
- "documentTimestamp": 1615998569360,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_rds_cpuutilization_average",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_rds_cpuutilization_average",
- "namespaces": [
- "prombeacon"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_rds_cpuutilization_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569360,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569360,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU Utilization",
- "nullValueDisplayText": null,
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Read: {{dimension_DBInstanceIdentifier}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": null,
- "groupAggregation": "avg",
- "id": "aws_rds_read_throughput_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569360,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569360,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Write: {{dimension_DBInstanceIdentifier}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": null,
- "groupAggregation": "avg",
- "id": "aws_rds_write_throughput_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569360,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569361,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Read / Write Throughput",
- "nullValueDisplayText": null,
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Read: {{dimension_DBInstanceIdentifier}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": null,
- "groupAggregation": "avg",
- "id": "aws_rds_read_iops_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569361,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569361,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Write: {{dimension_DBInstanceIdentifier}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": null,
- "groupAggregation": "avg",
- "id": "aws_rds_write_iops_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569361,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569361,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Read / Write IOPS",
- "nullValueDisplayText": null,
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "In: {{dimension_DBInstanceIdentifier}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_rds_network_receive_throughput_average",
- "documentTimestamp": 1615998569361,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_rds_network_receive_throughput_average",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_rds_network_receive_throughput_average",
- "namespaces": [
- "prombeacon"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_rds_network_receive_throughput_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569361,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569361,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Out: {{dimension_DBInstanceIdentifier}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_rds_network_transmit_throughput_average",
- "documentTimestamp": 1615998569361,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_rds_network_transmit_throughput_average",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_rds_network_transmit_throughput_average",
- "namespaces": [
- "prombeacon"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_rds_network_transmit_throughput_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569361,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "region",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569361,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_DBInstanceIdentifier",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Network I/O",
- "nullValueDisplayText": null,
- "type": "basicTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "region",
- "documentId": "region",
- "documentTimestamp": 1615998569361,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "region",
- "identity": false,
- "metricType": "tag",
- "name": "region",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "region",
- "isVariable": true,
- "operand": "region",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_DBInstanceIdentifier",
- "documentId": "dimension_DBInstanceIdentifier",
- "documentTimestamp": 1615998569361,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_DBInstanceIdentifier",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_DBInstanceIdentifier",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "dbInstance",
- "isVariable": true,
- "operand": "dimension_DBInstanceIdentifier",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/aws-rds/include/sysdig-agent-config.yaml b/resources/aws-rds/include/sysdig-agent-config.yaml
deleted file mode 100644
index 481a7a3a..00000000
--- a/resources/aws-rds/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-kind: ConfigMap
-metadata:
- labels:
- app: sysdig-agent
- name: sysdig-agent
- namespace: sysdig-agent
-apiVersion: v1
-data:
- prometheus.yaml: |-
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
- scrape_configs:
- - job_name: 'k8s-pods'
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- # Trying to ensure we only scrape local targets
- # __HOSTIPS__ is replaced by promscrape with a regex list of the IP addresses
- # of all the active network interfaces on the host
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- - action: keep
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
- regex: true
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
- target_label: __scheme__
- regex: (https?)
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
- target_label: __metrics_path__
- regex: (.+)
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: your-cluster-name
- jmx:
- enabled: false
- metrics_excess_log: true
- app_checks_enabled: false
- 10s_flush_enable: true
- use_promscrape: true
- prometheus:
- enabled: true
- ingest_calculated: false
- ingest_raw: true
- max_metrics: 10000
- max_metrics_per_process: 20000
- tags: role:cluster
- use_promscrape: true
- prom_service_discovery: true
- snaplen: 512
- tags: role:cluster
\ No newline at end of file
diff --git a/resources/aws-rds/setup-guide.yaml b/resources/aws-rds/setup-guide.yaml
index e26eea84..78981940 100644
--- a/resources/aws-rds/setup-guide.yaml
+++ b/resources/aws-rds/setup-guide.yaml
@@ -7,6 +7,4 @@ appVersion:
configurations:
- name: rds-deploy.yaml
file: include/aws-rds-deploy.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
-descriptionFile: INSTALL.md
+descriptionFile: INSTALL.md
\ No newline at end of file
diff --git a/resources/aws-s3/INSTALL.md b/resources/aws-s3/INSTALL.md
index 7f5476bf..fa8df6a4 100644
--- a/resources/aws-s3/INSTALL.md
+++ b/resources/aws-s3/INSTALL.md
@@ -72,14 +72,4 @@ kubectl apply -f s3-deploy.yaml
7. Ensure that the exporter is working checking that the pods are running:
```
kubectl -n yace get pods
-```
-
-# Sysdig Agent configuration
-Do the following:
-
-1. In the yace deployment, include the Prometheus annotations. Add the port of the exporter as the scraping port in the annotation.
-
-2. Download the sample [Sysdig Agent configuration file](include/sysdig-agent-config.yaml) and apply it by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
+```
\ No newline at end of file
diff --git a/resources/aws-s3/dashboards.yaml b/resources/aws-s3/dashboards.yaml
index 29933426..ab499817 100644
--- a/resources/aws-s3/dashboards.yaml
+++ b/resources/aws-s3/dashboards.yaml
@@ -14,14 +14,4 @@ configurations:
* Latency of the first byte and the total request
* Bitrate in upstream and downstream
* Usage and size of the buckets
- file: include/dashboard-Grafana-S3-Golden-Signals-1.0.0.json
-- name: S3 Golden Signals
- kind: Sysdig
- image: aws-s3/images/aws-s3-sysdig-golden-signals.png
- description: |
- This dashboard offers information on:
- * Error rate for 4XX and 5XX codes
- * Latency of the first byte and the total request
- * Bitrate in upstream and downstream
- * Usage and size of the buckets
- file: include/dashboard-Sysdig-S3-Golden-Signals-1.0.0.json
+ file: include/dashboard-Grafana-S3-Golden-Signals-1.0.0.json
\ No newline at end of file
diff --git a/resources/aws-s3/images/aws-s3-sysdig-golden-signals.png b/resources/aws-s3/images/aws-s3-sysdig-golden-signals.png
deleted file mode 100644
index 69c4434a..00000000
Binary files a/resources/aws-s3/images/aws-s3-sysdig-golden-signals.png and /dev/null differ
diff --git a/resources/aws-s3/include/dashboard-Sysdig-S3-Golden-Signals-1.0.0.json b/resources/aws-s3/include/dashboard-Sysdig-S3-Golden-Signals-1.0.0.json
deleted file mode 100644
index e7e560f7..00000000
--- a/resources/aws-s3/include/dashboard-Sysdig-S3-Golden-Signals-1.0.0.json
+++ /dev/null
@@ -1,1979 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 6,
- "x": 12,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 6,
- "x": 18,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 12,
- "x": 0,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 12,
- "x": 0,
- "y": 6
- },
- {
- "h": 3,
- "panelId": 7,
- "w": 12,
- "x": 12,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 6
- },
- {
- "h": 3,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 9
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 12,
- "x": 0,
- "y": 12
- },
- {
- "h": 3,
- "panelId": 11,
- "w": 12,
- "x": 0,
- "y": 16
- },
- {
- "h": 2,
- "panelId": 12,
- "w": 4,
- "x": 12,
- "y": 9
- },
- {
- "h": 2,
- "panelId": 13,
- "w": 4,
- "x": 12,
- "y": 11
- },
- {
- "h": 2,
- "panelId": 15,
- "w": 4,
- "x": 16,
- "y": 9
- },
- {
- "h": 2,
- "panelId": 16,
- "w": 4,
- "x": 16,
- "y": 11
- },
- {
- "h": 6,
- "panelId": 18,
- "w": 12,
- "x": 12,
- "y": 13
- },
- {
- "h": 2,
- "panelId": 19,
- "w": 4,
- "x": 20,
- "y": 11
- },
- {
- "h": 2,
- "panelId": 20,
- "w": 4,
- "x": 20,
- "y": 9
- }
- ],
- "name": "AWS S3 Golden Signals",
- "panels": [
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586780686448,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-1332518845881279698",
- "documentTimestamp": 1586780686448,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1585758599222,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_s3_4xx_errors_average",
- "identity": false,
- "lastSeen": 1586775914386,
- "metricType": "gauge",
- "name": "aws_s3_4xx_errors_average",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "dimension_BucketName",
- "dimension_FilterId",
- "host.hostName",
- "host.mac",
- "name",
- "proc.commandLine",
- "proc.name",
- "region"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_s3_4xx_errors_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586780686448,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--8385877760260155735",
- "documentTimestamp": 1586780686448,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_BucketName",
- "identity": false,
- "lastSeen": 1586775915897,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "dimension_BucketName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 1,
- "name": "Top 4XX Error Rate",
- "type": "basicToplist"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586780686448,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-1999327771329532305",
- "documentTimestamp": 1586780686448,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1585758599222,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_s3_5xx_errors_average",
- "identity": false,
- "lastSeen": 1586775914386,
- "metricType": "gauge",
- "name": "aws_s3_5xx_errors_average",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "dimension_BucketName",
- "dimension_FilterId",
- "host.hostName",
- "host.mac",
- "name",
- "proc.commandLine",
- "proc.name",
- "region"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_s3_5xx_errors_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586780686448,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--8385877760260155735",
- "documentTimestamp": 1586780686448,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_BucketName",
- "identity": false,
- "lastSeen": 1586775915897,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "dimension_BucketName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 2,
- "name": "Top 5XX Error Rate",
- "type": "basicToplist"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586780686447,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-6538382594603110313",
- "documentTimestamp": 1586780686447,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1586775914386,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_s3_first_byte_latency_p95",
- "identity": false,
- "lastSeen": 1586775914386,
- "metricType": "gauge",
- "name": "aws_s3_first_byte_latency_p95",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "dimension_BucketName",
- "dimension_FilterId",
- "host.hostName",
- "host.mac",
- "name",
- "proc.commandLine",
- "proc.name",
- "region"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_s3_first_byte_latency_p95",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586780686448,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--8385877760260155735",
- "documentTimestamp": 1586780686448,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_BucketName",
- "identity": false,
- "lastSeen": 1586775915897,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "dimension_BucketName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 3,
- "name": "Top First Byte Latency",
- "type": "basicToplist"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586780686448,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-3460542545864515488",
- "documentTimestamp": 1586780686448,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1586775914386,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_s3_total_request_latency_p95",
- "identity": false,
- "lastSeen": 1586775914386,
- "metricType": "gauge",
- "name": "aws_s3_total_request_latency_p95",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "dimension_BucketName",
- "dimension_FilterId",
- "host.hostName",
- "host.mac",
- "name",
- "proc.commandLine",
- "proc.name",
- "region"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_s3_total_request_latency_p95",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586780686448,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--8385877760260155735",
- "documentTimestamp": 1586780686448,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_BucketName",
- "identity": false,
- "lastSeen": 1586775915897,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "dimension_BucketName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 4,
- "name": "Top Total Request Latency",
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "4XX Error Rate",
- "timeSeriesDisplayNameTemplate": "{{dimension_BucketName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "topk(10,aws_s3_4xx_errors_average) * 100"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": 100.0,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "%"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "4XX Error rate (Top 10)",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "5XX Error Rate",
- "timeSeriesDisplayNameTemplate": "{{dimension_BucketName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "topk(10,aws_s3_5xx_errors_average) * 100"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": 100.0,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "%"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "5XX Error rate (Top 10)",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{dimension_BucketName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(5,aws_s3_first_byte_latency_p95)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Top 5 First Byte Latency",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{dimension_BucketName}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(5,aws_s3_total_request_latency_p95)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Top 5 Total Request Latency",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Upload",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "avg(aws_s3_bytes_uploaded_sum) / 300"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Download",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "avg(aws_s3_bytes_downloaded_sum) / 300"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": false,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "%"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Bitrate Up/Down (B/s)",
- "type": "advancedTimechart"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586780686448,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--8637475063100877538",
- "documentTimestamp": 1586780686448,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1585758599222,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_s3_bytes_uploaded_sum",
- "identity": false,
- "lastSeen": 1586775914386,
- "metricType": "gauge",
- "name": "aws_s3_bytes_uploaded_sum",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "dimension_BucketName",
- "dimension_FilterId",
- "host.hostName",
- "host.mac",
- "name",
- "proc.commandLine",
- "proc.name",
- "region"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "aws_s3_bytes_uploaded_sum",
- "sorting": null,
- "timeAggregation": "sum"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586780686448,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--8385877760260155735",
- "documentTimestamp": 1586780686448,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_BucketName",
- "identity": false,
- "lastSeen": 1586775915897,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "dimension_BucketName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 10,
- "name": "Top Upstream Traffic ",
- "type": "basicToplist"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586780686448,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--2259348250926769171",
- "documentTimestamp": 1586780686448,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1585758599222,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_s3_bytes_downloaded_sum",
- "identity": false,
- "lastSeen": 1586775914386,
- "metricType": "gauge",
- "name": "aws_s3_bytes_downloaded_sum",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "dimension_BucketName",
- "dimension_FilterId",
- "host.hostName",
- "host.mac",
- "name",
- "proc.commandLine",
- "proc.name",
- "region"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_s3_bytes_downloaded_sum",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586780686448,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--8385877760260155735",
- "documentTimestamp": 1586780686448,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_BucketName",
- "identity": false,
- "lastSeen": 1586775915897,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "dimension_BucketName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 11,
- "name": "Top Downstream Traffic",
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(aws_s3_bucket_size_bytes_average)"
- }
- ],
- "description": "",
- "id": 12,
- "name": "Number of Buckets",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(aws_s3_bucket_size_bytes_average)"
- }
- ],
- "description": "",
- "id": 13,
- "name": "Total Storage",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "max(aws_s3_bucket_size_bytes_average)"
- }
- ],
- "description": "",
- "id": 15,
- "name": "Max Bucket",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "min(aws_s3_bucket_size_bytes_average)"
- }
- ],
- "description": "",
- "id": 16,
- "name": "Min Bucket",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586780686448,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-9066500891702764433",
- "documentTimestamp": 1586780686448,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1585758598624,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_s3_bucket_size_bytes_average",
- "identity": false,
- "lastSeen": 1586775915897,
- "metricType": "gauge",
- "name": "aws_s3_bucket_size_bytes_average",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "dimension_BucketName",
- "dimension_StorageType",
- "host.hostName",
- "host.mac",
- "name",
- "proc.commandLine",
- "proc.name",
- "region"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_s3_bucket_size_bytes_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1586780686448,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--8385877760260155735",
- "documentTimestamp": 1586780686448,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_BucketName",
- "identity": false,
- "lastSeen": 1586775915897,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "dimension_BucketName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 18,
- "name": "Top Buckets",
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "quantile(0.95,aws_s3_bucket_size_bytes_average)"
- }
- ],
- "description": "",
- "id": 19,
- "name": "P95 Bucket",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "avg(aws_s3_bucket_size_bytes_average)"
- }
- ],
- "description": "",
- "id": 20,
- "name": "Average Bucket",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- }
- ],
- "schema": 3,
- "scopeExpressionList": []
- }
-}
\ No newline at end of file
diff --git a/resources/aws-s3/include/sysdig-agent-config.yaml b/resources/aws-s3/include/sysdig-agent-config.yaml
deleted file mode 100644
index 481a7a3a..00000000
--- a/resources/aws-s3/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-kind: ConfigMap
-metadata:
- labels:
- app: sysdig-agent
- name: sysdig-agent
- namespace: sysdig-agent
-apiVersion: v1
-data:
- prometheus.yaml: |-
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
- scrape_configs:
- - job_name: 'k8s-pods'
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- # Trying to ensure we only scrape local targets
- # __HOSTIPS__ is replaced by promscrape with a regex list of the IP addresses
- # of all the active network interfaces on the host
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- - action: keep
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
- regex: true
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
- target_label: __scheme__
- regex: (https?)
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
- target_label: __metrics_path__
- regex: (.+)
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: your-cluster-name
- jmx:
- enabled: false
- metrics_excess_log: true
- app_checks_enabled: false
- 10s_flush_enable: true
- use_promscrape: true
- prometheus:
- enabled: true
- ingest_calculated: false
- ingest_raw: true
- max_metrics: 10000
- max_metrics_per_process: 20000
- tags: role:cluster
- use_promscrape: true
- prom_service_discovery: true
- snaplen: 512
- tags: role:cluster
\ No newline at end of file
diff --git a/resources/aws-s3/setup-guide.yaml b/resources/aws-s3/setup-guide.yaml
index def5125c..15e129fe 100644
--- a/resources/aws-s3/setup-guide.yaml
+++ b/resources/aws-s3/setup-guide.yaml
@@ -7,6 +7,4 @@ appVersion:
descriptionFile: INSTALL.md
configurations:
- name: s3-deploy.yaml
- file: include/s3-deploy.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
+ file: include/s3-deploy.yaml
\ No newline at end of file
diff --git a/resources/aws-sqs/INSTALL.md b/resources/aws-sqs/INSTALL.md
index 66c1341b..f2be8d73 100644
--- a/resources/aws-sqs/INSTALL.md
+++ b/resources/aws-sqs/INSTALL.md
@@ -60,14 +60,4 @@ kubectl apply -f sqs-deploy.yaml
6. Ensure that the exporter is working checking that the pods are running:
```
kubectl -n yace get pods
-```
-
-# Sysdig Agent configuration
-Do the following:
-
-1. In the yace deployment, include the Prometheus annotations. Add the port of the exporter as the scraping port in the annotation.
-
-2. Download the sample [Sysdig Agent configuration file](include/sysdig-agent-config.yaml) and apply it by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
+```
\ No newline at end of file
diff --git a/resources/aws-sqs/dashboards.yaml b/resources/aws-sqs/dashboards.yaml
index c9a560cd..ccc58d7f 100644
--- a/resources/aws-sqs/dashboards.yaml
+++ b/resources/aws-sqs/dashboards.yaml
@@ -5,22 +5,6 @@ version: 1.0.0
appVersion:
- 1.0.0
configurations:
-- name: 'AWS SQS'
- kind: Sysdig
- image: 'aws-sqs/images/dashboard-sysdig-aws-sqs.png'
- description: |
- This dashboard offers information on:
- * Available
- * Age of oldest message
- * Empty Receives
- * Messages Deleted
- * Messages Delayed
- * Messages Not Visible
- * Messages Visible
- * Messages Received
- * Messages Sent
- * Queue Message Size
- file: include/dashboard-sysdig-aws-sqs.json
- name: 'AWS SQS'
kind: Grafana
image: 'aws-sqs/images/dashboard-grafana-aws-sqs.png'
diff --git a/resources/aws-sqs/images/dashboard-sysdig-aws-sqs.png b/resources/aws-sqs/images/dashboard-sysdig-aws-sqs.png
deleted file mode 100644
index f2f98006..00000000
Binary files a/resources/aws-sqs/images/dashboard-sysdig-aws-sqs.png and /dev/null differ
diff --git a/resources/aws-sqs/include/dashboard-sysdig-aws-sqs.json b/resources/aws-sqs/include/dashboard-sysdig-aws-sqs.json
deleted file mode 100644
index 9e7a41c1..00000000
--- a/resources/aws-sqs/include/dashboard-sysdig-aws-sqs.json
+++ /dev/null
@@ -1,2127 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 1,
- "w": 12,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 2,
- "w": 12,
- "x": 0,
- "y": 2
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 12,
- "x": 12,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 12,
- "x": 12,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 8,
- "x": 0,
- "y": 8
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 8,
- "x": 8,
- "y": 8
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 8,
- "x": 16,
- "y": 8
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 8,
- "x": 0,
- "y": 14
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 8,
- "x": 8,
- "y": 14
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 8,
- "x": 16,
- "y": 14
- }
- ],
- "name": "AWS SQS",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(aws_sqs_number_of_messages_received_sum{dimension_QueueName=~$queue} * on (container_id, host_mac) group_left(cluster) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Available",
- "numberThresholds": {
- "base": {
- "displayText": "DOWN",
- "severity": "medium"
- },
- "values": [
- {
- "displayText": "UP",
- "inputFormat": "1",
- "severity": "ok",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_sqs_number_of_empty_receives_sum",
- "documentTimestamp": 1600859336284,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_sqs_number_of_empty_receives_sum",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_sqs_number_of_empty_receives_sum",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_sqs_number_of_empty_receives_sum",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_QueueName",
- "documentId": "dimension_QueueName",
- "documentTimestamp": 1600859336284,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_QueueName",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_QueueName",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_QueueName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Empty Receives",
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_sqs_number_of_messages_deleted_sum",
- "documentTimestamp": 1600859336285,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_sqs_number_of_messages_deleted_sum",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_sqs_number_of_messages_deleted_sum",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_sqs_number_of_messages_deleted_sum",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_QueueName",
- "documentId": "dimension_QueueName",
- "documentTimestamp": 1600859336285,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_QueueName",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_QueueName",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_QueueName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages Deleted",
- "type": "basicTimechart"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_sqs_approximate_age_of_oldest_message_maximum",
- "documentTimestamp": 1600859336285,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_sqs_approximate_age_of_oldest_message_maximum",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_sqs_approximate_age_of_oldest_message_maximum",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "max",
- "id": "aws_sqs_approximate_age_of_oldest_message_maximum",
- "sorting": null,
- "timeAggregation": "max"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- }
- }
- ],
- "description": "",
- "id": 4,
- "name": "Age Of Oldest Message",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "useDefaults": null,
- "values": []
- },
- "type": "basicNumber"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_sqs_approximate_number_of_messages_delayed_average",
- "documentTimestamp": 1600859336285,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_sqs_approximate_number_of_messages_delayed_average",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_sqs_approximate_number_of_messages_delayed_average",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_sqs_approximate_number_of_messages_delayed_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_QueueName",
- "documentId": "dimension_QueueName",
- "documentTimestamp": 1600859336285,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_QueueName",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_QueueName",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_QueueName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages Delayed",
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_sqs_approximate_number_of_messages_not_visible_average",
- "documentTimestamp": 1600859336285,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_sqs_approximate_number_of_messages_not_visible_average",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_sqs_approximate_number_of_messages_not_visible_average",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_sqs_approximate_number_of_messages_not_visible_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_QueueName",
- "documentId": "dimension_QueueName",
- "documentTimestamp": 1600859336285,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_QueueName",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_QueueName",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_QueueName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages Not Visible",
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_sqs_approximate_number_of_messages_visible_average",
- "documentTimestamp": 1600859336285,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_sqs_approximate_number_of_messages_visible_average",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_sqs_approximate_number_of_messages_visible_average",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_sqs_approximate_number_of_messages_visible_average",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_QueueName",
- "documentId": "dimension_QueueName",
- "documentTimestamp": 1600859336285,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_QueueName",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_QueueName",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_QueueName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages Visible",
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_sqs_number_of_messages_received_sum",
- "documentTimestamp": 1600859336286,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_sqs_number_of_messages_received_sum",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_sqs_number_of_messages_received_sum",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "aws_sqs_number_of_messages_received_sum",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_QueueName",
- "documentId": "dimension_QueueName",
- "documentTimestamp": 1600859336286,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_QueueName",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_QueueName",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_QueueName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages Received",
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_sqs_number_of_messages_sent_sum",
- "documentTimestamp": 1600859336286,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_sqs_number_of_messages_sent_sum",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_sqs_number_of_messages_sent_sum",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_sqs_number_of_messages_sent_sum",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_QueueName",
- "documentId": "dimension_QueueName",
- "documentTimestamp": 1600859336286,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_QueueName",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_QueueName",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_QueueName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages Sent",
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "aws_sqs_sent_message_size_sum",
- "documentTimestamp": 1600859336286,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "aws_sqs_sent_message_size_sum",
- "identity": false,
- "metricType": "gauge",
- "name": "aws_sqs_sent_message_size_sum",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "aws_sqs_sent_message_size_sum",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_QueueName",
- "documentId": "dimension_QueueName",
- "documentTimestamp": 1600859336286,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_QueueName",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_QueueName",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "dimension_QueueName",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Queue Messages Size",
- "type": "basicTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1600859336268,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1600859336268,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1600857488919,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1600857488919,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "dimension_QueueName",
- "documentId": "dimension_QueueName",
- "documentTimestamp": 1600859336286,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "dimension_QueueName",
- "identity": false,
- "metricType": "tag",
- "name": "dimension_QueueName",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "queue",
- "isVariable": true,
- "operand": "dimension_QueueName",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/aws-sqs/include/sysdig-agent-config.yaml b/resources/aws-sqs/include/sysdig-agent-config.yaml
deleted file mode 100644
index 481a7a3a..00000000
--- a/resources/aws-sqs/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-kind: ConfigMap
-metadata:
- labels:
- app: sysdig-agent
- name: sysdig-agent
- namespace: sysdig-agent
-apiVersion: v1
-data:
- prometheus.yaml: |-
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
- scrape_configs:
- - job_name: 'k8s-pods'
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- # Trying to ensure we only scrape local targets
- # __HOSTIPS__ is replaced by promscrape with a regex list of the IP addresses
- # of all the active network interfaces on the host
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- - action: keep
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
- regex: true
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
- target_label: __scheme__
- regex: (https?)
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
- target_label: __metrics_path__
- regex: (.+)
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: your-cluster-name
- jmx:
- enabled: false
- metrics_excess_log: true
- app_checks_enabled: false
- 10s_flush_enable: true
- use_promscrape: true
- prometheus:
- enabled: true
- ingest_calculated: false
- ingest_raw: true
- max_metrics: 10000
- max_metrics_per_process: 20000
- tags: role:cluster
- use_promscrape: true
- prom_service_discovery: true
- snaplen: 512
- tags: role:cluster
\ No newline at end of file
diff --git a/resources/cassandra/images/cassandra-sysdig.png b/resources/cassandra/images/cassandra-sysdig.png
deleted file mode 100644
index 095192ac..00000000
Binary files a/resources/cassandra/images/cassandra-sysdig.png and /dev/null differ
diff --git a/resources/cassandra/include/dashboard-Sysdig--1.0.0.json b/resources/cassandra/include/dashboard-Sysdig--1.0.0.json
deleted file mode 100644
index 4b837894..00000000
--- a/resources/cassandra/include/dashboard-Sysdig--1.0.0.json
+++ /dev/null
@@ -1,4563 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 1,
- "panelId": 19,
- "w": 24,
- "x": 0,
- "y": 32
- },
- {
- "h": 1,
- "panelId": 21,
- "w": 24,
- "x": 0,
- "y": 45
- },
- {
- "h": 1,
- "panelId": 23,
- "w": 24,
- "x": 0,
- "y": 52
- },
- {
- "h": 1,
- "panelId": 30,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 1,
- "panelId": 53,
- "w": 24,
- "x": 0,
- "y": 19
- },
- {
- "h": 1,
- "panelId": 36,
- "w": 24,
- "x": 0,
- "y": 62
- },
- {
- "h": 8,
- "panelId": 34,
- "w": 11,
- "x": 0,
- "y": 71
- },
- {
- "h": 2,
- "panelId": 5,
- "w": 4,
- "x": 0,
- "y": 33
- },
- {
- "h": 2,
- "panelId": 7,
- "w": 4,
- "x": 0,
- "y": 20
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 6,
- "x": 4,
- "y": 13
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 7,
- "x": 17,
- "y": 13
- },
- {
- "h": 9,
- "panelId": 14,
- "w": 7,
- "x": 3,
- "y": 53
- },
- {
- "h": 2,
- "panelId": 15,
- "w": 4,
- "x": 0,
- "y": 35
- },
- {
- "h": 2,
- "panelId": 6,
- "w": 4,
- "x": 0,
- "y": 39
- },
- {
- "h": 2,
- "panelId": 16,
- "w": 4,
- "x": 0,
- "y": 41
- },
- {
- "h": 2,
- "panelId": 17,
- "w": 4,
- "x": 0,
- "y": 37
- },
- {
- "h": 2,
- "panelId": 18,
- "w": 4,
- "x": 0,
- "y": 43
- },
- {
- "h": 3,
- "panelId": 20,
- "w": 4,
- "x": 0,
- "y": 46
- },
- {
- "h": 3,
- "panelId": 22,
- "w": 4,
- "x": 0,
- "y": 49
- },
- {
- "h": 3,
- "panelId": 24,
- "w": 3,
- "x": 0,
- "y": 56
- },
- {
- "h": 2,
- "panelId": 25,
- "w": 4,
- "x": 0,
- "y": 5
- },
- {
- "h": 2,
- "panelId": 26,
- "w": 4,
- "x": 0,
- "y": 7
- },
- {
- "h": 2,
- "panelId": 27,
- "w": 4,
- "x": 0,
- "y": 11
- },
- {
- "h": 2,
- "panelId": 28,
- "w": 4,
- "x": 0,
- "y": 9
- },
- {
- "h": 2,
- "panelId": 31,
- "w": 4,
- "x": 0,
- "y": 1
- },
- {
- "h": 2,
- "panelId": 32,
- "w": 4,
- "x": 0,
- "y": 3
- },
- {
- "h": 2,
- "panelId": 33,
- "w": 4,
- "x": 0,
- "y": 22
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 7,
- "x": 10,
- "y": 13
- },
- {
- "h": 8,
- "panelId": 37,
- "w": 13,
- "x": 11,
- "y": 71
- },
- {
- "h": 6,
- "panelId": 38,
- "w": 6,
- "x": 4,
- "y": 79
- },
- {
- "h": 2,
- "panelId": 40,
- "w": 4,
- "x": 0,
- "y": 24
- },
- {
- "h": 2,
- "panelId": 41,
- "w": 4,
- "x": 0,
- "y": 26
- },
- {
- "h": 2,
- "panelId": 42,
- "w": 4,
- "x": 0,
- "y": 28
- },
- {
- "h": 6,
- "panelId": 43,
- "w": 6,
- "x": 4,
- "y": 1
- },
- {
- "h": 8,
- "panelId": 35,
- "w": 11,
- "x": 0,
- "y": 63
- },
- {
- "h": 8,
- "panelId": 47,
- "w": 13,
- "x": 11,
- "y": 63
- },
- {
- "h": 6,
- "panelId": 48,
- "w": 7,
- "x": 10,
- "y": 1
- },
- {
- "h": 6,
- "panelId": 49,
- "w": 7,
- "x": 17,
- "y": 1
- },
- {
- "h": 6,
- "panelId": 51,
- "w": 7,
- "x": 17,
- "y": 7
- },
- {
- "h": 6,
- "panelId": 52,
- "w": 7,
- "x": 10,
- "y": 7
- },
- {
- "h": 6,
- "panelId": 54,
- "w": 7,
- "x": 4,
- "y": 20
- },
- {
- "h": 6,
- "panelId": 55,
- "w": 6,
- "x": 11,
- "y": 20
- },
- {
- "h": 6,
- "panelId": 56,
- "w": 7,
- "x": 17,
- "y": 20
- },
- {
- "h": 6,
- "panelId": 57,
- "w": 7,
- "x": 4,
- "y": 26
- },
- {
- "h": 2,
- "panelId": 58,
- "w": 4,
- "x": 0,
- "y": 30
- },
- {
- "h": 6,
- "panelId": 60,
- "w": 7,
- "x": 17,
- "y": 26
- },
- {
- "h": 6,
- "panelId": 61,
- "w": 7,
- "x": 4,
- "y": 33
- },
- {
- "h": 6,
- "panelId": 62,
- "w": 6,
- "x": 11,
- "y": 33
- },
- {
- "h": 6,
- "panelId": 63,
- "w": 7,
- "x": 17,
- "y": 33
- },
- {
- "h": 6,
- "panelId": 64,
- "w": 7,
- "x": 4,
- "y": 39
- },
- {
- "h": 6,
- "panelId": 65,
- "w": 6,
- "x": 11,
- "y": 39
- },
- {
- "h": 6,
- "panelId": 66,
- "w": 7,
- "x": 17,
- "y": 39
- },
- {
- "h": 6,
- "panelId": 67,
- "w": 10,
- "x": 4,
- "y": 46
- },
- {
- "h": 6,
- "panelId": 68,
- "w": 10,
- "x": 14,
- "y": 46
- },
- {
- "h": 2,
- "panelId": 71,
- "w": 4,
- "x": 0,
- "y": 17
- },
- {
- "h": 6,
- "panelId": 59,
- "w": 6,
- "x": 11,
- "y": 26
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 3,
- "x": 0,
- "y": 53
- },
- {
- "h": 6,
- "panelId": 72,
- "w": 7,
- "x": 10,
- "y": 79
- },
- {
- "h": 6,
- "panelId": 73,
- "w": 6,
- "x": 4,
- "y": 7
- },
- {
- "h": 2,
- "panelId": 69,
- "w": 4,
- "x": 0,
- "y": 13
- },
- {
- "h": 2,
- "panelId": 70,
- "w": 4,
- "x": 0,
- "y": 15
- },
- {
- "h": 6,
- "panelId": 74,
- "w": 7,
- "x": 17,
- "y": 79
- },
- {
- "h": 2,
- "panelId": 75,
- "w": 4,
- "x": 0,
- "y": 83
- },
- {
- "h": 2,
- "panelId": 76,
- "w": 4,
- "x": 0,
- "y": 79
- },
- {
- "h": 2,
- "panelId": 77,
- "w": 4,
- "x": 0,
- "y": 81
- },
- {
- "h": 9,
- "panelId": 80,
- "w": 7,
- "x": 17,
- "y": 53
- },
- {
- "h": 9,
- "panelId": 81,
- "w": 7,
- "x": 10,
- "y": 53
- },
- {
- "h": 3,
- "panelId": 83,
- "w": 3,
- "x": 0,
- "y": 59
- }
- ],
- "name": "Cassandra 3",
- "panels": [
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_compaction_pending_tasks{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Pending compactions",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "high",
- "value": 50.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_client_request_write_unavailables{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})\n"
- }
- ],
- "description": "Number of unavailable exceptions encountered, a high number means that a node is not writing correctly to disk",
- "id": 7,
- "name": "Write unavailable exceptions",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Write latency: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": 0,
- "displayFormat": "ms",
- "inputFormat": "\u00b5s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name)(cassandra_client_request_write_latency{quantile=\"0.95\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "95th Percentile write latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Users connected: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name)(cassandra_client_connected_clients{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Users connected",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Heap Usage: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name)(cassandra_jvm_memory_usage_used_bytes{area=\"Heap\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Max Heap: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name)(cassandra_jvm_memory_usage_max_bytes{area=\"Heap\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "NonHeap Usage: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name)(cassandra_jvm_memory_usage_used_bytes{area=\"NonHeap\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "JVM usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_compaction_completed_tasks{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 15,
- "name": "Completed compactions",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_commitlog_pending_tasks{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Commit Log Pending tasks",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "high",
- "value": 50.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_commitlog_completed_tasks{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 16,
- "name": "Commit Log Completed tasks",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_compaction_compacted_bytes_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 17,
- "name": "Total Size compacted",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_commitlog_total_size{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 18,
- "name": "Commit Log Total size",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "description": "",
- "id": 19,
- "markdownSource": "Compactions and Commit Log",
- "name": "Compactions and Commit Log",
- "nullValueDisplayText": null,
- "panelTitleVisible": true,
- "textAutosized": true,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_storage_internal_exceptions_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "Number of internal exceptions caught. Under normal exceptions this should be zero.",
- "id": 20,
- "name": "Storage Exceptions",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "high",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "description": "",
- "id": 21,
- "markdownSource": "Storage",
- "name": "Storage",
- "nullValueDisplayText": null,
- "panelTitleVisible": true,
- "textAutosized": true,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_storage_load_bytes_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 22,
- "name": "Storage Size",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "description": "",
- "id": 23,
- "markdownSource": "JVM",
- "name": "JVM Metrics",
- "nullValueDisplayText": null,
- "panelTitleVisible": true,
- "textAutosized": true,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_jvm_memory_usage_used_bytes{area=\"NonHeap\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})\n"
- }
- ],
- "description": "",
- "id": 24,
- "name": "JVM Non-Heap size",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_bufferpool_size_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 25,
- "name": "Buffer Pool size",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_bufferpool_misses_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "The rate of misses in the pool. The higher this is the more allocations incurred.",
- "id": 26,
- "name": "Buffer Pool misses",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_cql_regular_statements_executed_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "Number of queries executed using non prepared statements. Prepared statements are more secure than regular statements",
- "id": 27,
- "name": "CQL Regular Statements executed",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_cql_prepared_statements_executed_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 28,
- "name": "CQL Prepare Statements executed",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "description": "",
- "id": 30,
- "markdownSource": "General",
- "name": "General",
- "nullValueDisplayText": null,
- "panelTitleVisible": true,
- "textAutosized": true,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_dropped_messages_mutation{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "Writes failing due to timeouts",
- "id": 31,
- "name": "Dropped Messages mutation",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_dropped_messages_read{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 32,
- "name": "Dropped Messages read",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_client_request_read_unavailables{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})\n"
- }
- ],
- "description": "Number of unavailable exceptions encountered, a high number means that a node is not reading correctly from disk",
- "id": 33,
- "name": "Read unavailable exceptions",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Read Latency: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "ms",
- "inputFormat": "\u00b5s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name)(cassandra_client_request_read_latency{quantile=\"0.95\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "95th Percentile read latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Table size increase: keyspace > table",
- "timeSeriesDisplayNameTemplate": "{{keyspace}} > {{table}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullZero",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "topk(10,sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name,keyspace,table)(delta(cassandra_table_total_disk_space_used{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod,keyspace=~$keyspace,table=~$table}[$__interval])))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 37,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Top 10 table highest size increase",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": null,
- "timeSeriesDisplayNameTemplate": "{{keyspace}} > {{table}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullZero",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "topk(10,cassandra_table_read_requests_per_second{$__scope})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 38,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Top 10 iops read table",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_client_request_read_timeouts{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})\n"
- }
- ],
- "description": "",
- "id": 40,
- "name": "Client Request read timeouts",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_client_request_write_timeouts{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})\n"
- }
- ],
- "description": "",
- "id": 41,
- "name": "Client Request write timeouts",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_threadpool_blocked_tasks_total{pool=\"CompactionExecutor\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})\n"
- }
- ],
- "description": "Pending compactions that are blocked. This metric could deviate from \"pending compactions\" which includes an estimate of tasks that these pending tasks might create after completion.",
- "id": 42,
- "name": "Threadpool compation blocked tasks",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(cassandra_dropped_messages_mutation{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Writes failing due to timeouts",
- "id": 43,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Dropped Messages mutation",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Size",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,keyspace)(cassandra_table_total_disk_space_used{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,keyspace=~$keyspace})"
- }
- ],
- "description": "",
- "id": 35,
- "name": "Keyspace size",
- "nullValueDisplayText": null,
- "type": "advancedTable"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Keyspace Size: cluster > namespace > workload > keyspace",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}} > {{kube_namespace_name}} > {{kube_workload_name}} > {{keyspace}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,keyspace)(cassandra_table_total_disk_space_used{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,keyspace=~$keyspace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 47,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Keyspace size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(cassandra_dropped_messages_read{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Reads failing due to timeouts",
- "id": 48,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Dropped Messages read",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Buffer Pool size: Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name)(cassandra_bufferpool_size_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 49,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Buffer Pool size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "CQL Regular Statements executed: Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name)(rate(cassandra_cql_regular_statements_executed_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Number of queries executed using non prepared statements. Prepared statements are more secure than regular statements",
- "id": 51,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "CQL Regular Statements executed",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "CQL Prepared Statements executed: Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name)(rate(cassandra_cql_prepared_statements_executed_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Number of queries executed using prepared statements",
- "id": 52,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "CQL Prepared Statements executed",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 53,
- "markdownSource": "Timeouts and exceptions",
- "name": "Timeouts and exceptions",
- "nullValueDisplayText": null,
- "panelTitleVisible": true,
- "textAutosized": true,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Write unavailable exceptions: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(cassandra_client_request_write_unavailables{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 54,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Write unavailable exceptions",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Read unavailable exceptions: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(cassandra_client_request_read_unavailables{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 55,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Read unavailable exceptions",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Client Request read timeouts: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(cassandra_client_request_read_timeouts{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 56,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Client Request read timeouts",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Client Request write timeouts: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(cassandra_client_request_write_timeouts{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 57,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Client Request write timeouts",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_threadpool_blocked_tasks_total{pool=\"MemtableFlushWriter\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})\n"
- }
- ],
- "description": "The writer flush defines the number of parallel writes on disk .This value should be near 0. Check your memtable_flush_writers value to match with your number of cores if you are using SSD disks",
- "id": 58,
- "name": "Threadpool flush writer blocked tasks",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Memory flush writer blocked tasks: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(cassandra_threadpool_blocked_tasks_total{pool=\"MemtableFlushWriter\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 60,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Threadpool memory flush writer blocked tasks",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pending compactions: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(cassandra_compaction_pending_tasks{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 61,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pending compactions",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Completed compactions: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(cassandra_compaction_completed_tasks{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 62,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Completed compactions",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Total Size compactead: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(cassandra_compaction_compacted_bytes_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 63,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Total Size compacted",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Commit Log pending tasks: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(cassandra_commitlog_pending_tasks{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 64,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Commit Log pending tasks",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Commit Log completed tasks: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(cassandra_commitlog_completed_tasks{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 65,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Commit Log completed tasks",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Commit Log total size: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(cassandra_commitlog_total_size{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 66,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Commit Log size increase",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Storage Exceptions: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(cassandra_storage_internal_exceptions_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 67,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Storage Exceptions",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Storage Size: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(cassandra_storage_load_bytes_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 68,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Storage Size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 36,
- "markdownSource": "Keyspace & Table",
- "name": "Keyspaces & Tables",
- "nullValueDisplayText": null,
- "panelTitleVisible": true,
- "textAutosized": true,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Read Latency: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_client_connected_clients{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "Users that are currently connected to Cassandra nodes",
- "id": 71,
- "name": "Users connected",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Compaction Executor blocked tasks: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(cassandra_threadpool_blocked_tasks_total{pool=\"CompactionExecutor\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 59,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Threadpool compaction blocked tasks",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "max(sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(cassandra_jvm_memory_usage_used_bytes{area=\"Heap\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}) / sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(cassandra_jvm_memory_usage_max_bytes{area=\"Heap\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}) * 100)\n"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Max JVM Heap usage",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "high",
- "value": 95.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "low",
- "value": 80.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": null,
- "timeSeriesDisplayNameTemplate": "{{keyspace}} > {{table}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullZero",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "topk(10,cassandra_table_write_requests_per_second{$__scope})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 72,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Top 10 iops write table",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "displayedValue": "latest",
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "description": "",
- "documentId": "prometheus.cassandra_table_total_disk_space_used",
- "documentTimestamp": 1661434936174,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "cassandra_table_total_disk_space_used",
- "identity": false,
- "lastSeen": 1661430800000,
- "legacyId": "cassandra_table_total_disk_space_used",
- "metricType": "gauge",
- "name": "cassandra_table_total_disk_space_used",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "publicId": "cassandra_table_total_disk_space_used",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "max",
- "id": "cassandra_table_total_disk_space_used",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "keyspace",
- "documentId": "keyspace",
- "documentTimestamp": 1661434936174,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "keyspace",
- "identity": false,
- "metricType": "tag",
- "name": "keyspace",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "keyspace",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "keyspace",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "table",
- "documentId": "table",
- "documentTimestamp": 1661434936174,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "table",
- "identity": false,
- "metricType": "tag",
- "name": "table",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "table",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "table",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 34,
- "name": "Table size",
- "nullValueDisplayText": null,
- "type": "basicTable"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Buffer Pool misses: Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name)(cassandra_bufferpool_misses_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 73,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Buffer Pool misses",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Read Latency: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "ms",
- "inputFormat": "\u00b5s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_client_request_read_latency{quantile=\"0.95\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 69,
- "name": "95th Percentile client read latency",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Read Latency: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "ms",
- "inputFormat": "\u00b5s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_client_request_write_latency{quantile=\"0.95\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 70,
- "name": "95th Percentile client write latency",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": null,
- "timeSeriesDisplayNameTemplate": "{{keyspace}} > {{table}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullZero",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_table_read_requests_per_second{$__scope})"
- }
- ],
- "description": "",
- "id": 76,
- "name": "total iops read table",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": null,
- "timeSeriesDisplayNameTemplate": "{{keyspace}} > {{table}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullZero",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum(cassandra_table_write_requests_per_second{$__scope})"
- }
- ],
- "description": "",
- "id": 77,
- "name": "total iops write table\u00a0",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "ParNew GC Count",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(cassandra_jvm_gc_collection_count{name=\"ParNew\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "CMS GC Count",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(cassandra_jvm_gc_collection_count{name=\"ConcurrentMarkSweep\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "G1 Old GC Count",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(cassandra_jvm_gc_collection_count{name=\"G1 Old Generation\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "G1 Old GC Count",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(cassandra_jvm_gc_collection_count{name=\"G1 Young Generation\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 80,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "GC Count",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(cassandra_jvm_gc_duration_seconds{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 81,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "GC duration",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "max(sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(cassandra_jvm_gc_duration_seconds{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}))"
- }
- ],
- "description": "",
- "id": 83,
- "name": "Max GC duration",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Tombstone scanned: Table < Keyspace < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{table}} < {{keyspace}} < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": 0,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name,keyspace,table)(cassandra_table_tombstoned_scanned{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod,keyspace=~$keyspace,table=~$table})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 74,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "99th Percentile Tombstones scanned",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Tombstone scanned: Table < Keyspace < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{table}} < {{keyspace}} < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": 0,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum (cassandra_table_tombstoned_scanned{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 75,
- "name": "99th Percentile Tombstones scanned",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1661434936175,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1661434936175,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.workload.name",
- "documentId": "kubernetes.workload.name",
- "documentTimestamp": 1661434936175,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.workload.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_workload_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "workload",
- "isVariable": true,
- "operand": "kubernetes.workload.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.pod.name",
- "documentId": "kubernetes.pod.name",
- "documentTimestamp": 1661434936175,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.pod.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_pod_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "isVariable": true,
- "operand": "kubernetes.pod.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "keyspace",
- "documentId": "keyspace",
- "documentTimestamp": 1661434936175,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "keyspace",
- "identity": false,
- "metricType": "tag",
- "name": "keyspace",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "keyspace",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "keyspace",
- "isVariable": true,
- "operand": "keyspace",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "table",
- "documentId": "table",
- "documentTimestamp": 1661434936175,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "table",
- "identity": false,
- "metricType": "tag",
- "name": "table",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "table",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "table",
- "isVariable": true,
- "operand": "table",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/ceph/README.md b/resources/ceph/README.md
index 8f59233f..a11ee058 100644
--- a/resources/ceph/README.md
+++ b/resources/ceph/README.md
@@ -5,7 +5,7 @@ Ceph (pronounced /ˈsɛf/) is an open-source software storage platform, implemen
Ceph replicates data and makes it fault-tolerant, by using commodity hardware and requiring no specific hardware support. As a result of its design, the system is both self-healing and self-managing, aiming to minimize administration time and other costs.
# Prometheus and exporters
-Ceph already has a Prometheus endpoint with all the metrics exposed on the port 9283. In Kubernetes the pod is already annotated, so with the Sysdig agent you can scrape the endpoint right away.
+Ceph already has a Prometheus endpoint with all the metrics exposed on the port 9283. In Kubernetes the pod is already annotated, so Prometheus can scrape the endpoint right away.
# Metrics
- Overview
diff --git a/resources/ceph/dashboards.yaml b/resources/ceph/dashboards.yaml
index bf87acd0..d7fdf905 100644
--- a/resources/ceph/dashboards.yaml
+++ b/resources/ceph/dashboards.yaml
@@ -5,13 +5,6 @@ version: 1.0.0
appVersion:
- '15.1.1'
configurations:
-- name: Overview
- kind: Sysdig
- image: ceph/images/ceph_sysdig.png
- description: |
- This dashboard offers information on:
- * Overview
- file: include/ceph_sysdig.json
- name: Overview
kind: Grafana
image: ceph/images/ceph_grafana.png
diff --git a/resources/ceph/images/ceph_sysdig.png b/resources/ceph/images/ceph_sysdig.png
deleted file mode 100644
index 87cb8c5b..00000000
Binary files a/resources/ceph/images/ceph_sysdig.png and /dev/null differ
diff --git a/resources/ceph/include/ceph_sysdig.json b/resources/ceph/include/ceph_sysdig.json
deleted file mode 100644
index b3d093bd..00000000
--- a/resources/ceph/include/ceph_sysdig.json
+++ /dev/null
@@ -1,1076 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 4,
- "x": 4,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 4,
- "x": 20,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 4,
- "x": 12,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 4,
- "x": 12,
- "y": 3
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 4,
- "x": 8,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 7,
- "w": 2,
- "x": 0,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 8,
- "w": 2,
- "x": 2,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 9,
- "w": 2,
- "x": 4,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 10,
- "w": 2,
- "x": 6,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 11,
- "w": 4,
- "x": 20,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 12,
- "w": 4,
- "x": 16,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 13,
- "w": 4,
- "x": 16,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 14,
- "w": 8,
- "x": 0,
- "y": 6
- },
- {
- "h": 4,
- "panelId": 15,
- "w": 8,
- "x": 16,
- "y": 6
- },
- {
- "h": 4,
- "panelId": 16,
- "w": 8,
- "x": 8,
- "y": 6
- },
- {
- "h": 5,
- "panelId": 17,
- "w": 12,
- "x": 0,
- "y": 10
- },
- {
- "h": 5,
- "panelId": 18,
- "w": 12,
- "x": 12,
- "y": 10
- }
- ],
- "name": "Ceph",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "ceph_health_status * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Status",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "ERROR",
- "inputFormat": "1",
- "severity": "high",
- "value": 2.0
- },
- {
- "displayText": "Warning",
- "inputFormat": "1",
- "severity": "low",
- "value": 1.0
- },
- {
- "displayText": "Healthy",
- "inputFormat": "1",
- "severity": "ok",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(ceph_mon_quorum_status * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) "
- }
- ],
- "description": "",
- "id": 2,
- "name": "Monitors in quorum",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(ceph_pool_max_avail * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Pools",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "ceph_cluster_total_bytes * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Cluster Capacity",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "ceph_cluster_total_used_bytes * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Used Capacity",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "((ceph_cluster_total_bytes-ceph_cluster_total_used_bytes)/ceph_cluster_total_bytes)*100 * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Available Capacity",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(ceph_osd_in * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) "
- }
- ],
- "description": "",
- "id": 7,
- "name": "OSDs IN",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(ceph_osd_up * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) - count(ceph_osd_in * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 8,
- "name": "OSDs out",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(ceph_osd_up * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 9,
- "name": "OSDs UP",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count((ceph_osd_up * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) == 0) or vector(0) "
- }
- ],
- "description": "",
- "id": 10,
- "name": "OSDs DOWN",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg(ceph_osd_numpg * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 11,
- "name": "Average PGs per OSD",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "avg(ceph_osd_apply_latency_ms * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 12,
- "name": "Average OSD Apply Latency",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "avg(ceph_osd_commit_latency_ms * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 13,
- "name": "Average OSD Commit Latency",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Available",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "(ceph_cluster_total_bytes * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})-(ceph_cluster_total_used_bytes* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Used",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "ceph_cluster_total_used_bytes * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Total Capacity",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "ceph_cluster_total_bytes * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Capacity",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Write",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum(irate(ceph_osd_op_w_in_bytes[$__interval]) * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Read",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum(irate(ceph_osd_op_r_in_bytes[$__interval]) * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Throughput",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Write",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(ceph_osd_op_w[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Read",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(ceph_osd_op_r[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "IOPS",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "apply",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "avg(ceph_osd_apply_latency_ms * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Commit",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "avg(ceph_osd_commit_latency_ms * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "OSD Apply + Commit Latency",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Write",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "avg(rate(ceph_osd_op_w_latency_sum[$__interval]) / rate(ceph_osd_op_w_latency_count[$__interval]) >= 0)"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Read",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "avg(rate(ceph_osd_op_r_latency_sum[$__interval]) / rate(ceph_osd_op_r_latency_count[$__interval]) >= 0)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "OSD Write + Read Latency",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1600793097560,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1600793097560,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1600791608720,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1600791608720,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/ceph/include/sysdig-agent.yaml b/resources/ceph/include/sysdig-agent.yaml
deleted file mode 100644
index 3a0f41a6..00000000
--- a/resources/ceph/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: YourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/ceph/setup-guide.yaml b/resources/ceph/setup-guide.yaml
index 68fa3c88..feebc5d9 100644
--- a/resources/ceph/setup-guide.yaml
+++ b/resources/ceph/setup-guide.yaml
@@ -4,7 +4,5 @@ app: Ceph
version: 1.0.0
appVersion:
- '15.1.1'
-configurations:
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
+configurations: []
descriptionFile: INSTALL.md
diff --git a/resources/consul/README.md b/resources/consul/README.md
index 7709ac2c..fc7a7ac7 100644
--- a/resources/consul/README.md
+++ b/resources/consul/README.md
@@ -2,7 +2,7 @@
Consul is a service mesh solution providing a full featured control plane with service discovery, configuration, and segmentation functionality. Each of these features can be used individually as needed, or they can be used together to build a full service mesh. Consul requires a data plane and supports both a proxy and native integration model. Consul ships with a simple built-in proxy so that everything works out of the box, but also supports 3rd party proxy integrations such as Envoy.
# Prometheus and exporters
-Consul already has a Prometheus endpoint with all the metrics exposed on the port 8500 and the envoys are the 20200. In Kubernetes the pod is already annotated, so with the Sysdig agent you can scrape the endpoint right away.
+Consul already has a Prometheus endpoint with all the metrics exposed on the port 8500 and the envoys are the 20200. In Kubernetes the pod is already annotated, so Prometheus can scrape the endpoint right away.
# Metrics
- Consul server statistics
diff --git a/resources/consul/dashboards.yaml b/resources/consul/dashboards.yaml
index 6bfbc12d..9e404536 100644
--- a/resources/consul/dashboards.yaml
+++ b/resources/consul/dashboards.yaml
@@ -4,23 +4,4 @@ app: Consul
version: 1.0.0
appVersion:
- '1.11.1'
-configurations:
-- name: Overview
- kind: Sysdig
- image: consul/images/consul_sysdig.png
- description: |
- This dashboard offers information on:
- * Overview
- * Health
- * Transaction
- * Leadership
- * Network
- * Cache
- file: include/consul_sysdig.json
-- name: Envoy
- kind: Sysdig
- image: consul/images/consul_envoy_sysdig.png
- description: |
- This dashboard offers information on:
- * Envoy
- file: include/consul_envoy_sysdig.json
\ No newline at end of file
+configurations: []
\ No newline at end of file
diff --git a/resources/consul/images/consul_envoy_sysdig.png b/resources/consul/images/consul_envoy_sysdig.png
deleted file mode 100644
index 49825bcf..00000000
Binary files a/resources/consul/images/consul_envoy_sysdig.png and /dev/null differ
diff --git a/resources/consul/images/consul_sysdig.png b/resources/consul/images/consul_sysdig.png
deleted file mode 100644
index 30ff2481..00000000
Binary files a/resources/consul/images/consul_sysdig.png and /dev/null differ
diff --git a/resources/consul/include/consul_envoy_sysdig.json b/resources/consul/include/consul_envoy_sysdig.json
deleted file mode 100644
index c103cd0b..00000000
--- a/resources/consul/include/consul_envoy_sysdig.json
+++ /dev/null
@@ -1,1128 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 6,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 7,
- "w": 4,
- "x": 4,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 8,
- "w": 4,
- "x": 8,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 10,
- "w": 4,
- "x": 12,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 11,
- "w": 4,
- "x": 16,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 9,
- "w": 4,
- "x": 20,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 1,
- "w": 12,
- "x": 0,
- "y": 3
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 9
- },
- {
- "h": 6,
- "panelId": 2,
- "w": 12,
- "x": 0,
- "y": 9
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 12,
- "x": 12,
- "y": 15
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 12,
- "x": 0,
- "y": 15
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 12,
- "x": 12,
- "y": 3
- }
- ],
- "name": "Envoy Service",
- "panels": [
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_pod_name)(rate(envoy_cluster_upstream_rq_xx{envoy_response_code_class=~\"4\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])) / sum by (kube_cluster_name,kube_namespace_name,kube_pod_name)(rate(envoy_cluster_upstream_rq_xx{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_pod_name)(rate(envoy_cluster_upstream_rq_xx{envoy_response_code_class=~\"5\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])) / sum by (kube_cluster_name,kube_namespace_name,kube_pod_name)(rate(envoy_cluster_upstream_rq_xx{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "4xx/5xx response code",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95,sum(rate(envoy_cluster_upstream_cx_connect_ms_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])) by (le,kube_cluster_name,kube_pod_name,kube_namespace_name))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99,sum(rate(envoy_cluster_upstream_cx_connect_ms_bucket{kube_cluster_name=~$cluster}[$__interval])) by (le,kube_cluster_name,kube_pod_name,kube_namespace_name))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.5,sum(rate(envoy_cluster_upstream_cx_connect_ms_bucket{kube_cluster_name=~$cluster}[$__interval])) by (le,kube_cluster_name,kube_pod_name,kube_namespace_name))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Upstream Connection Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95,sum(rate(envoy_cluster_upstream_rq_time_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])) by (le,kube_cluster_name,kube_pod_name,kube_namespace_name, kube_workload_name))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99,sum(rate(envoy_cluster_upstream_rq_time_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])) by (le,kube_cluster_name,kube_pod_name,kube_namespace_name, kube_workload_name))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.5,sum(rate(envoy_cluster_upstream_rq_time_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])) by (le,kube_cluster_name,kube_pod_name,kube_namespace_name, kube_workload_name))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Upstream Request latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "envoy_server_days_until_first_cert_expiring{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Days Until Cert expire",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Connection: Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_pod_name)(envoy_cluster_upstream_cx_active{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Request: Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_pod_name)(envoy_cluster_upstream_rq_active{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pending: Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_pod_name)(envoy_cluster_upstream_rq_pending_active{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Total connections",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(envoy_cluster_upstream_cx_active{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Active Connections",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(envoy_cluster_upstream_rq_active{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 7,
- "name": "Active Requests",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(envoy_cluster_upstream_rq_pending_active{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Pending Connections",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(delta(envoy_cluster_membership_change{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "description": "",
- "id": 9,
- "name": "Membership Change",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(envoy_cluster_membership_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "Membership Total",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(envoy_cluster_membership_healthy{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 11,
- "name": "Healthy Members",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "connectSolid",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_pod_name)(rate(envoy_cluster_upstream_rq_xx{response_code_class!=\"5\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])) / sum by (kube_cluster_name,kube_namespace_name,kube_pod_name)(rate(envoy_cluster_upstream_rq_xx{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Success Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1658301451909,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1658301451909,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.workload.name",
- "documentId": "kubernetes.workload.name",
- "documentTimestamp": 1658301451909,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.workload.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_workload_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "workload",
- "isVariable": true,
- "operand": "kubernetes.workload.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.pod.name",
- "documentId": "kubernetes.pod.name",
- "documentTimestamp": 1658301451909,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.pod.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_pod_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "isVariable": true,
- "operand": "kubernetes.pod.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/consul/include/consul_sysdig.json b/resources/consul/include/consul_sysdig.json
deleted file mode 100644
index 8fe0dc05..00000000
--- a/resources/consul/include/consul_sysdig.json
+++ /dev/null
@@ -1,1874 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 1,
- "w": 12,
- "x": 0,
- "y": 23
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 12,
- "x": 0,
- "y": 15
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 24,
- "x": 0,
- "y": 21
- },
- {
- "h": 2,
- "panelId": 5,
- "w": 24,
- "x": 0,
- "y": 13
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 12,
- "x": 12,
- "y": 15
- },
- {
- "h": 3,
- "panelId": 7,
- "w": 3,
- "x": 0,
- "y": 1
- },
- {
- "h": 2,
- "panelId": 8,
- "w": 24,
- "x": 0,
- "y": 55
- },
- {
- "h": 1,
- "panelId": 11,
- "w": 24,
- "x": 0,
- "y": 35
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 12,
- "x": 12,
- "y": 23
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 12,
- "x": 0,
- "y": 29
- },
- {
- "h": 6,
- "panelId": 15,
- "w": 12,
- "x": 12,
- "y": 29
- },
- {
- "h": 1,
- "panelId": 16,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 17,
- "w": 11,
- "x": 13,
- "y": 1
- },
- {
- "h": 6,
- "panelId": 18,
- "w": 10,
- "x": 3,
- "y": 1
- },
- {
- "h": 6,
- "panelId": 20,
- "w": 8,
- "x": 0,
- "y": 36
- },
- {
- "h": 6,
- "panelId": 22,
- "w": 8,
- "x": 8,
- "y": 36
- },
- {
- "h": 6,
- "panelId": 23,
- "w": 8,
- "x": 16,
- "y": 36
- },
- {
- "h": 6,
- "panelId": 24,
- "w": 8,
- "x": 0,
- "y": 42
- },
- {
- "h": 6,
- "panelId": 25,
- "w": 8,
- "x": 8,
- "y": 42
- },
- {
- "h": 6,
- "panelId": 26,
- "w": 8,
- "x": 16,
- "y": 42
- },
- {
- "h": 3,
- "panelId": 27,
- "w": 3,
- "x": 0,
- "y": 4
- },
- {
- "h": 1,
- "panelId": 28,
- "w": 24,
- "x": 0,
- "y": 48
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 57
- },
- {
- "h": 6,
- "panelId": 19,
- "w": 12,
- "x": 12,
- "y": 57
- },
- {
- "h": 6,
- "panelId": 30,
- "w": 8,
- "x": 0,
- "y": 49
- },
- {
- "h": 6,
- "panelId": 31,
- "w": 24,
- "x": 0,
- "y": 7
- },
- {
- "h": 6,
- "panelId": 32,
- "w": 8,
- "x": 8,
- "y": 49
- },
- {
- "h": 6,
- "panelId": 33,
- "w": 8,
- "x": 16,
- "y": 49
- }
- ],
- "name": "Consul\n",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Leader < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "connectSolid",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rate(consul_raft_commitTime_sum{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_label_component=\"server\"}[$__interval]) > 0"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Raft commit time",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Leader < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "consul_raft_leader_lastContact{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, quantile=\"0.9\"}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Measures the time since the leader was last able to contact the follower nodes when checking its leader lease.",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Last Contacted Leader",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 4,
- "markdownSource": "# Transaction timing\nThese metrics indicate how long it takes to complete write operations in various parts of the Consul cluster. Generally these should all be fairly consistent and no more than a few milliseconds. Sudden changes in any of the timing values could be due to unexpected load on the Consul servers, or due to problems on the servers themselves.",
- "name": "Transaction timing",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 5,
- "markdownSource": "# Leadership\nUnder normal situations, a Consul cluster should have a stable leader. If there are frequent elections or leadership changes (flapping leadership), it would likely indicate network issues between the Consul servers, or that the Consul servers themselves are unable to keep up with the load.\n",
- "name": "Leadership",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[ELECTIONS] Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "[ELECTIONS] {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(\n rate(consul_raft_state_candidate{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod, kube_pod_label_component=\"server\"}[$__interval] )\n)by (kube_cluster_name, kube_namespace_name)"
- },
- {
- "displayInfo": {
- "displayName": "[LEADERSHIP CHANGES] Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "[LEADERSHIP CHANGES] {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(\n rate(consul_raft_state_leader{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod, kube_pod_label_component=\"server\"}[$__interval] )\n)by (kube_cluster_name, kube_namespace_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Election Events",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "min(consul_autopilot_healthy{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace})"
- }
- ],
- "description": "",
- "id": 7,
- "name": "Cluster Health",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "Unhealthy",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "Healthy",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "description": "",
- "id": 8,
- "markdownSource": "# Garbage collection\nGC pauses are \"stop-the-world\" events, meaning that all runtime threads are blocked until GC completes. Normally these pauses last only a few nanoseconds, but if memory usage is high, the Go runtime may GC so frequently that it starts to slow down Consul.",
- "name": "Garbage collection",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 11,
- "markdownSource": "# Network activity - RPC Count\nThese measurements indicate the current load created from a Consul agent, including when the load becomes high enough to be rate limited. A high RPC count, especially from the 'RPC Exceeded' panel meaning that the requests are being rate-limited, could imply a misconfigured Consul agent.",
- "name": "Network activity - RPC Count",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Leader < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "connectSolid",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rate(consul_kvs_apply_sum{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_label_component=\"server\"}[$__interval]) > 0"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "KV Store update time",
- "nullValueDisplayText": "No KV Store updates",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Leader < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "connectSolid",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rate(consul_txn_apply_sum{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_label_component=\"server\"}[$__interval]) > 0"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Transaction operation time\n",
- "nullValueDisplayText": "No transaction operations applied",
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 16,
- "markdownSource": "# Health\n",
- "name": "Health",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Leader < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "consul_autopilot_failure_tolerance{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "This panel provides insight into how many Consul servers can be lost before the datacenter enters an unhealthy state.",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Autopilot Fault Tolerance\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Leader < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "consul_autopilot_healthy{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Tracks the overall health of the local server cluster. If all servers are considered healthy by Autopilot, this will be set to 1. If any are unhealthy, this will be 0.",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Autopilot Health",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "rate(consul_client_rpc{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Increments whenever a Consul agent in client mode makes an RPC request to a Consul server.",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Client RPC IOPS",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "rate(consul_client_rpc_failed{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}[$__interval]) \n/ rate(consul_client_rpc{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Increments whenever a Consul agent in client mode makes an RPC request to a Consul server and fails. A high RPC count could imply a misconfigured Consul agent.",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Client RPC Error Rate\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "rate(consul_client_rpc_exceeded{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}[$__interval]) \n/ rate(consul_client_rpc{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Increments whenever a Consul agent in client mode makes an RPC request to a Consul server gets rate limited by that agent's limits configuration. A high RPC count could imply a misconfigured Consul agent.",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Client RPC Rate Limit Reached\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[QUERIES] Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "[QUERIES] {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "rate(consul_rpc_query{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod, kube_pod_label_component=\"server\"}[$__interval])"
- },
- {
- "displayInfo": {
- "displayName": "[REQUESTS] Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "[REQUESTS] {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "rate(consul_rpc_request{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod, kube_pod_label_component=\"server\"}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "[QUERIES] Increments when a server receives a read request, indicating the rate of new read queries.\n[REQUESTS] Increments when a server receives a Consul-related RPC request.",
- "id": 24,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Server RPC IOPS\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "rate(consul_rpc_request_error{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod, kube_pod_label_component=\"server\"}[$__interval]) \n/ rate(consul_rpc_request{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod, kube_pod_label_component=\"server\"}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Increments when a server returns an error from an RPC request.",
- "id": 25,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Server RPC Error Rate\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[POTENTIALLY BLOCKING] Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "[POTENTIALLY BLOCKING] {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "rate(consul_rpc_cross_dc{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod, kube_pod_label_component=\"server\"}[$__interval])"
- },
- {
- "displayInfo": {
- "displayName": "[BLOCKING] Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "[BLOCKING] {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "rate(consul_rpc_queries_blocking{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod, kube_pod_label_component=\"server\"}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "This panel shows the current number of in-flight blocking queries the server is handling, and the potentially blocking cross datacenter RPC queries.",
- "id": 26,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Server RPC Blocking requests",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "h",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "min(consul_system_licenseExpiration{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace})"
- }
- ],
- "description": "",
- "id": 27,
- "name": "License expiration\n",
- "nullValueDisplayText": "Unlicensed.",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "low"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "d",
- "severity": "ok",
- "value": 30.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "description": "",
- "id": 28,
- "markdownSource": "# Cache",
- "name": "Cache",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ns",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "(consul_runtime_gc_pause_ns{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod, kube_pod_label_component=\"server\", quantile=\"0.9\"})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Garbage collection pause time (p90)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ns",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "(rate(consul_runtime_gc_pause_ns_sum{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod, kube_pod_label_component=\"server\"}[$__interval] )\n )"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Garbage collection pause time average",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "connectSolid",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "consul_consul_cache_fetch_success{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}\n/\n(\nconsul_consul_cache_fetch_success{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}\n+ ignoring(result_not_modified) group_left\nconsul_consul_cache_fetch_error{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}\n)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 30,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Cache Hit Rate\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[LOG AGE] Leader < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "[LOG AGE] {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "consul_raft_leader_oldestLogAge{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace} > 0\n"
- },
- {
- "displayInfo": {
- "displayName": "[INSTALL SNAPSHOT (P99)] Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "[INSTALL SNAPSHOT (P99)] {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "consul_raft_rpc_installSnapshot{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod, quantile=\"0.99\"}"
- },
- {
- "displayInfo": {
- "displayName": "[LAST RESTORE] Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "[LAST RESTORE] {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "consul_raft_fsm_lastRestoreDuration{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod} > 0\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "[LOG AGE] Number of milliseconds since the oldest log in the leader's log store was written. This can be important for replication health where write rate is high and the snapshot is large as followers may be unable to recover from a restart if restoring takes longer than the minimum value for the current leader.\n[INSTALL SNAPSHOT] Measures the time taken to process the installSnapshot RPC call. This metric should only be seen on agents which are currently in the follower state.\n[LAST RESTORE] Measures the time taken to restore the FSM from a snapshot on an agent restart or from the leader calling installSnapshot. Most servers only restore during restarts which are typically infrequent.\n\nThese metrics allow operators to monitor the health and capacity of raft replication on servers. When Consul is handling large amounts of data and high write throughput it is possible for the cluster to get into a state where a follower after a restart may be unable to catch up on replication and become a voter again since it takes longer to restore from disk or the leader than the leader takes to write a new snapshot and truncate its logs.",
- "id": 31,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Snapshot Restoration",
- "nullValueDisplayText": "No snapshot restorations performed.",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "consul_consul_cache_evict_expired{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}\n/\n(\nconsul_consul_cache_evict_expired{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}\n+ \nconsul_consul_cache_entries_count{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}\n)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 32,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Cache Eviction Rate\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "consul_consul_cache_bypass{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}\n/\n(\n (\n\tconsul_consul_cache_bypass{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}\n +\n\tconsul_consul_cache_fetch_error{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}\n )\n + ignoring(result_not_modified) group_right\n consul_consul_cache_fetch_success{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_name=~$pod}\n)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Shows how many times a request bypassed the cache because no cache-key was provided.",
- "id": 33,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Cache Bypass Rate\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Leader < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "connectSolid",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(consul_raft_apply{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_pod_label_component=\"server\"}[$__interval]) > 0"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Raft transactions rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1642678920670,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1642678920670,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.pod.name",
- "documentId": "kubernetes.pod.name",
- "documentTimestamp": 1642678920670,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.pod.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_pod_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "isVariable": true,
- "operand": "kubernetes.pod.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/consul/include/sysdig-agent.yaml b/resources/consul/include/sysdig-agent.yaml
deleted file mode 100644
index 8a49816b..00000000
--- a/resources/consul/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,113 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: YourClusterName
- metrics_excess_log: true
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
- snaplen: 512
- tags: role:cluster
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: 'consul-envoy-default'
- metrics_path: '/v1/agent/metrics'
- params:
- format: ['prometheus']
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
- regex: true
- - action: drop
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_omit]
- regex: true
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
- target_label: __scheme__
- regex: (https?)
- - action: replace
- source_labels:
- - __meta_kubernetes_pod_container_name
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: (envoy-sidecar);(.{0}$)
- replacement: consul
- target_label: __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- - action: keep
- source_labels:
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: "consul"
- - action: replace
- source_labels: [__address__]
- regex: (.+?)(\\:\\d)?
- replacement: $1:20200
- target_label: __address__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- - job_name: 'consul-server-default'
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
- regex: true
- - action: drop
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_omit]
- regex: true
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
- target_label: __scheme__
- regex: (https?)
- - action: replace
- source_labels:
- - __meta_kubernetes_pod_container_name
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: (consul);(.{0}$)
- replacement: consul
- target_label: __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- - action: keep
- source_labels:
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: "consul"
- - action: keep
- source_labels: [__address__]
- regex: (.*:8500)
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
\ No newline at end of file
diff --git a/resources/consul/setup-guide.yaml b/resources/consul/setup-guide.yaml
index 25c00169..63f3807c 100644
--- a/resources/consul/setup-guide.yaml
+++ b/resources/consul/setup-guide.yaml
@@ -4,7 +4,5 @@ app: Consul
version: 1.0.0
appVersion:
- '1.11.1'
-configurations:
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
+configurations: []
descriptionFile: INSTALL.md
diff --git a/resources/docker-engine/INSTALL.md b/resources/docker-engine/INSTALL.md
index f38becc6..f5995576 100644
--- a/resources/docker-engine/INSTALL.md
+++ b/resources/docker-engine/INSTALL.md
@@ -13,23 +13,4 @@ To do so, you need to specify the `metrics-address`. The best way to do this is
"experimental" : true
}
```
-For more information, see [documentation](https://docs.docker.com/config/daemon/prometheus/).
-
-# Sysdig Agent configuration
-For the Sysdig agent to discover and scrape the Docker engine automatically, enable the `use_promscrape` option in the agent configuration. For example:
-
-```yaml
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: docker
- static_configs:
- - targets:
- - localhost:9323
- dragent.yaml: |-
- use_promscrape: true
- prometheus:
- enabled: true
- prom_service_discovery: true
-```
+For more information, see [documentation](https://docs.docker.com/config/daemon/prometheus/).
\ No newline at end of file
diff --git a/resources/docker-engine/dashboards.yaml b/resources/docker-engine/dashboards.yaml
index a2bd4e6f..3c0696c2 100644
--- a/resources/docker-engine/dashboards.yaml
+++ b/resources/docker-engine/dashboards.yaml
@@ -5,20 +5,9 @@ version: 1.0.0
appVersion:
- '18.09.9'
configurations:
-- name: Docker engine Overview
- kind: Sysdig
- image: docker-engine/images/docker-enginge-overview-sysdig.png
- description: |
- This dashboard offers information on:
- - Container state
- - Container actions
- - Builds
- - Network actions
- file: include/dashboard-Sysdig-docker-engine.json
- name: Docker engine Overview
kind: Grafana
image: docker-engine/images/docker-enginge-overview-grafana.png
description: |
This dashboard offers information on:
-
file: include/dashboard-Grafana-docker-engine.json
diff --git a/resources/docker-engine/images/docker-enginge-overview-sysdig.png b/resources/docker-engine/images/docker-enginge-overview-sysdig.png
deleted file mode 100644
index 6f171741..00000000
Binary files a/resources/docker-engine/images/docker-enginge-overview-sysdig.png and /dev/null differ
diff --git a/resources/docker-engine/include/dashboard-Sysdig-docker-engine.json b/resources/docker-engine/include/dashboard-Sysdig-docker-engine.json
deleted file mode 100644
index 91122a62..00000000
--- a/resources/docker-engine/include/dashboard-Sysdig-docker-engine.json
+++ /dev/null
@@ -1,735 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 4,
- "panelId": 1,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 6,
- "w": 4,
- "x": 4,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 4,
- "x": 8,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 4,
- "x": 12,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 4,
- "x": 16,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 4,
- "x": 20,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 24,
- "x": 0,
- "y": 4
- },
- {
- "h": 7,
- "panelId": 2,
- "w": 12,
- "x": 0,
- "y": 10
- },
- {
- "h": 7,
- "panelId": 3,
- "w": 12,
- "x": 12,
- "y": 10
- },
- {
- "h": 7,
- "panelId": 5,
- "w": 12,
- "x": 0,
- "y": 17
- },
- {
- "h": 7,
- "panelId": 11,
- "w": 12,
- "x": 12,
- "y": 17
- }
- ],
- "name": "Docker engine",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "engine_daemon_engine_cpus_cpus{instance=~$instance}"
- }
- ],
- "description": "",
- "id": 1,
- "name": "CPU numbers",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{action}} 99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, rate(engine_daemon_container_actions_seconds_bucket{instance=~$instance}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{action}} 90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, rate(engine_daemon_container_actions_seconds_bucket{instance=~$instance}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{action}} 50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, rate(engine_daemon_container_actions_seconds_bucket{instance=~$instance}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{action}} 25",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.25, rate(engine_daemon_container_actions_seconds_bucket{instance=~$instance}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Time x Container Action percentile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{action}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "engine_daemon_container_actions_seconds_count{instance=~$instance}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Total Container Actions",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{state}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "engine_daemon_container_states_containers"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Container per state",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{reason}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "builder_builds_failed_total{instance =~ $instance}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Builds failed",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "engine_daemon_engine_memory_bytes{instance=~$instance}"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Memory",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "engine_daemon_events_subscribers_total{instance=~$instance}"
- }
- ],
- "description": "",
- "id": 7,
- "name": "Subscribers",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "builder_builds_triggered_total{instance=~$instance}"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Builds",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "engine_daemon_container_states_containers{state=\"running\",instance=~$instance}"
- }
- ],
- "description": "",
- "id": 9,
- "name": "Containers running",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(builder_builds_failed_total{instance=~$instance})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "Builds failed",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{action}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "engine_daemon_network_actions_seconds_count{instance=~$instance}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Network actions",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "instance",
- "documentId": "instance",
- "documentTimestamp": 1609768326903,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "metricType": "tag",
- "name": "instance",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "instance",
- "isVariable": true,
- "operand": "instance",
- "operator": "in",
- "value": [
- "localhost:9323"
- ],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/docker-engine/include/sysdig-agent.yaml b/resources/docker-engine/include/sysdig-agent.yaml
deleted file mode 100644
index d783f858..00000000
--- a/resources/docker-engine/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: docker
- static_configs:
- - targets:
- - localhost:9323
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: YOUR_CLUSTER_NAME
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/docker-engine/setup-guide.yaml b/resources/docker-engine/setup-guide.yaml
index dbea0cbf..a7703911 100644
--- a/resources/docker-engine/setup-guide.yaml
+++ b/resources/docker-engine/setup-guide.yaml
@@ -5,6 +5,4 @@ version: 1.0.0
appVersion:
- '18.09.9'
descriptionFile: INSTALL.md
-configurations:
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent.yaml
+configurations: []
\ No newline at end of file
diff --git a/resources/elasticsearch/INSTALL.md b/resources/elasticsearch/INSTALL.md
index 0cf81521..eef8d3db 100644
--- a/resources/elasticsearch/INSTALL.md
+++ b/resources/elasticsearch/INSTALL.md
@@ -47,7 +47,7 @@ spec:
valueFrom:
configMapKeyRef:
key: elasticsearch.adminuser
- name: sysdigcloud-config
+ name: elasticsearch-config
- name: ES_URI
value: https://$(ELASTIC_USER):$(ELASTICSEARCH_ADMIN_PASSWORD)@YOUR-HOST:9200
envFrom:
@@ -60,29 +60,3 @@ Apply by configuration changes by executing the following:
```
kubectl apply -f exporter_with_credentials.yaml
```
-# Sysdig Agent configuration
-> Requires Sysdig Agent >= v11.3
-
-In the ElasticSearch exporter deployment, use the Sysdig annotations to configure the port of the exporter as scraping port. You can see an example in the `exporter_no_credentials.yaml` file.
-
-Additionally, you can use these labels to add the namespace, workload type, and name of the database the exporter will retrieve the data from.
-
-```yaml
-spec:
- template:
- metadata:
- annotations:
- promcat.sysdig.com/integration_type: elasticsearch
- promcat.sysdig.com/port: "9108"
- # Add here the namespace, workload type (deployment, statefulset, replicaset, daemonset)
- # and workload name of the instance that the exporter will take data from
- promcat.sysdig.com/target_ns: elastic-namespace
- promcat.sysdig.com/target_workload_type: statefulset
- promcat.sysdig.com/target_workload_name: elasticsearch
-```
-This way, on Sysdig Monitor, you can view the associated metrics corresponding to ElasticSearch pods and the exporter.
-
-After you configure the Sysdig annotations, download the sample configuration file and apply it by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
\ No newline at end of file
diff --git a/resources/elasticsearch/dashboards.yaml b/resources/elasticsearch/dashboards.yaml
index d2fde8a1..b6abb25c 100644
--- a/resources/elasticsearch/dashboards.yaml
+++ b/resources/elasticsearch/dashboards.yaml
@@ -5,14 +5,6 @@ version: 1.0.0
appVersion:
- '6.8'
configurations:
-- name: ElasticSearch cluster overview
- kind: Sysdig
- image: elasticsearch/images/elastic_cluster_sysdig.png
- description: |
- This dashboard offers information on:
- * Cluster health
- * Overview of resources of the cluster
- file: include/ElasticSearch_cluster.json
- name: ElasticSearch cluster overview
kind: Grafana
image: elasticsearch/images/elastic_cluster_grafana.png
@@ -21,17 +13,6 @@ configurations:
* Cluster health
* Overview of resources of the cluster
file: include/ElasticSearch_cluster_grafana.json
-- name: ElasticSearch infra overview
- kind: Sysdig
- image: elasticsearch/images/elastic_infra_sysdig.png
- description: |
- This dashboard offers information on:
- * Cpu and memory usage
- * Disk usage
- * GC information
- * Network usage
- * Indices information
- file: include/ElasticSearch_Infra.json
- name: ElasticSearch infra overview
kind: Grafana
image: elasticsearch/images/elastic_infra_grafana.png
diff --git a/resources/elasticsearch/images/elastic_cluster_sysdig.png b/resources/elasticsearch/images/elastic_cluster_sysdig.png
deleted file mode 100644
index f034b19a..00000000
Binary files a/resources/elasticsearch/images/elastic_cluster_sysdig.png and /dev/null differ
diff --git a/resources/elasticsearch/images/elastic_infra_sysdig.png b/resources/elasticsearch/images/elastic_infra_sysdig.png
deleted file mode 100644
index 94b88637..00000000
Binary files a/resources/elasticsearch/images/elastic_infra_sysdig.png and /dev/null differ
diff --git a/resources/elasticsearch/include/ElasticSearch_Infra.json b/resources/elasticsearch/include/ElasticSearch_Infra.json
deleted file mode 100644
index 9f68b382..00000000
--- a/resources/elasticsearch/include/ElasticSearch_Infra.json
+++ /dev/null
@@ -1,1241 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 4,
- "panelId": 1,
- "w": 12,
- "x": 0,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 2,
- "w": 12,
- "x": 12,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 3,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 4,
- "w": 12,
- "x": 12,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 5,
- "w": 12,
- "x": 0,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 6,
- "w": 12,
- "x": 12,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 12,
- "x": 12,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 12,
- "x": 0,
- "y": 20
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 12,
- "x": 12,
- "y": 20
- }
- ],
- "name": "ElasticSearch Infra",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu load 1",
- "timeSeriesDisplayNameTemplate": "load1: {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "elasticsearch_os_load1{instance=~$instance,cluster=$cluster,name=~$name}"
- },
- {
- "displayInfo": {
- "displayName": "Cpu load 5",
- "timeSeriesDisplayNameTemplate": "load5: {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "elasticsearch_os_load5{instance=~$instance,cluster=$cluster,name=~$name}"
- },
- {
- "displayInfo": {
- "displayName": "Cpu load 15",
- "timeSeriesDisplayNameTemplate": "load15: {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "elasticsearch_os_load15{instance=~$instance,cluster=$cluster,name=~$name}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Load average",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "elasticsearch_process_cpu_percent{instance=~$instance,cluster=$cluster,name=~$name}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Cpu usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Used",
- "timeSeriesDisplayNameTemplate": "{{name}} used: {{area}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "elasticsearch_jvm_memory_used_bytes{instance=~$instance,cluster=$cluster,name=~$name}"
- },
- {
- "displayInfo": {
- "displayName": "Max",
- "timeSeriesDisplayNameTemplate": "{{name}} max: {{area}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "elasticsearch_jvm_memory_max_bytes{instance=~$instance,cluster=$cluster,name=~$name}"
- },
- {
- "displayInfo": {
- "displayName": "Peak used",
- "timeSeriesDisplayNameTemplate": "{{name}} peak used pool: {{pool}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "elasticsearch_jvm_memory_pool_peak_used_bytes{instance=~$instance,cluster=$cluster,name=~$name}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "JVM memory usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Commited",
- "timeSeriesDisplayNameTemplate": "{{name}} committed: {{area}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "elasticsearch_jvm_memory_committed_bytes{instance=~$instance,cluster=$cluster,name=~$name}"
- },
- {
- "displayInfo": {
- "displayName": "Max",
- "timeSeriesDisplayNameTemplate": "{{name}} max: {{area}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "elasticsearch_jvm_memory_max_bytes{instance=~$instance,cluster=$cluster,name=~$name}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "JVM memory committed ",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "GC count",
- "timeSeriesDisplayNameTemplate": "{{name}} - {{gc}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "irate(elasticsearch_jvm_gc_collection_seconds_count{instance=~$instance,cluster=$cluster,name=~$name}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "GC count",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "GC time ",
- "timeSeriesDisplayNameTemplate": "{{name}} - {{gc}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "ms",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "irate(elasticsearch_jvm_gc_collection_seconds_sum{instance=~$instance,cluster=$cluster,name=~$name}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "GC time ",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Disk used",
- "timeSeriesDisplayNameTemplate": "{{name}}: {{path}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(1-(elasticsearch_filesystem_data_available_bytes{instance=~$instance,cluster=$cluster,name=~$name}/elasticsearch_filesystem_data_size_bytes{instance=~$instance,cluster=$cluster,name=~$name}))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Disk used",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Sent",
- "timeSeriesDisplayNameTemplate": "{{name}}: sent ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "irate(elasticsearch_transport_tx_size_bytes_total{instance=~$instance,cluster=$cluster,name=~$name}[$__interval])"
- },
- {
- "displayInfo": {
- "displayName": "Received",
- "timeSeriesDisplayNameTemplate": "{{name}}: received",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "irate(elasticsearch_transport_rx_size_bytes_total{instance=~$instance,cluster=$cluster,name=~$name}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Network usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Query time",
- "timeSeriesDisplayNameTemplate": "{{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "irate(elasticsearch_indices_search_query_time_seconds{instance=~$instance,cluster=$cluster,name=~$name}[$__interval]) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Query time",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Indexing time",
- "timeSeriesDisplayNameTemplate": "{{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "irate(elasticsearch_indices_indexing_index_time_seconds_total{instance=~$instance,cluster=$cluster,name=~$name}[$__interval]) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Indexing time",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Merging time",
- "timeSeriesDisplayNameTemplate": "{{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "irate(elasticsearch_indices_merges_total_time_seconds_total{instance=~$instance,cluster=$cluster,name=~$name}[$__interval]) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Merging time",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Throttle time for index store",
- "timeSeriesDisplayNameTemplate": "{{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "irate(elasticsearch_indices_store_throttle_time_seconds_total{instance=~$instance,cluster=$cluster,name=~$name}[$__interval]) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Throttle time for index store",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "appinfo",
- "createdAt": 1591121020720,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--631917180312356210",
- "documentTimestamp": 1591121020720,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.AppMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "appinfo",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "cluster_name",
- "identity": false,
- "label": true,
- "lastSeen": 1591120810044,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "cluster_name",
- "identity": false,
- "lastSeen": 1591120810044,
- "metricType": "tag",
- "namespaces": [
- "host"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "cluster_name",
- "operator": "equals",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1591121020720,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--5735739363998383830",
- "documentTimestamp": 1591121020720,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "label": true,
- "lastSeen": 1590079966431,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "lastSeen": 1590079966431,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "instance",
- "isVariable": true,
- "operand": "instance",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "appinfo",
- "createdAt": 1591121020720,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--4285269432461232889",
- "documentTimestamp": 1591121020720,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.AppMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "appinfo",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "node_name",
- "identity": false,
- "label": true,
- "lastSeen": 1591120810044,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "node_name",
- "identity": false,
- "lastSeen": 1591120810044,
- "metricType": "tag",
- "namespaces": [
- "host"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "name",
- "isVariable": true,
- "operand": "node_name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/elasticsearch/include/ElasticSearch_cluster.json b/resources/elasticsearch/include/ElasticSearch_cluster.json
deleted file mode 100644
index 7fbca48c..00000000
--- a/resources/elasticsearch/include/ElasticSearch_cluster.json
+++ /dev/null
@@ -1,1238 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 5,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 3,
- "x": 14,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 3,
- "x": 11,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 3,
- "x": 5,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 3,
- "x": 8,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 7,
- "w": 4,
- "x": 4,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 8,
- "w": 3,
- "x": 17,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 8,
- "x": 0,
- "y": 5
- },
- {
- "h": 2,
- "panelId": 10,
- "w": 4,
- "x": 0,
- "y": 3
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 8,
- "x": 8,
- "y": 5
- },
- {
- "h": 3,
- "panelId": 13,
- "w": 4,
- "x": 20,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 14,
- "w": 12,
- "x": 0,
- "y": 9
- },
- {
- "h": 4,
- "panelId": 15,
- "w": 8,
- "x": 16,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 16,
- "w": 12,
- "x": 12,
- "y": 9
- },
- {
- "h": 2,
- "panelId": 17,
- "w": 4,
- "x": 8,
- "y": 3
- },
- {
- "h": 2,
- "panelId": 19,
- "w": 4,
- "x": 12,
- "y": 3
- },
- {
- "h": 2,
- "panelId": 20,
- "w": 4,
- "x": 16,
- "y": 3
- },
- {
- "h": 2,
- "panelId": 21,
- "w": 4,
- "x": 20,
- "y": 3
- }
- ],
- "name": "ElasticSearch cluster",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "elasticsearch_cluster_health_status{instance=~$instance,cluster=$cluster,color=\"red\"}==1 or (elasticsearch_cluster_health_status{instance=~$instance,cluster=$cluster,color=\"green\"}==1)+4 or (elasticsearch_cluster_health_status{instance=~$instance,cluster=$cluster,color=\"yellow\"}==1)+22"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Cluster health",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "GREEN",
- "inputFormat": "1",
- "severity": "ok",
- "value": 4.0
- },
- {
- "displayText": "YELLOW",
- "inputFormat": "1",
- "severity": "low",
- "value": 2.0
- },
- {
- "displayText": "RED",
- "inputFormat": "1",
- "severity": "high",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum (elasticsearch_process_cpu_percent{instance=~$instance,cluster=$cluster} ) / count (elasticsearch_process_cpu_percent{instance=~$instance,cluster=$cluster} )"
- }
- ],
- "description": "",
- "id": 3,
- "name": "CPU usage Avg",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "high",
- "value": 90.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "medium",
- "value": 70.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum (elasticsearch_jvm_memory_used_bytes{instance=~$instance,cluster=$cluster}) / sum (elasticsearch_jvm_memory_max_bytes{instance=~$instance,cluster=$cluster}) * 100"
- }
- ],
- "description": "",
- "id": 4,
- "name": "JVM memory used Avg",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "high",
- "value": 90.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "medium",
- "value": 70.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "elasticsearch_cluster_health_number_of_nodes{instance=~$instance,cluster=$cluster}"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Nodes",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "elasticsearch_cluster_health_number_of_data_nodes{instance=~$instance,cluster=$cluster}"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Data Nodes",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "1",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "elasticsearch_cluster_health_active_shards{instance=~$instance,cluster=$cluster}"
- }
- ],
- "description": "",
- "id": 7,
- "name": "Active shards",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "elasticsearch_cluster_health_number_of_pending_tasks{instance=~$instance,cluster=$cluster}"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Pending tasks",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Disk available",
- "timeSeriesDisplayNameTemplate": "{{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(1-(elasticsearch_filesystem_data_available_bytes{instance=~$instance,cluster=$cluster,name=~$name}/elasticsearch_filesystem_data_size_bytes{instance=~$instance,cluster=$cluster,name=~$name}))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Percentage disk used",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "elasticsearch_cluster_health_active_primary_shards{instance=~$instance,cluster=$cluster}"
- }
- ],
- "description": "",
- "id": 10,
- "name": "Active primary shards",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Query time",
- "timeSeriesDisplayNameTemplate": "{{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "ms",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "irate(elasticsearch_indices_search_query_time_seconds{instance=~$instance,cluster=$cluster,name=~$name}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Query time",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(elasticsearch_indices_indexing_index_total{instance=~$instance,cluster=$cluster}[$__interval]))"
- }
- ],
- "description": "",
- "id": 13,
- "name": "Ingest rate",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "JVM mem usage",
- "timeSeriesDisplayNameTemplate": "{{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "elasticsearch_jvm_memory_used_bytes{instance=~$instance,cluster=$cluster,name=~$name}"
- },
- {
- "displayInfo": {
- "displayName": "JVM memory max",
- "timeSeriesDisplayNameTemplate": "{{name}} max: {{area}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "elasticsearch_jvm_memory_max_bytes{instance=~$instance,cluster=$cluster,name=~$name}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "JVM memory usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Ingest rate",
- "timeSeriesDisplayNameTemplate": "{{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "irate(elasticsearch_indices_indexing_index_total{instance=~$instance,cluster=$cluster}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Ingest rate by node",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "CPU usage",
- "timeSeriesDisplayNameTemplate": "{{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "elasticsearch_process_cpu_percent{instance=~$instance,cluster=$cluster,name=~$name}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "CPU usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "elasticsearch_cluster_health_initializing_shards{instance=~$instance,cluster=$cluster}"
- }
- ],
- "description": "",
- "id": 17,
- "name": "Initializing shards",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "elasticsearch_cluster_health_relocating_shards{instance=~$instance,cluster=$cluster}"
- }
- ],
- "description": "",
- "id": 19,
- "name": "Relocating shards",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "elasticsearch_cluster_health_initializing_shards{instance=~$instance,cluster=$cluster}"
- }
- ],
- "description": "",
- "id": 20,
- "name": "Delayed shards",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "elasticsearch_cluster_health_unassigned_shards{instance=~$instance,cluster=$cluster} "
- }
- ],
- "description": "",
- "id": 21,
- "name": "Unassigned shards",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "appinfo",
- "createdAt": 1591121019037,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--631917180312356210",
- "documentTimestamp": 1591121019037,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.AppMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "appinfo",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "cluster_name",
- "identity": false,
- "label": true,
- "lastSeen": 1591120810044,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "cluster_name",
- "identity": false,
- "lastSeen": 1591120810044,
- "metricType": "tag",
- "namespaces": [
- "host"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "cluster_name",
- "operator": "equals",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1591121019037,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--5735739363998383830",
- "documentTimestamp": 1591121019037,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "label": true,
- "lastSeen": 1590079966431,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "lastSeen": 1590079966431,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "instance",
- "isVariable": true,
- "operand": "instance",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "appinfo",
- "createdAt": 1591121019037,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--4285269432461232889",
- "documentTimestamp": 1591121019037,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.AppMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "appinfo",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "node_name",
- "identity": false,
- "label": true,
- "lastSeen": 1591120810044,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "node_name",
- "identity": false,
- "lastSeen": 1591120810044,
- "metricType": "tag",
- "namespaces": [
- "host"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "name",
- "isVariable": true,
- "operand": "node_name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/elasticsearch/include/exporter_no_credentials.yaml b/resources/elasticsearch/include/exporter_no_credentials.yaml
index eb62a91a..73a27b75 100644
--- a/resources/elasticsearch/include/exporter_no_credentials.yaml
+++ b/resources/elasticsearch/include/exporter_no_credentials.yaml
@@ -17,11 +17,8 @@ spec:
template:
metadata:
annotations:
- promcat.sysdig.com/port: "9108"
- promcat.sysdig.com/target_ns: elastic-namespace
- promcat.sysdig.com/target_workload_type: statefulset
- promcat.sysdig.com/target_workload_name: elasticsearch
- promcat.sysdig.com/integration_type: elasticsearch
+ prometheus.io/port: "9108"
+ prometheus.io/scrape: "true"
labels:
app: elasticsearch-exporter
spec:
diff --git a/resources/elasticsearch/include/exporter_with_credentials.yaml b/resources/elasticsearch/include/exporter_with_credentials.yaml
index 74e23684..0bd826ed 100644
--- a/resources/elasticsearch/include/exporter_with_credentials.yaml
+++ b/resources/elasticsearch/include/exporter_with_credentials.yaml
@@ -4,7 +4,7 @@ metadata:
labels:
app: elasticsearch-exporter
name: elasticsearch-exporter
- namespace: sysdigcloud
+ namespace: elasticsearch
spec:
replicas: 1
selector:
@@ -18,11 +18,8 @@ spec:
template:
metadata:
annotations:
- promcat.sysdig.com/port: "9108"
- promcat.sysdig.com/target_ns: elastic-namespace
- promcat.sysdig.com/target_workload_type: statefulset
- promcat.sysdig.com/target_workload_name: elasticsearch
- promcat.sysdig.com/integration_type: elasticsearch
+ prometheus.io/port: "9108"
+ prometheus.io/scrape: "true"
labels:
app: elasticsearch-exporter
spec:
@@ -45,7 +42,7 @@ spec:
valueFrom:
configMapKeyRef:
key: elasticsearch.adminuser
- name: sysdigcloud-config
+ name: elasticsearch-config
- name: ES_URI
value: https://$(ELASTIC_USER):$(ELASTICSEARCH_ADMIN_PASSWORD)@YOURHOST:9200
envFrom:
diff --git a/resources/elasticsearch/include/sysdig-agent.yaml b/resources/elasticsearch/include/sysdig-agent.yaml
deleted file mode 100644
index 9182723a..00000000
--- a/resources/elasticsearch/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,70 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: YourClusterName
- metrics_excess_log: true
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
- snaplen: 512
- tags: role:cluster
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: elasticsearch-default
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: "elasticsearch"
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_promcat_sysdig_com_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_ns]
- target_label: kube_namespace_name
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_workload_type]
- target_label: kube_workload_type
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_workload_name]
- target_label: kube_workload_name
- - action: replace
- replacement: true
- target_label: sysdig_omit_source
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- metric_relabel_configs:
- - source_labels: [__name__]
- regex: (elasticsearch_cluster_health_active_primary_shards|elasticsearch_cluster_health_active_shards|elasticsearch_cluster_health_initializing_shards|elasticsearch_cluster_health_number_of_data_nodes|elasticsearch_cluster_health_number_of_nodes|elasticsearch_cluster_health_number_of_pending_tasks|elasticsearch_cluster_health_relocating_shards|elasticsearch_cluster_health_status|elasticsearch_cluster_health_unassigned_shards|elasticsearch_filesystem_data_available_bytes|elasticsearch_filesystem_data_size_bytes|elasticsearch_indices_indexing_index_time_seconds_total|elasticsearch_indices_indexing_index_total|elasticsearch_indices_merges_total_time_seconds_total|elasticsearch_indices_search_query_time_seconds|elasticsearch_indices_store_throttle_time_seconds_total|elasticsearch_jvm_gc_collection_seconds_count|elasticsearch_jvm_gc_collection_seconds_sum|elasticsearch_jvm_memory_committed_bytes|elasticsearch_jvm_memory_max_bytes|elasticsearch_jvm_memory_max_bytes |elasticsearch_jvm_memory_pool_peak_used_bytes|elasticsearch_jvm_memory_used_bytes|elasticsearch_os_load1|elasticsearch_os_load15|elasticsearch_os_load5|elasticsearch_process_cpu_percent|elasticsearch_transport_rx_size_bytes_total|elasticsearch_transport_tx_size_bytes_total)
- action: keep
\ No newline at end of file
diff --git a/resources/elasticsearch/setup-guide.yaml b/resources/elasticsearch/setup-guide.yaml
index 1dad590f..489e369d 100644
--- a/resources/elasticsearch/setup-guide.yaml
+++ b/resources/elasticsearch/setup-guide.yaml
@@ -5,8 +5,6 @@ version: 1.0.0
appVersion:
- '6.8'
configurations:
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
- name: exporter_no_credentials.yaml
file: include/exporter_no_credentials.yaml
- name: exporter_with_credentials.yaml
diff --git a/resources/etcd/INSTALL.md b/resources/etcd/INSTALL.md
deleted file mode 100644
index d02864dc..00000000
--- a/resources/etcd/INSTALL.md
+++ /dev/null
@@ -1,67 +0,0 @@
-# Prerequisites
-## Mount the etcd certificates in the sysdig agent
-```sh
-kubectl -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"volumes":[{"hostPath":{"path":"/etc/kubernetes/pki/etcd-manager-main","type":"DirectoryOrCreate"},"name":"etcd-certificates"}]}}}}'
-
-kubectl -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"containers":[{"name":"sysdig-agent","volumeMounts": [{"mountPath": "/etc/kubernetes/pki/etcd-manager","name": "etcd-certificates"}]}]}}}}'
-```
-
-## Configuring the Sysdig agent
-
-In order to get the metrics, enable promscrape v2 by editing the `dragent.yaml` file:
-```yaml
-metrics_excess_log: true
-k8s_cluster_name: yourClusterName
-10s_flush_enable: true
-app_checks_enabled: false
-use_promscrape: true
-new_k8s: true
-promscrape_fastproto: true
-prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
-```
-
-An example `sysdig-agent.yaml` is given below:
-
-With the promscrape v2 enabled, to scrape the etcd, ensure that your `sysdig-agent.yaml` has the prometheus job:
-```yaml
-- job_name: etcd
- scheme: https
- tls_config:
- insecure_skip_verify: true
- cert_file: /etc/kubernetes/pki/etcd-manager/etcd-clients-ca.crt
- key_file: /etc/kubernetes/pki/etcd-manager/etcd-clients-ca.key
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'kube-system/etcd-manager-main.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d)?
- replacement: $1:4001
- # Holding on to pod-id and container name so we can associate the metrics
- # with the container (and cluster hierarchy)
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
-```
diff --git a/resources/etcd/images/etcd_sysdig.png b/resources/etcd/images/etcd_sysdig.png
deleted file mode 100644
index 1ac2e416..00000000
Binary files a/resources/etcd/images/etcd_sysdig.png and /dev/null differ
diff --git a/resources/etcd/include/dashboard-Sysdig---etcd.json b/resources/etcd/include/dashboard-Sysdig---etcd.json
deleted file mode 100644
index 62c7cc6f..00000000
--- a/resources/etcd/include/dashboard-Sysdig---etcd.json
+++ /dev/null
@@ -1,890 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 4,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 6,
- "w": 8,
- "x": 0,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 8,
- "x": 8,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 8,
- "x": 0,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 8,
- "x": 16,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 8,
- "x": 8,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 8,
- "x": 16,
- "y": 14
- }
- ],
- "name": "ETCD",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg(etcd_server_has_leader * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Etcd has a leader?",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "Yes",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- },
- {
- "displayText": "Some",
- "inputFormat": "1",
- "severity": "low",
- "value": 0.4
- },
- {
- "displayText": "No",
- "inputFormat": "1",
- "severity": "high",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max(etcd_server_leader_changes_seen_total * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "The number of leader changes seen",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max(etcd_server_proposals_failed_total * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 3,
- "name": "The total number of failed proposals seen",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "RPC Rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(grpc_server_started_total{grpc_type=\"unary\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "RPC Failed Rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(grpc_server_handled_total{grpc_type=\"unary\",grpc_code!=\"OK\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "RPC Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Watch Streams",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(grpc_server_started_total{grpc_service=\"etcdserverpb.Watch\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster) - sum(grpc_server_handled_total{grpc_service=\"etcdserverpb.Watch\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Lease Streams",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(grpc_server_started_total{grpc_service=\"etcdserverpb.Lease\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (cluster) - sum(grpc_server_handled_total{grpc_service=\"etcdserverpb.Lease\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Active Streams",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "DB size",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} DB Size",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "etcd_debugging_mvcc_db_total_size_in_bytes * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "DB Size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Disk sync duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} WAL fsync",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(etcd_disk_wal_fsync_duration_seconds_bucket[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, le, cluster))"
- },
- {
- "displayInfo": {
- "displayName": "Disk sync duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} DB fsync",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(etcd_disk_backend_commit_duration_seconds_bucket[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, le, cluster))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk sync duration",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes{job=\"etcd\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Number of consensus proposals commited",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(etcd_server_proposals_committed_total[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Number of consensus proposals applied",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(etcd_server_proposals_applied_total[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "The total number of consensus proposals committed ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total{job=\"etcd\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines{job=\"etcd\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1605775450206,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1605775450206,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1605774849401,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1605774849401,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/etcd/include/sysdig-agent.yaml b/resources/etcd/include/sysdig-agent.yaml
deleted file mode 100644
index 90e20913..00000000
--- a/resources/etcd/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,60 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: etcd
- scheme: https
- tls_config:
- insecure_skip_verify: true
- cert_file: /etc/kubernetes/pki/etcd-manager/etcd-clients-ca.crt
- key_file: /etc/kubernetes/pki/etcd-manager/etcd-clients-ca.key
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'kube-system/etcd-manager-main.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d)?
- replacement: $1:4001
- # Holding on to pod-id and container name so we can associate the metrics
- # with the container (and cluster hierarchy)
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
-
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: yourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/etcd/setup-guide.yaml b/resources/etcd/setup-guide.yaml
deleted file mode 100644
index 82bac980..00000000
--- a/resources/etcd/setup-guide.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
-apiVersion: v1
-kind: SetupGuide
-app: etcd
-version: 1.0.0
-appVersion:
-- 3.4.0
-configurations:
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
-descriptionFile: INSTALL.md
diff --git a/resources/fluentd/README.md b/resources/fluentd/README.md
index 43ecb243..a0bc3a47 100644
--- a/resources/fluentd/README.md
+++ b/resources/fluentd/README.md
@@ -3,7 +3,7 @@ Fluentd is an open source data collector, which lets you unify the data collecti
# Prometheus and exporters
-Fluentd already has a Prometheus endpoint with all the metrics exposed on the port 24231. In Kubernetes the pod is already annotated, so with the Sysdig agent you can scrape the endpoint right away.
+Fluentd already has a Prometheus endpoint with all the metrics exposed on the port 24231. In Kubernetes the pod is already annotated, so Prometheus can scrape the endpoint right away.
# Metrics
- Fluentd internal statistics
diff --git a/resources/fluentd/dashboards.yaml b/resources/fluentd/dashboards.yaml
index 60bf6c51..2da02615 100644
--- a/resources/fluentd/dashboards.yaml
+++ b/resources/fluentd/dashboards.yaml
@@ -4,13 +4,4 @@ app: Fluentd
version: 1.0.0
appVersion:
- '1.12.4'
-configurations:
-- name: Fluentd
- kind: Sysdig
- image: fluentd/images/fluentd.png
- description: |
- This dashboard offers information on:
- * Input/Output
- * Buffer
- * Flush
- file: include/Fluentd.json
\ No newline at end of file
+configurations: []
\ No newline at end of file
diff --git a/resources/fluentd/images/fluentd.png b/resources/fluentd/images/fluentd.png
deleted file mode 100644
index dfd02dd4..00000000
Binary files a/resources/fluentd/images/fluentd.png and /dev/null differ
diff --git a/resources/fluentd/include/Fluentd.json b/resources/fluentd/include/Fluentd.json
deleted file mode 100644
index bd7d130e..00000000
--- a/resources/fluentd/include/Fluentd.json
+++ /dev/null
@@ -1,1615 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 7,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 1,
- "panelId": 8,
- "w": 24,
- "x": 0,
- "y": 35
- },
- {
- "h": 1,
- "panelId": 12,
- "w": 24,
- "x": 0,
- "y": 52
- },
- {
- "h": 1,
- "panelId": 19,
- "w": 24,
- "x": 0,
- "y": 2
- },
- {
- "h": 8,
- "panelId": 1,
- "w": 12,
- "x": 0,
- "y": 19
- },
- {
- "h": 8,
- "panelId": 5,
- "w": 12,
- "x": 0,
- "y": 11
- },
- {
- "h": 8,
- "panelId": 3,
- "w": 12,
- "x": 0,
- "y": 3
- },
- {
- "h": 8,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 36
- },
- {
- "h": 8,
- "panelId": 10,
- "w": 12,
- "x": 12,
- "y": 36
- },
- {
- "h": 8,
- "panelId": 4,
- "w": 12,
- "x": 12,
- "y": 3
- },
- {
- "h": 8,
- "panelId": 13,
- "w": 8,
- "x": 0,
- "y": 53
- },
- {
- "h": 8,
- "panelId": 14,
- "w": 8,
- "x": 8,
- "y": 53
- },
- {
- "h": 8,
- "panelId": 15,
- "w": 8,
- "x": 16,
- "y": 53
- },
- {
- "h": 8,
- "panelId": 17,
- "w": 12,
- "x": 0,
- "y": 44
- },
- {
- "h": 8,
- "panelId": 11,
- "w": 12,
- "x": 12,
- "y": 44
- },
- {
- "h": 8,
- "panelId": 6,
- "w": 12,
- "x": 12,
- "y": 11
- },
- {
- "h": 8,
- "panelId": 2,
- "w": 12,
- "x": 12,
- "y": 19
- },
- {
- "h": 8,
- "panelId": 16,
- "w": 12,
- "x": 12,
- "y": 27
- },
- {
- "h": 8,
- "panelId": 18,
- "w": 12,
- "x": 0,
- "y": 27
- }
- ],
- "name": "Fluentd",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Error: Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name)(rate(fluentd_output_status_num_errors{kube_cluster_name=~$cluster}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "Retry: Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name)(rate(fluentd_output_status_retry_count{kube_cluster_name=~$cluster}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "Rollback: Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name)(rate(fluentd_output_status_rollback_count{kube_cluster_name=~$cluster}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Total Output Error/Retry/Rollback rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name)(rate(fluentd_output_status_emit_records{kube_cluster_name=~$cluster}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Total Output rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name)(rate(fluentd_input_status_num_records_total{kube_cluster_name=~$cluster}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Total Input rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 7,
- "markdownSource": "# Scope details\n\ud83d\udc49 The 'input_namespace' , 'input_pod' and 'input_container' scopes can be used in the 'Input' panels to filter the sources of the logs.\n\n\ud83d\udc49 The 'output_type' and 'output_plugin_id' scopes allows filtering by 'Output' in the rest of the panels. More info about 'Outputs' in the **[Fluentd official documentation](https://docs.fluentd.org/output)**.",
- "name": "Scope details",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 8,
- "markdownSource": "# Buffer",
- "name": "Buffer",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Plugin < Type < Cluster",
- "timeSeriesDisplayNameTemplate": "{{plugin_id}} < {{type}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, type, plugin_id)(max_over_time(fluentd_output_status_buffer_queue_length{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "If these values are increasing, it means Fluentd cannot flush the buffer to the destination. You will lose the data once the buffer becomes full.",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Maximum Buffer Queue Length",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Plugin < Type < Cluster",
- "timeSeriesDisplayNameTemplate": "{{plugin_id}} < {{type}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, type, plugin_id)(max_over_time(fluentd_output_status_buffer_total_bytes{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "If these values are increasing, it means Fluentd cannot flush the buffer to the destination. You will lose the data once the buffer becomes full.",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Maximum Buffer Bytes\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Container < Pod < Namespace< Cluster",
- "timeSeriesDisplayNameTemplate": "{{input_container}} < {{input_pod}} < {{input_namespace}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "topk(50, sum by (kube_cluster_name, input_namespace, input_pod, input_container)(rate(fluentd_input_status_num_records_total{kube_cluster_name=~$cluster, input_namespace=~$input_namespace, input_pod=~$input_pod, input_container=~$input_container}[$__interval]))> 0) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Top 50 Input rate per container",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 12,
- "markdownSource": "# Flush",
- "name": "Flush",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Plugin < Type < Cluster",
- "timeSeriesDisplayNameTemplate": "{{plugin_id}} < {{type}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, type, plugin_id)(rate(fluentd_output_status_flush_time_count{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Flush time\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Plugin < Type < Cluster",
- "timeSeriesDisplayNameTemplate": "{{plugin_id}} < {{type}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, type, plugin_id)(rate(fluentd_output_status_slow_flush_count{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval]))\n / \nsum by(kube_cluster_name, type, plugin_id)(rate(fluentd_output_status_emit_count{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Slow Flush rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Plugin < Type < Cluster",
- "timeSeriesDisplayNameTemplate": "{{plugin_id}} < {{type}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, type, plugin_id)(rate(fluentd_output_status_emit_count{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Flushes per second",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Plugin < Type < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{plugin_id}} <{{type}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_pod_name, type, plugin_id)(max_over_time(fluentd_output_status_buffer_queue_length{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "If these values are increasing, it means Fluentd cannot flush the buffer to the destination. You will lose the data once the buffer becomes full.",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Maximum Buffer Queue Length per instance\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Plugin < Type < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{plugin_id}} <{{type}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "min by(kube_cluster_name, kube_namespace_name, kube_pod_name, type, plugin_id)(min_over_time(fluentd_output_status_buffer_available_space_ratio{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Buffer Available Space Ratio per instance",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Plugin < Type < Cluster",
- "timeSeriesDisplayNameTemplate": "{{plugin_id}} < {{type}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "topk(50, sum by (kube_cluster_name, type, plugin_id)(rate(fluentd_output_status_emit_records{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval])))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Top 50 Output rate per plugin",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Error: Plugin < Type < Cluster",
- "timeSeriesDisplayNameTemplate": "{{plugin_id}} < {{type}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name, type, plugin_id)(rate(fluentd_output_status_num_errors{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "Retry: Plugin < Type < Cluster",
- "timeSeriesDisplayNameTemplate": "{{plugin_id}} < {{type}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name, type, plugin_id)(rate(fluentd_output_status_retry_count{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "Rollback: Plugin < Type < Cluster",
- "timeSeriesDisplayNameTemplate": "{{plugin_id}} < {{type}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name, type, plugin_id)(rate(fluentd_output_status_rollback_count{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Output Error/Retry/Rollback rate per plugin",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Plugin < Type < Cluster",
- "timeSeriesDisplayNameTemplate": "{{plugin_id}} <{{type}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name, type, plugin_id)(max_over_time(fluentd_output_status_retry_wait{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Maximum retry_wait computed from last retry time and next retry time.",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Output Retry Wait per plugin",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Plugin < Type < Cluster",
- "timeSeriesDisplayNameTemplate": "{{plugin_id}} < {{type}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name, type, plugin_id)(rate(fluentd_output_status_num_errors{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval])) \n/ \nsum by(kube_cluster_name, type, plugin_id)(rate(fluentd_output_status_emit_count{kube_cluster_name=~$cluster, type=~$output_type, plugin_id=~$output_plugin_id}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Output Error ratio per plugin",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 19,
- "markdownSource": "# Input / Output",
- "name": "Input / Output (2)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1653489054073,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "input_namespace",
- "documentId": "input_namespace",
- "documentTimestamp": 1653489054073,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "input_namespace",
- "identity": false,
- "metricType": "tag",
- "name": "input_namespace",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "input_namespace",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "input_namespace",
- "isVariable": true,
- "operand": "input_namespace",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "input_pod",
- "documentId": "input_pod",
- "documentTimestamp": 1653489054073,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "input_pod",
- "identity": false,
- "metricType": "tag",
- "name": "input_pod",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "input_pod",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "input_pod",
- "isVariable": true,
- "operand": "input_pod",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "input_container",
- "documentId": "input_container",
- "documentTimestamp": 1653489054074,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "input_container",
- "identity": false,
- "metricType": "tag",
- "name": "input_container",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "input_container",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "input_container",
- "isVariable": true,
- "operand": "input_container",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "type",
- "documentId": "type",
- "documentTimestamp": 1653489054074,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "type",
- "identity": false,
- "metricType": "tag",
- "name": "type",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "type",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "output_type",
- "isVariable": true,
- "operand": "type",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "plugin_id",
- "documentId": "plugin_id",
- "documentTimestamp": 1653489054074,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "plugin_id",
- "identity": false,
- "metricType": "tag",
- "name": "plugin_id",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "plugin_id",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "output_plugin_id",
- "isVariable": true,
- "operand": "plugin_id",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/fluentd/include/sysdig-agent.yaml b/resources/fluentd/include/sysdig-agent.yaml
deleted file mode 100644
index 693f09e4..00000000
--- a/resources/fluentd/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,85 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: YourClusterName
- metrics_excess_log: true
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
- snaplen: 512
- tags: role:cluster
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: 'fluentd-default'
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: drop
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_omit]
- regex: true
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
- target_label: __scheme__
- regex: (https?)
- - action: replace
- source_labels:
- - __meta_kubernetes_pod_container_name
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: (fluentd);(.{0}$)
- replacement: fluentd
- target_label: __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- - action: keep
- source_labels:
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: "fluentd"
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- metric_relabel_configs:
- - action: replace
- source_labels:
- - __name__
- - tag
- regex: fluentd_input_status_num_records_total;kubernetes.var.log.containers.([a-zA-Z0-9 \d\.-]+)_([a-zA-Z0-9 \d\.-]+)_([a-zA-Z0-9 \d\.-]+)-[a-zA-Z0-9]+.log
- target_label: input_pod
- replacement: $1
- - action: replace
- source_labels:
- - __name__
- - tag
- regex: fluentd_input_status_num_records_total;kubernetes.var.log.containers.([a-zA-Z0-9 \d\.-]+)_([a-zA-Z0-9 \d\.-]+)_([a-zA-Z0-9 \d\.-]+)-[a-zA-Z0-9]+.log
- target_label: input_namespace
- replacement: $2
- - action: replace
- source_labels:
- - __name__
- - tag
- regex: fluentd_input_status_num_records_total;kubernetes.var.log.containers.([a-zA-Z0-9 \d\.-]+)_([a-zA-Z0-9 \d\.-]+)_([a-zA-Z0-9 \d\.-]+)-[a-zA-Z0-9]+.log
- target_label: input_container
- replacement: $3
\ No newline at end of file
diff --git a/resources/fluentd/setup-guide.yaml b/resources/fluentd/setup-guide.yaml
index f150b5aa..bf6c345d 100644
--- a/resources/fluentd/setup-guide.yaml
+++ b/resources/fluentd/setup-guide.yaml
@@ -4,7 +4,5 @@ app: Fluentd
version: 1.0.0
appVersion:
- '1.12.4'
-configurations:
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
-descriptionFile: INSTALL.md
+configurations: []
+descriptionFile: INSTALL.md
\ No newline at end of file
diff --git a/resources/haproxy-ingress/INSTALL.md b/resources/haproxy-ingress/INSTALL.md
index 68a4c594..c8720567 100644
--- a/resources/haproxy-ingress/INSTALL.md
+++ b/resources/haproxy-ingress/INSTALL.md
@@ -12,13 +12,4 @@ HAProxy ingress exposes prometheus metrics on the port 1024 of its pods. To scra
kubectl patch deployment haproxy-ingress-kubernetes-ingress \
-p '{"spec":{"template":{"metadata":{"annotations":{"prometheus.io/scrape": "true", "prometheus.io/port": "1024", "prometheus.io/path": "/metrics"}}}}}'
```
-After executing this, the pods will automatically restart with the new annotations.
-
-# Sysdig Agent configuration
-HAProxy generates metrics for the scopes global, frontend, backend, and server. This last scope usually have a high cardinality.
-To scrape only the other scopes, use this configuration for the `prometheus.yaml` configuration file of the Sysdig agent.
-
-You can download the sample configuration file and apply it by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
+After executing this, the pods will automatically restart with the new annotations.
\ No newline at end of file
diff --git a/resources/haproxy-ingress/dashboards.yaml b/resources/haproxy-ingress/dashboards.yaml
index 8a119954..b39d6f33 100644
--- a/resources/haproxy-ingress/dashboards.yaml
+++ b/resources/haproxy-ingress/dashboards.yaml
@@ -5,49 +5,6 @@ version: 1.0.0
appVersion:
- '2.1'
configurations:
-- name: HAProxy K8s Ingress Overview
- kind: Sysdig
- image: haproxy-ingress/images/haproxy-sysdig-ingress-overview.png
- description: |
- This dashboard offers information on:
- * Up Time
- * Instances
- * Frontend OK
- * Frontend FULL
- * Frontend STOPPED
- * Backend DOWN
- * Connections and Sessions
- * SSL Connections
- * Active Jobs
- * Request and Response Errors
- * Tasks
- * Active and Connected Peers
- * Process Run Queue
- * Connection ans Session Denied
- * Frontend Bytes In
- * Frontend Connections
- * Frontend Bytes Out
- * Frontend Requests (TCP and HTTP)
- file: include/dashboard-Sysdig-HAProxy-K8s-Ingress-Overview-2.1.json
-- name: HAProxy Proxy Golden Signals
- kind: Sysdig
- image: haproxy-ingress/images/haproxy-sysdig-proxy-golden-signals.png
- description: |
- This dashboard has the option to select a proxy and offers information on:
- * Instances UP
- * Instances Down
- * Sessions Usage
- * Queued Requests
- * HTTP Error Rate
- * Denial Rate
- * HTTP Error by Code
- * Data Transfers Aborted
- * Mean Response Time
- * Mean Connect and Queue Time
- * Throughput
- * IOPS
- * Request and Response Size
- file: include/dashboard-Sysdig-HAProxy-Proxy-Golden-Signals-2.1.json
- name: HAProxy K8s Ingress Overview
kind: Grafana
image: haproxy-ingress/images/haproxy-grafana-ingress-overview.png
diff --git a/resources/haproxy-ingress/dashboardsv2.3.yaml b/resources/haproxy-ingress/dashboardsv2.3.yaml
index c5bd2363..ae79599c 100644
--- a/resources/haproxy-ingress/dashboardsv2.3.yaml
+++ b/resources/haproxy-ingress/dashboardsv2.3.yaml
@@ -4,47 +4,4 @@ app: HAProxy Ingress
version: 1.0.0
appVersion:
- '2.3'
-configurations:
-- name: HAProxy K8s Ingress Overview
- kind: Sysdig
- image: haproxy-ingress/images/haproxy-sysdig-ingress-overview-2.3.png
- description: |
- This dashboard offers information on:
- * Up Time
- * Instances
- * Frontend OK
- * Frontend FULL
- * Frontend STOPPED
- * Backend DOWN
- * Connections and Sessions
- * SSL Connections
- * Active Jobs
- * Request and Response Errors
- * Tasks
- * Active and Connected Peers
- * Process Run Queue
- * Connection ans Session Denied
- * Frontend Bytes In
- * Frontend Connections
- * Frontend Bytes Out
- * Frontend Requests (TCP and HTTP)
- file: include/dashboard-Sysdig-HAProxy-K8s-Ingress-Overview-2.3.json
-- name: HAProxy Proxy Golden Signals
- kind: Sysdig
- image: haproxy-ingress/images/haproxy-sysdig-proxy-golden-signals-2.3.png
- description: |
- This dashboard has the option to select a proxy and offers information on:
- * Instances UP
- * Instances Down
- * Sessions Usage
- * Queued Requests
- * HTTP Error Rate
- * Denial Rate
- * HTTP Error by Code
- * Data Transfers Aborted
- * Mean Response Time
- * Mean Connect and Queue Time
- * Throughput
- * IOPS
- * Request and Response Size
- file: include/dashboard-Sysdig-HAProxy-Proxy-Golden-Signals-2.3.json
\ No newline at end of file
+configurations: []
\ No newline at end of file
diff --git a/resources/haproxy-ingress/images/haproxy-sysdig-ingress-overview-2.3.png b/resources/haproxy-ingress/images/haproxy-sysdig-ingress-overview-2.3.png
deleted file mode 100644
index ab0eaf76..00000000
Binary files a/resources/haproxy-ingress/images/haproxy-sysdig-ingress-overview-2.3.png and /dev/null differ
diff --git a/resources/haproxy-ingress/images/haproxy-sysdig-ingress-overview.png b/resources/haproxy-ingress/images/haproxy-sysdig-ingress-overview.png
deleted file mode 100644
index 9ee85570..00000000
Binary files a/resources/haproxy-ingress/images/haproxy-sysdig-ingress-overview.png and /dev/null differ
diff --git a/resources/haproxy-ingress/images/haproxy-sysdig-proxy-golden-signals-2.3.png b/resources/haproxy-ingress/images/haproxy-sysdig-proxy-golden-signals-2.3.png
deleted file mode 100644
index cf366174..00000000
Binary files a/resources/haproxy-ingress/images/haproxy-sysdig-proxy-golden-signals-2.3.png and /dev/null differ
diff --git a/resources/haproxy-ingress/images/haproxy-sysdig-proxy-golden-signals.png b/resources/haproxy-ingress/images/haproxy-sysdig-proxy-golden-signals.png
deleted file mode 100644
index fbd0e802..00000000
Binary files a/resources/haproxy-ingress/images/haproxy-sysdig-proxy-golden-signals.png and /dev/null differ
diff --git a/resources/haproxy-ingress/include/dashboard-Sysdig-HAProxy-K8s-Ingress-Overview-2.1.json b/resources/haproxy-ingress/include/dashboard-Sysdig-HAProxy-K8s-Ingress-Overview-2.1.json
deleted file mode 100644
index b33389c2..00000000
--- a/resources/haproxy-ingress/include/dashboard-Sysdig-HAProxy-K8s-Ingress-Overview-2.1.json
+++ /dev/null
@@ -1,1432 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "layout": [
- {
- "h": 4,
- "panelId": 1,
- "w": 6,
- "x": 0,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 2,
- "w": 3,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 3,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 3,
- "x": 3,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 5,
- "w": 3,
- "x": 21,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 6,
- "w": 3,
- "x": 18,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 7,
- "w": 6,
- "x": 12,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 6,
- "x": 6,
- "y": 2
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 6,
- "x": 12,
- "y": 2
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 6,
- "x": 18,
- "y": 2
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 6,
- "x": 0,
- "y": 6
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 6,
- "x": 6,
- "y": 6
- },
- {
- "h": 4,
- "panelId": 13,
- "w": 6,
- "x": 12,
- "y": 6
- },
- {
- "h": 4,
- "panelId": 14,
- "w": 6,
- "x": 18,
- "y": 6
- },
- {
- "h": 4,
- "panelId": 15,
- "w": 12,
- "x": 0,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 16,
- "w": 12,
- "x": 0,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 17,
- "w": 12,
- "x": 12,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 18,
- "w": 12,
- "x": 12,
- "y": 14
- }
- ],
- "name": " HAProxy K8s Ingress Overview",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "connections",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(haproxy_process_current_connection_rate)"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "sessions",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(haproxy_process_current_session_rate)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Connections and Sessions",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "max(time() - haproxy_process_start_time_seconds)"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Up Time",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1589452466869,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-8963645159625904328",
- "documentTimestamp": 1589452466869,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1588758511394,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_frontend_status",
- "identity": false,
- "lastSeen": 1589405484708,
- "metricType": "gauge",
- "name": "haproxy_frontend_status",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "host.hostName",
- "host.mac",
- "instance",
- "job",
- "proc.commandLine",
- "proc.name",
- "proxy"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "haproxy_frontend_status",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1589452466869,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-3902954642948798253",
- "documentTimestamp": 1589452466869,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "proxy",
- "identity": false,
- "lastSeen": 1589405484708,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "proxy",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 3,
- "name": "Frontend OK",
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(haproxy_process_start_time_seconds)"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Instances",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count (haproxy_frontend_status == 2) or vector(0)"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Frontend FULL",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(haproxy_frontend_status == 0 ) or vector(0)"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Frontend STOPPED",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1589452466869,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-32788593558606500",
- "documentTimestamp": 1589452466869,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1588758511394,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_backend_status",
- "identity": false,
- "lastSeen": 1589405484708,
- "metricType": "gauge",
- "name": "haproxy_backend_status",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "host.hostName",
- "host.mac",
- "instance",
- "job",
- "proc.commandLine",
- "proc.name",
- "proxy"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "haproxy_backend_status",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1589452466869,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-3902954642948798253",
- "documentTimestamp": 1589452466869,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "proxy",
- "identity": false,
- "lastSeen": 1589405484708,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "proxy",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 7,
- "name": "Backends OK",
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "connections",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(haproxy_process_ssl_connections_total[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "SSL Connections",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "jobs",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(haproxy_process_jobs)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Active Jobs",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Requests Denied",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(haproxy_frontend_requests_denied_total[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Responses Denied",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(haproxy_frontend_responses_denied_total[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Request Error",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(haproxy_frontend_request_errors_total[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Request and Response Errors",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "tasks",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(haproxy_process_current_tasks)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Tasks",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Active",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(haproxy_process_active_peers)"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Connected",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(haproxy_process_active_peers)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Active and Connected Peers",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Queued",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(haproxy_process_current_run_queue)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Process Run Queue",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Connection Denied",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(haproxy_frontend_denied_connections_total[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Session Denied",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(haproxy_frontend_denied_sessions_total[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Connection ans Session Denied",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{proxy}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (proxy) (rate(haproxy_frontend_bytes_in_total[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Frontend Bytes In",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{proxy}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (proxy) (rate(haproxy_frontend_bytes_out_total[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Frontend Bytes Out",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{proxy}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy) (rate(haproxy_frontend_connections_total[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Frontend Connections",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{proxy}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy)(rate(haproxy_frontend_connections_total[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Frontend Requests (TCP and HTTP)",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": []
- }
-}
diff --git a/resources/haproxy-ingress/include/dashboard-Sysdig-HAProxy-K8s-Ingress-Overview-2.3.json b/resources/haproxy-ingress/include/dashboard-Sysdig-HAProxy-K8s-Ingress-Overview-2.3.json
deleted file mode 100644
index 186eb0ac..00000000
--- a/resources/haproxy-ingress/include/dashboard-Sysdig-HAProxy-K8s-Ingress-Overview-2.3.json
+++ /dev/null
@@ -1,1726 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 4,
- "panelId": 2,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 4,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 3,
- "w": 6,
- "x": 12,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 6,
- "x": 18,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 5,
- "w": 6,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 6,
- "w": 6,
- "x": 6,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 1,
- "w": 6,
- "x": 12,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 6,
- "x": 18,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 6,
- "x": 0,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 6,
- "x": 6,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 6,
- "x": 12,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 14,
- "w": 6,
- "x": 18,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 13,
- "w": 6,
- "x": 6,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 15,
- "w": 6,
- "x": 12,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 17,
- "w": 6,
- "x": 18,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 16,
- "w": 6,
- "x": 0,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 18,
- "w": 6,
- "x": 6,
- "y": 16
- }
- ],
- "name": " HAProxy Ingress Overview",
- "panels": [
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Connections: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(haproxy_process_current_connection_rate{kube_cluster_name=~$cluster,proxy=$proxy})"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Sessions: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(haproxy_process_current_session_rate{kube_cluster_name=~$cluster,proxy=$proxy})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connections and Sessions",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": " max(time() - haproxy_process_start_time_seconds{kube_cluster_name=~$cluster})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Up Time",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "displayedValue": null,
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "description": "",
- "documentId": "prometheus.haproxy_frontend_status",
- "documentTimestamp": 1654773861394,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_frontend_status",
- "identity": false,
- "lastSeen": 1654764698000,
- "legacyId": "haproxy_frontend_status",
- "metricType": "gauge",
- "name": "haproxy_frontend_status",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "publicId": "haproxy_frontend_status",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "haproxy_frontend_status",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "proxy",
- "documentId": "proxy",
- "documentTimestamp": 1654773861394,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "proxy",
- "identity": false,
- "metricType": "tag",
- "name": "proxy",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "proxy",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "proxy",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 3,
- "name": "Frontend OK",
- "nullValueDisplayText": null,
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(haproxy_process_start_time_seconds{kube_cluster_name=~$cluster})"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Instances",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count (haproxy_frontend_status{kube_cluster_name=~$cluster,proxy=$proxy} == 2) or vector(0)"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Frontend FULL",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(haproxy_frontend_status{kube_cluster_name=~$cluster,proxy=$proxy} == 0 ) or vector(0)"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Frontend STOPPED",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "displayedValue": null,
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "description": "",
- "documentId": "prometheus.haproxy_backend_status",
- "documentTimestamp": 1654773861394,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_backend_status",
- "identity": false,
- "lastSeen": 1654764698000,
- "legacyId": "haproxy_backend_status",
- "metricType": "gauge",
- "name": "haproxy_backend_status",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "publicId": "haproxy_backend_status",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "haproxy_backend_status",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "proxy",
- "documentId": "proxy",
- "documentTimestamp": 1654773861394,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "proxy",
- "identity": false,
- "metricType": "tag",
- "name": "proxy",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "proxy",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "proxy",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 7,
- "name": "Backends OK",
- "nullValueDisplayText": null,
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Connections: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(rate(haproxy_process_ssl_connections_total{kube_cluster_name=~$cluster,proxy=$proxy}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "SSL Connections",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Jobs: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(haproxy_process_jobs{kube_cluster_name=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Active Jobs",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Requests Denied: Proxy < Cluster ",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(rate(haproxy_frontend_requests_denied_total{kube_cluster_name=~$cluster,proxy=$proxy}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Responses Denied: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(rate(haproxy_frontend_responses_denied_total{kube_cluster_name=~$cluster,proxy=$proxy}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Request Error: Proxy < Cluster ",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(rate(haproxy_frontend_request_errors_total{kube_cluster_name=~$cluster,proxy=$proxy}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Request and Response Errors",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Tasks: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(haproxy_process_current_tasks{kube_cluster_name=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Tasks",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Active: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(haproxy_process_active_peers{kube_cluster_name=~$cluster})"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Connected: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(haproxy_process_active_peers{kube_cluster_name=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Active and Connected Peers",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Queued: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(haproxy_process_current_run_queue{kube_cluster_name=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Process Run Queue",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Connection Denied: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(rate(haproxy_frontend_denied_connections_total{kube_cluster_name=~$cluster,proxy=$proxy}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Session Denied: Proxy < Cluster ",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(rate(haproxy_frontend_denied_sessions_total{kube_cluster_name=~$cluster,proxy=$proxy}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connection ans Session Denied",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Proxy < Cluster ",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name) (rate(haproxy_frontend_bytes_in_total{kube_cluster_name=~$cluster,proxy=$proxy}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Frontend Bytes In",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name) (rate(haproxy_frontend_bytes_out_total{kube_cluster_name=~$cluster,proxy=$proxy}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Frontend Bytes Out",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name) (rate(haproxy_frontend_connections_total{kube_cluster_name=~$cluster,proxy=$proxy}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Frontend Connections",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(rate(haproxy_frontend_connections_total{kube_cluster_name=~$cluster,proxy=$proxy}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Frontend Requests (TCP and HTTP)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kube_cluster_name",
- "documentId": "kube_cluster_name",
- "documentTimestamp": 1654773861395,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_cluster_name",
- "identity": false,
- "metricType": "tag",
- "name": "kube_cluster_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kube_cluster_name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "proxy",
- "documentId": "proxy",
- "documentTimestamp": 1654773861395,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "proxy",
- "identity": false,
- "metricType": "tag",
- "name": "proxy",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "proxy",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "proxy",
- "isVariable": true,
- "operand": "proxy",
- "operator": "equals",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/haproxy-ingress/include/dashboard-Sysdig-HAProxy-Proxy-Golden-Signals-2.1.json b/resources/haproxy-ingress/include/dashboard-Sysdig-HAProxy-Proxy-Golden-Signals-2.1.json
deleted file mode 100644
index 1ac5aa82..00000000
--- a/resources/haproxy-ingress/include/dashboard-Sysdig-HAProxy-Proxy-Golden-Signals-2.1.json
+++ /dev/null
@@ -1,997 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 1,
- "w": 12,
- "x": 0,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 6,
- "x": 12,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 6,
- "x": 18,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 12,
- "x": 12,
- "y": 3
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 9
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 9
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 15
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 12,
- "x": 12,
- "y": 15
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 8,
- "x": 0,
- "y": 21
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 8,
- "x": 8,
- "y": 21
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 8,
- "x": 16,
- "y": 21
- }
- ],
- "name": " HAProxy Proxy Golden Signals",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Error rate",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * sum(rate(haproxy_backend_http_responses_total{code!=\"2xx\",proxy=$proxy}[$__interval])) / sum(rate(haproxy_backend_http_responses_total{proxy=$proxy}[$__interval])) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "HTTP Error Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(haproxy_backend_status{proxy=$proxy}==1 or vector(0))"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Instances UP",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(haproxy_backend_status{proxy='$proxy'}==0 or vector(0))"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Instances Down",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "high",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * max(rate(haproxy_backend_sessions_total{proxy=$proxy}[$__interval]) / haproxy_backend_limit_sessions{proxy=$proxy})"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Sessions Usage",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(haproxy_backend_current_queue{proxy=$proxy})"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Queued Requests",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Requets",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * sum(rate(haproxy_backend_requests_denied_total{proxy=$proxy}[$__interval])) / sum(rate(haproxy_backend_http_requests_total{proxy=$proxy}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Responses",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * sum(rate(haproxy_backend_responses_denied_total{proxy=$proxy}[$__interval])) / sum(rate(haproxy_backend_http_responses_total{proxy=$proxy}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Denial Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{code}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (code) (rate(haproxy_backend_http_responses_total{code!=\"2xx\",proxy=$proxy}[$__interval])) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "HTTP Error by Code",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "By Client",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(haproxy_backend_client_aborts_total{proxy=$proxy}[$__interval])) "
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "By Server",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(haproxy_backend_client_aborts_total{proxy=$proxy}[$__interval])) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Data Transfers Aborted",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "haproxy_backend_response_time_average_seconds{proxy=$proxy}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Mean Response Time",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Queue Time",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "max(haproxy_backend_queue_time_average_seconds{proxy=$proxy})"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Connect Time",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "max(haproxy_backend_connect_time_average_seconds{proxy=$proxy})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Mean Connect and Queue Time",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Inbound",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum(rate(haproxy_backend_bytes_in_total{proxy=$proxy}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Outbound",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum(rate(haproxy_backend_bytes_out_total{proxy=$proxy}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Throughput",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "IOPS",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(haproxy_backend_http_responses_total{proxy=$proxy}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "IOPS",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Inbound",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum(rate(haproxy_backend_bytes_in_total{proxy=$proxy}[$__interval])) / sum(rate(haproxy_backend_http_requests_total{proxy=$proxy}[$__interval])) "
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Outbound",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum(rate(haproxy_backend_bytes_out_total{proxy=$proxy}[$__interval])) / sum(rate(haproxy_backend_http_responses_total{proxy=$proxy}[$__interval])) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Request and Response Size",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1589452422089,
- "customerId": 995,
- "deferred": false,
- "documentId": "995-3902954642948798253",
- "documentTimestamp": 1589452422089,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "proxy",
- "identity": false,
- "label": true,
- "lastSeen": 1589450394178,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "proxy",
- "identity": false,
- "lastSeen": 1589450394178,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "proxy",
- "isVariable": true,
- "operand": "proxy",
- "operator": "equals",
- "value": [],
- "variable": true
- }
- ]
- }
-}
diff --git a/resources/haproxy-ingress/include/dashboard-Sysdig-HAProxy-Proxy-Golden-Signals-2.3.json b/resources/haproxy-ingress/include/dashboard-Sysdig-HAProxy-Proxy-Golden-Signals-2.3.json
deleted file mode 100644
index ae84171f..00000000
--- a/resources/haproxy-ingress/include/dashboard-Sysdig-HAProxy-Proxy-Golden-Signals-2.3.json
+++ /dev/null
@@ -1,1145 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 1,
- "w": 12,
- "x": 0,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 6,
- "x": 12,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 6,
- "x": 18,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 12,
- "x": 12,
- "y": 3
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 9
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 9
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 15
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 12,
- "x": 12,
- "y": 15
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 8,
- "x": 0,
- "y": 21
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 8,
- "x": 8,
- "y": 21
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 8,
- "x": 16,
- "y": 21
- }
- ],
- "name": " HAProxy Ingress service details",
- "panels": [
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Error rate: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * sum by (proxy,kube_cluster_name)(rate(haproxy_backend_http_responses_total{code!=\"2xx\",kube_cluster_name =~ $cluster, proxy=$proxy}[$__interval])) / sum by (proxy,kube_cluster_name)(rate(haproxy_backend_http_responses_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval])) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "HTTP Error Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(haproxy_backend_status{kube_cluster_name =~ $cluster, proxy = $proxy}==1 or vector(0))"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Instances UP",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(haproxy_backend_status{kube_cluster_name =~ $cluster, proxy = $proxy}==0 or vector(0))"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Instances Down",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "high",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * max(rate(haproxy_backend_sessions_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval]) / haproxy_backend_limit_sessions{$__scope})"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Sessions Usage",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(haproxy_backend_current_queue{kube_cluster_name =~ $cluster, proxy = $proxy})"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Queued Requests",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Requests: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * sum by (proxy,kube_cluster_name)(rate(haproxy_backend_requests_denied_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval])) / sum by (proxy,kube_cluster_name)(rate(haproxy_backend_http_requests_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Responses: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * sum by (proxy,kube_cluster_name)(rate(haproxy_backend_responses_denied_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval])) / sum by (proxy,kube_cluster_name)(rate(haproxy_backend_http_responses_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Denial Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Code < Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{code}} < {{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (code,proxy,kube_cluster_name) (rate(haproxy_backend_http_responses_total{code!=\"2xx\",kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval])) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "HTTP Error by Code",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " By Client: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(rate(haproxy_backend_client_aborts_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval])) "
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " By Server: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(rate(haproxy_backend_client_aborts_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval])) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Data Transfers Aborted",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Instances < Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "haproxy_backend_response_time_average_seconds{kube_cluster_name =~ $cluster, proxy = $proxy}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Mean Response Time",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Queue Time < Proxy < Cluster ",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "max by (proxy,kube_cluster_name)(haproxy_backend_queue_time_average_seconds{kube_cluster_name =~ $cluster, proxy = $proxy})"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Connect Time: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "max by (proxy,kube_cluster_name)(haproxy_backend_connect_time_average_seconds{kube_cluster_name =~ $cluster, proxy = $proxy})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Mean Connect and Queue Time",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Inbound: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(rate(haproxy_backend_bytes_in_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Outbound: Proxy < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(rate(haproxy_backend_bytes_out_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Throughput",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "IOPS: Proxy < Cluster ",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(rate(haproxy_backend_http_responses_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "IOPS",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Inbound: Proxy < Cluster ",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(rate(haproxy_backend_bytes_in_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval])) / sum by (proxy,kube_cluster_name)(rate(haproxy_backend_http_requests_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval])) "
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Outbound: Proxy < Cluster ",
- "timeSeriesDisplayNameTemplate": "{{proxy}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by (proxy,kube_cluster_name)(rate(haproxy_backend_bytes_out_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval])) / sum by (proxy,kube_cluster_name)(rate(haproxy_backend_http_responses_total{kube_cluster_name =~ $cluster, proxy = $proxy}[$__interval])) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Request and Response Size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kube_cluster_name",
- "documentId": "kube_cluster_name",
- "documentTimestamp": 1654773861966,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_cluster_name",
- "identity": false,
- "metricType": "tag",
- "name": "kube_cluster_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kube_cluster_name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "proxy",
- "documentId": "proxy",
- "documentTimestamp": 1654773861966,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "proxy",
- "identity": false,
- "metricType": "tag",
- "name": "proxy",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "proxy",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "proxy",
- "isVariable": true,
- "operand": "proxy",
- "operator": "equals",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/haproxy-ingress/include/sysdig-agent-config.yaml b/resources/haproxy-ingress/include/sysdig-agent-config.yaml
deleted file mode 100644
index 1a1b977f..00000000
--- a/resources/haproxy-ingress/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,47 +0,0 @@
-apiVersion: v1
-data:
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: your-cluster-name
- jmx:
- enabled: false
- metrics_excess_log: true
- app_checks_enabled: false
- 10s_flush_enable: true
- use_promscrape: true
- prometheus:
- enabled: true
- histograms: true
- ingest_raw: true
- ingest_calculated: false
- interval: 10
- log_errors: true
- max_metrics: 3000
- max_metrics_per_process: 20000
- process_filter:
- - include:
- kubernetes.pod.annotation.prometheus.io/scrape: true
- conf:
- path: "{kubernetes.pod.annotation.prometheus.io/path}"
- port: "{kubernetes.pod.annotation.prometheus.io/port}"
- snaplen: 512
- tags: role:cluster
- prometheus.yaml: |
- scrape_configs:
- - job_name: 'haproxy'
- metrics_path: /metrics
- params:
- scope:
- - backend
- - frontend
- - global
- sysdig_sd_configs:
- - tags:
- namespace: default
- deployment: haproxy-ingress-kubernetes-ingress
-kind: ConfigMap
-metadata:
- labels:
- app: sysdig-agent
- name: sysdig-agent
- namespace: sysdig-agent
\ No newline at end of file
diff --git a/resources/haproxy-ingress/setup-guide.yaml b/resources/haproxy-ingress/setup-guide.yaml
index 1a51c591..e43cd1de 100644
--- a/resources/haproxy-ingress/setup-guide.yaml
+++ b/resources/haproxy-ingress/setup-guide.yaml
@@ -5,7 +5,4 @@ version: 1.0.0
appVersion:
- '2.1'
descriptionFile: INSTALL.md
-configurations:
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
-
+configurations: []
\ No newline at end of file
diff --git a/resources/haproxy-ingress/setup-guidev2.3.yaml b/resources/haproxy-ingress/setup-guidev2.3.yaml
index e37b3f13..c0fdb2cc 100644
--- a/resources/haproxy-ingress/setup-guidev2.3.yaml
+++ b/resources/haproxy-ingress/setup-guidev2.3.yaml
@@ -5,7 +5,4 @@ version: 1.0.0
appVersion:
- '2.3'
descriptionFile: INSTALLv2.3.md
-configurations:
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
-
+configurations: []
\ No newline at end of file
diff --git a/resources/harbor/INSTALL-v1.1.md b/resources/harbor/INSTALL-v1.1.md
index 19933242..b053e326 100644
--- a/resources/harbor/INSTALL-v1.1.md
+++ b/resources/harbor/INSTALL-v1.1.md
@@ -11,9 +11,4 @@ To install the exporter, do the following:
```
kubectl apply -f harbor.yaml
-```
-3. Apply changes:
-
-```
- kubectl apply -f sysdig-agent.yaml
-```
+```
\ No newline at end of file
diff --git a/resources/harbor/dashboards-v1.1.yaml b/resources/harbor/dashboards-v1.1.yaml
index 4883c030..aa47745b 100644
--- a/resources/harbor/dashboards-v1.1.yaml
+++ b/resources/harbor/dashboards-v1.1.yaml
@@ -13,13 +13,4 @@ configurations:
* Harbor Storage
* Harbor Projects
* Harbor Tasks
- file: include/dashboard-Grafana-Harbor-v1.1.json
-- name: Harbor
- kind: Sysdig
- image: harbor/images/harbor_sysdig-v1.1.png
- description: |
- This dashboard offers information on:
- * Harbor Storage
- * Harbor Projects
- * Harbor Tasks
- file: include/dashboard-Sysdig-Harbor-v1.1.json
+ file: include/dashboard-Grafana-Harbor-v1.1.json
\ No newline at end of file
diff --git a/resources/harbor/dashboards-v2.2.yaml b/resources/harbor/dashboards-v2.2.yaml
index 846505b0..cf125733 100644
--- a/resources/harbor/dashboards-v2.2.yaml
+++ b/resources/harbor/dashboards-v2.2.yaml
@@ -14,13 +14,3 @@ configurations:
* Harbor Projects
* Harbor Tasks
file: include/dashboard-Grafana-Harbor-v1.1.json
-- name: Harbor
- kind: Sysdig
- image: harbor/images/harbor_sysdig-v2.2.png
- description: |
- This dashboard offers information on:
- * Harbor Storage
- * Harbor Projects
- * Harbor Tasks
- * Harbor Registry
- file: include/dashboard-Sysdig-Harbor-v2.2.json
diff --git a/resources/harbor/images/harbor_sysdig-v1.1.png b/resources/harbor/images/harbor_sysdig-v1.1.png
deleted file mode 100644
index c2dad5ef..00000000
Binary files a/resources/harbor/images/harbor_sysdig-v1.1.png and /dev/null differ
diff --git a/resources/harbor/images/harbor_sysdig-v2.2.png b/resources/harbor/images/harbor_sysdig-v2.2.png
deleted file mode 100644
index 034a5fde..00000000
Binary files a/resources/harbor/images/harbor_sysdig-v2.2.png and /dev/null differ
diff --git a/resources/harbor/include/dashboard-Sysdig-Harbor-v1.1.json b/resources/harbor/include/dashboard-Sysdig-Harbor-v1.1.json
deleted file mode 100644
index 45498249..00000000
--- a/resources/harbor/include/dashboard-Sysdig-Harbor-v1.1.json
+++ /dev/null
@@ -1,642 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "layout": [
- {
- "h": 2,
- "panelId": 1,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 2,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 3,
- "w": 6,
- "x": 18,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 6,
- "x": 12,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 12,
- "x": 0,
- "y": 2
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 12,
- "x": 12,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 7,
- "w": 5,
- "x": 0,
- "y": 5
- },
- {
- "h": 2,
- "panelId": 8,
- "w": 4,
- "x": 5,
- "y": 5
- },
- {
- "h": 2,
- "panelId": 9,
- "w": 4,
- "x": 9,
- "y": 5
- },
- {
- "h": 2,
- "panelId": 10,
- "w": 4,
- "x": 13,
- "y": 5
- },
- {
- "h": 2,
- "panelId": 11,
- "w": 4,
- "x": 17,
- "y": 5
- },
- {
- "h": 3,
- "panelId": 12,
- "w": 12,
- "x": 0,
- "y": 7
- },
- {
- "h": 3,
- "panelId": 13,
- "w": 12,
- "x": 12,
- "y": 7
- }
- ],
- "name": "Harbor",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "harbor_up"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Harbor service",
- "numberThresholds": {
- "base": {
- "displayText": "Down",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "Up",
- "inputFormat": "1",
- "severity": "ok",
- "value": 0.1
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "harbor_project_count_total{type=\"total_project\"}"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Total projects",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "harbor_project_count_total{type=\"public_project\"}"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Public projects",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "harbor_project_count_total{type=\"public_project\"}"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Private projects",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{repo_name}}: {{type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "harbor_quotas_size_bytes"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Project quota usage: storage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{repo_name}}: {{type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "harbor_quotas_count_total"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Project quota usage: repository count",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(harbor_replication_status) / count(harbor_replication_status)"
- }
- ],
- "description": "",
- "id": 7,
- "name": "Replication status",
- "numberThresholds": {
- "base": {
- "displayText": "Failed",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "OK",
- "inputFormat": "1",
- "severity": "ok",
- "value": 0.1
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(harbor_replication_tasks{result=\"succeed\"})"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Tasks succeeded",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(harbor_replication_tasks{result=\"stopped\"})"
- }
- ],
- "description": "",
- "id": 9,
- "name": "Tasks stopped",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(harbor_replication_tasks{result=\"in_progress\"})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "Tasks in progress",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(harbor_replication_tasks{result=\"failed\"})"
- }
- ],
- "description": "",
- "id": 11,
- "name": "Tasks failed",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{repo_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "irate(harbor_repositories_pull_total[1d])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Pulls per hour",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{repo_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "harbor_repositories_tags_total"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 0,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Tags per repository",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": null,
- "displayName": "Repository",
- "isVariable": true,
- "operand": "repo_name",
- "operator": "equals",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/harbor/include/dashboard-Sysdig-Harbor-v2.2.json b/resources/harbor/include/dashboard-Sysdig-Harbor-v2.2.json
deleted file mode 100644
index 58d9002e..00000000
--- a/resources/harbor/include/dashboard-Sysdig-Harbor-v2.2.json
+++ /dev/null
@@ -1,1841 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 1,
- "panelId": 19,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 7,
- "w": 4,
- "x": 0,
- "y": 1
- },
- {
- "h": 2,
- "panelId": 8,
- "w": 4,
- "x": 4,
- "y": 1
- },
- {
- "h": 2,
- "panelId": 9,
- "w": 4,
- "x": 8,
- "y": 1
- },
- {
- "h": 2,
- "panelId": 10,
- "w": 4,
- "x": 12,
- "y": 1
- },
- {
- "h": 2,
- "panelId": 11,
- "w": 4,
- "x": 16,
- "y": 1
- },
- {
- "h": 2,
- "panelId": 12,
- "w": 4,
- "x": 20,
- "y": 1
- },
- {
- "h": 2,
- "panelId": 26,
- "w": 24,
- "x": 0,
- "y": 3
- },
- {
- "h": 2,
- "panelId": 1,
- "w": 4,
- "x": 0,
- "y": 5
- },
- {
- "h": 2,
- "panelId": 2,
- "w": 4,
- "x": 4,
- "y": 5
- },
- {
- "h": 2,
- "panelId": 3,
- "w": 4,
- "x": 8,
- "y": 5
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 4,
- "x": 12,
- "y": 5
- },
- {
- "h": 2,
- "panelId": 5,
- "w": 4,
- "x": 16,
- "y": 5
- },
- {
- "h": 2,
- "panelId": 6,
- "w": 4,
- "x": 20,
- "y": 5
- },
- {
- "h": 1,
- "panelId": 27,
- "w": 24,
- "x": 0,
- "y": 7
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 8,
- "x": 0,
- "y": 8
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 8,
- "x": 8,
- "y": 8
- },
- {
- "h": 6,
- "panelId": 15,
- "w": 8,
- "x": 16,
- "y": 8
- },
- {
- "h": 6,
- "panelId": 24,
- "w": 8,
- "x": 0,
- "y": 14
- },
- {
- "h": 6,
- "panelId": 16,
- "w": 8,
- "x": 8,
- "y": 14
- },
- {
- "h": 6,
- "panelId": 23,
- "w": 8,
- "x": 16,
- "y": 14
- },
- {
- "h": 1,
- "panelId": 25,
- "w": 24,
- "x": 0,
- "y": 20
- },
- {
- "h": 6,
- "panelId": 17,
- "w": 8,
- "x": 0,
- "y": 21
- },
- {
- "h": 6,
- "panelId": 18,
- "w": 8,
- "x": 8,
- "y": 21
- },
- {
- "h": 6,
- "panelId": 20,
- "w": 8,
- "x": 16,
- "y": 21
- },
- {
- "h": 6,
- "panelId": 21,
- "w": 8,
- "x": 0,
- "y": 27
- },
- {
- "h": 6,
- "panelId": 22,
- "w": 8,
- "x": 8,
- "y": 27
- },
- {
- "h": 6,
- "panelId": 28,
- "w": 8,
- "x": 16,
- "y": 27
- }
- ],
- "name": "Harbor\u00a0",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(harbor_project_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Projects",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(harbor_project_repo_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,project_name=~$project})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Repositories",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg(harbor_project_member_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,project_name=~$project})"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Members by Project",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum(harbor_project_quota_usage_byte{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,project_name=~$project})"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Total used resources",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(harbor_artifact_pulled{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,project_name=~$project})"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Number of images pulled",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(harbor_artifact_pulled{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,project_name=~$project})"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Total number of artifacts",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(harbor_up{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,component=\"core\"})"
- }
- ],
- "description": "",
- "id": 7,
- "name": "Harbor Core Up",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "harbor_up{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,component=\"database\"}"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Harbor Database Up",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "harbor_up{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,component=\"registry\"}"
- }
- ],
- "description": "",
- "id": 9,
- "name": "Harbor Registry Up",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "harbor_up{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,component=\"redis\"}"
- }
- ],
- "description": "",
- "id": 10,
- "name": "Harbor Redis Up",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "harbor_up{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,component=\"trivy\"}"
- }
- ],
- "description": "",
- "id": 11,
- "name": "Harbor Trivy Up",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "harbor_up{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,component=\"jobservice\"}"
- }
- ],
- "description": "",
- "id": 12,
- "name": "Harbor Jobservice Up",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Type < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{type}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "harbor_task_queue_size{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Task Queue Size by Type",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Type < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{type}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ns",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "harbor_task_queue_latency{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Task Queue Latency by Type",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Type < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{type}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ns",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "harbor_task_concurrency{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Task Concurrency by Type",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation < Method < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{operation}} < {{method}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "harbor_core_http_request_duration_seconds{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod,quantile=\"0.9\"}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Core Request Duration",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Method < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{method}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95,sum(rate(registry_http_request_duration_seconds_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod}[$__range]))by (kube_cluster_name,kube_namespace_name,kube_pod_name,le,method))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Registry Request Duration",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Handler < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{handler}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95,sum(rate(registry_http_request_size_bytes_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod}[$__range]))by (kube_cluster_name,kube_namespace_name,kube_pod_name,le,handler))\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Registry Request Size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 19,
- "markdownSource": "# Harbor Health",
- "name": "New Panel",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Code < Handler < Method < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{code}} < {{handler}} < {{method}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(registry_http_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod,code=~\"2..\"}[$__range]))by (kube_cluster_name,kube_pod_name,kube_namespace_name,handler,code,method)"
- },
- {
- "displayInfo": {
- "displayName": "Code < Handler < Method < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{code}} < {{handler}} < {{method}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(registry_http_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod,code=~\"3..\"}[$__range]))by (kube_cluster_name,kube_pod_name,kube_namespace_name,handler,code,method)"
- },
- {
- "displayInfo": {
- "displayName": "Code < Handler < Method < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{code}} < {{handler}} < {{method}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(registry_http_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod,code=~\"4..\"}[$__range]))by (kube_cluster_name,kube_pod_name,kube_namespace_name,handler,code,method)"
- },
- {
- "displayInfo": {
- "displayName": "Code < Handler < Method < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{code}} < {{handler}} < {{method}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(registry_http_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod,code=~\"5..\"}[$__range]))by (kube_cluster_name,kube_pod_name,kube_namespace_name,handler,code,method)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "HTTP request Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Handler < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{handler}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95,sum(rate(registry_http_response_size_bytes_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod}[$__range]))by (kube_cluster_name,kube_namespace_name,kube_pod_name,le,handler))\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Registry Response Size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Action < Driver < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{action}} < {{driver}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95,sum(rate(registry_storage_action_seconds_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod}[$__range]))by (kube_cluster_name,kube_namespace_name,kube_pod_name,le,action,driver))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Registry Storage Action",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Status < Type < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{status}} < {{type}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "harbor_jobservice_task_process_time_seconds{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod,quantile=\"0.9\"}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "JobService Task Process Time",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Project < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{project_name}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(harbor_project_quota_usage_byte{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod,project_name=~$project}> 0 ) /(harbor_project_quota_byte{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod,project_name=~$project})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 24,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Quota Usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 25,
- "markdownSource": "# Registry",
- "name": "New Panel (2)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 26,
- "markdownSource": "# Project Stats\n\nYou can filter one specific project in the scope in order to see the stats for each project",
- "name": "New Panel (3)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 27,
- "markdownSource": "# Golden Signals",
- "name": "New Panel (4)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(registry_http_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod,code=~\"4..|5..\"}[$__range]))by (kube_cluster_name,kube_pod_name,kube_namespace_name)/sum(rate(registry_http_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_pod_name=~$pod}[$__range]))by (kube_cluster_name,kube_pod_name,kube_namespace_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 28,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "HTTP Error Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1633534725892,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--6139949314852700299",
- "documentTimestamp": 1633534725892,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1612202275360,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1612202275360,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1633533780270,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1633533780270,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1633534725892,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--7083949535721519842",
- "documentTimestamp": 1633534725892,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1612202275360,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1612202275360,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1633533780477,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1633533780477,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1633534725892,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--7638853878924989689",
- "documentTimestamp": 1633534725892,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1612202275360,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1612202275360,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "label": true,
- "lastSeen": 1633533780270,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "lastSeen": 1633533780270,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.pod"
- ],
- "publicId": "kube_pod_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "isVariable": true,
- "operand": "kubernetes.pod.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "project_name",
- "documentId": "project_name",
- "documentTimestamp": 1633534725918,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "project_name",
- "identity": false,
- "metricType": "tag",
- "name": "project_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "project_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "project",
- "isVariable": true,
- "operand": "project_name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/harbor/include/harbor.yaml b/resources/harbor/include/harbor.yaml
index 2c84f374..37216998 100644
--- a/resources/harbor/include/harbor.yaml
+++ b/resources/harbor/include/harbor.yaml
@@ -1,21 +1,4 @@
---
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |-
- metrics_excess_log: true
- use_promscrape: true
- prometheus:
- enabled: true
- histograms: false
- ingest_raw: true
- ingest_calculated: false
- max_metrics: 3000
- max_metrics_per_process: 20000
----
kind: Service
apiVersion: v1
metadata:
@@ -38,6 +21,9 @@ metadata:
name: harbor-exporter
labels:
app: harbor-exporter
+ annotations:
+ prometheus.io/port: "9107"
+ prometheus.io/scrape: "true"
spec:
replicas: 1
selector:
diff --git a/resources/harbor/include/sysdig-agent.yaml b/resources/harbor/include/sysdig-agent.yaml
deleted file mode 100644
index 3a0f41a6..00000000
--- a/resources/harbor/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: YourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/harbor/setup-guide-v1.1.yaml b/resources/harbor/setup-guide-v1.1.yaml
index 23e9faa1..989641d7 100644
--- a/resources/harbor/setup-guide-v1.1.yaml
+++ b/resources/harbor/setup-guide-v1.1.yaml
@@ -5,8 +5,6 @@ version: 1.0.0
appVersion:
- '1.1'
configurations:
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
- name: harbor.yaml
file: include/harbor.yaml
descriptionFile: INSTALL-v1.1.md
diff --git a/resources/harbor/setup-guide-v2.2.yaml b/resources/harbor/setup-guide-v2.2.yaml
index 3af2beff..5358b124 100644
--- a/resources/harbor/setup-guide-v2.2.yaml
+++ b/resources/harbor/setup-guide-v2.2.yaml
@@ -5,6 +5,4 @@ version: 1.0.0
appVersion:
- '2.2'
descriptionFile: INSTALL-v2.2.md
-configurations:
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
\ No newline at end of file
+configurations: []
\ No newline at end of file
diff --git a/resources/istio/INSTALL.md b/resources/istio/INSTALL.md
deleted file mode 100644
index 1301f92e..00000000
--- a/resources/istio/INSTALL.md
+++ /dev/null
@@ -1,69 +0,0 @@
-# Installing the exporter
-The Istio components that are installed are the exporters with endpoints. When you install Istio with the `istioctl` tool a prometheus server is installed by default with the configuration to get all the targets.
-
-If you want the targets in your prometheus server, do one of the following:
-
-* Federate the prometheus (simplest method)
-* Annotate all the pods and sidecars (complex method)
-
-# Gather the metrics from the prometheus server deployed by Istio
-
-The Prometheus server provided by Istio includes all the targets with all the associated metrics.
-
-1. Create the rules with the only metrics you need from the `recording rules` tab downloaded as `rules.yaml`.
- ```
- kubectl apply -f rules.yaml
- ```
-
-2. Mount the new rules in the Prometheus server:
- ```sh
- kubectl -n istio-system patch deploy prometheus -p '{"spec":{"template":{"spec":{"volumes":[{"name":"config-rules","configMap":{"defaultMode":420,"name":"rules"}}]}}}}'
-
- kubectl -n istio-system patch deploy prometheus -p '{"spec":{"template":{"spec":{"containers":[{"name":"prometheus","volumeMounts": [{"mountPath": "/opt/rules","name": "config-rules"}]}]}}}}'
-
- kubectl -n istio-system patch deploy prometheus -p '{"spec":{"template":{"metadata":{"annotations":{"prometheus.io/scrape": "true", "prometheus.io/path": "/federate", "prometheus.io/port": "9090"}}}}}'
- ```
-
-3. Update the prometheus to get the new rules:
- ```
- kubectl -n istio-system edit cm prometheus
- ```
-
- ```yaml
- global:
- scrape_interval: 15s
- rule_files:
- - /opt/rules/rules.yaml
- ```
- As the prometheus server doesn't have any pod to reload the configuration and the API is not active, delete it in order to get the new configuration.
-
-4. Delete the pod being xxx the id given to the pods:
- ```sh
- kubectl -n istio-system delete pods $(kubectl get pods --namespace istio-system -l "app=prometheus,release=istio" -o jsonpath="{.items[0].metadata.name}")
- ```
-
-5. Gather the metrics with the agent adding the federation job for Istio. Given below is an example of the configmap:
-
- ```yaml
- - job_name: 'prometheus' # config for federation
- honor_labels: true
- metrics_path: '/federate'
- metric_relabel_configs:
- - regex: 'kubernetes_pod_name'
- action: labeldrop
- params:
- 'match[]':
- - '{sysdig="true"}'
- sysdig_sd_configs:
- - tags:
- namespace: istio-system
- deployment: prometheus
- ```
- Use the file named `patch.yaml` to patch it:
- ```
- kubectl -n sysdig-agent patch cm sysdig-agent -p "$(cat patch.yaml)"
- ```
- Alternatively, apply the `sysdig-agent` confimap provided:
- ```
- kubectl -n sysdig-agent apply -f sysdig-agent.yaml
- ```
diff --git a/resources/istio/README.md b/resources/istio/README.md
index 953a9ff6..14e3ad06 100644
--- a/resources/istio/README.md
+++ b/resources/istio/README.md
@@ -7,7 +7,7 @@ Istio can do the following:
* See what's happening with rich automatic tracing, monitoring, and logging of all your services.
# Prometheus and exporters
-Istio already provides a Prometheus and a Grafana servers with all the metrics you need to monitor. However, Prometheus is not a LTS and you only can get a few hours of metrics because of the retention limit provided by the given Prometheus server. If you want additional hours, use external services such as the Sysdig agent.
+Istio already provides a Prometheus and a Grafana servers with all the metrics you need to monitor.
# Metrics
- Services
diff --git a/resources/istio/RECORDING-RULES.md b/resources/istio/RECORDING-RULES.md
deleted file mode 100644
index 70a99221..00000000
--- a/resources/istio/RECORDING-RULES.md
+++ /dev/null
@@ -1,4 +0,0 @@
-The recording rules for Sysdig, just download it and apply it.
- ```
- kubectl apply -f rules.yaml
- ```
diff --git a/resources/istio/dashboards.v1.14.yaml b/resources/istio/dashboards.v1.14.yaml
index a00427f4..7e29fde3 100644
--- a/resources/istio/dashboards.v1.14.yaml
+++ b/resources/istio/dashboards.v1.14.yaml
@@ -4,34 +4,4 @@ app: Istio
version: 1.0.0
appVersion:
- '1.14'
-configurations:
-- name: Istiod Service
- kind: Sysdig
- image: istio/images/servicev1.14.png
- description: |
- This dashboard offers information on:
- * Istio Service
- * Request rates
- * Request duration
- * Http and TCP connections
- file: include/servicev1.14.json
-- name: Istio Control Plane
- kind: Sysdig
- image: istio/images/control_planev1.14.png
- description: |
- This dashboard offers information on:
- * Istio Control Plane
- * Istio Pilot
- * Istio Galley
- * IStio Mixer
- * Istio Citadel
- file: include/control_planev1.14.json
-- name: Istio Envoy
- kind: Sysdig
- image: istio/images/istio_envoyv1.14.png
- description: |
- This dashboard offers information on:
- * Istio Envoy proxy status
- * Active connections
- * 4xx and 5xx response codes
- file: include/istio_envoyv1.14.json
+configurations: []
\ No newline at end of file
diff --git a/resources/istio/dashboards.yaml b/resources/istio/dashboards.yaml
deleted file mode 100644
index 0306ceb1..00000000
--- a/resources/istio/dashboards.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-apiVersion: v1
-kind: Dashboard
-app: Istio
-version: 1.0.0
-appVersion:
-- '1.5'
-configurations:
-- name: Workload
- kind: Sysdig
- image: istio/images/workload_sysdig.png
- description: |
- This dashboard offers information on:
- * Metrics for each workload and also inbound workloads
- file: include/dashboard-Sysdig-Workload-1.5.json
-- name: Service
- kind: Sysdig
- image: istio/images/service_sysdig.png
- description: |
- This dashboard offers information on:
- * Metrics for the service and client workload
- file: include/dashboard-Sysdig-Service-1.5.json
-- name: Workload
- kind: Grafana
- image: istio/images/workload_grafana.png
- description: |
- This dashboard offers information on:
- * Metrics for each workload and also inbound workloads
- file: include/dashboard-Grafana-Workload-1.5.json
-- name: Service
- kind: Grafana
- image: istio/images/service_grafana.png
- description: |
- This dashboard offers information on:
- * Metrics for the service and client workload
- file: include/dashboard-Grafana-Service-1.5.json
diff --git a/resources/istio/description.yaml b/resources/istio/description.yaml
index 5d914dcc..14989e04 100644
--- a/resources/istio/description.yaml
+++ b/resources/istio/description.yaml
@@ -3,6 +3,5 @@ kind: Description
app: Istio
version: 1.0.0
appVersion:
-- '1.5'
- '1.14'
descriptionFile: README.md
diff --git a/resources/istio/images/control_planev1.14.png b/resources/istio/images/control_planev1.14.png
deleted file mode 100644
index 9237e145..00000000
Binary files a/resources/istio/images/control_planev1.14.png and /dev/null differ
diff --git a/resources/istio/images/istio_envoyv1.14.png b/resources/istio/images/istio_envoyv1.14.png
deleted file mode 100644
index 1a0206c5..00000000
Binary files a/resources/istio/images/istio_envoyv1.14.png and /dev/null differ
diff --git a/resources/istio/images/mesh_grafana.png b/resources/istio/images/mesh_grafana.png
deleted file mode 100644
index 2842aa55..00000000
Binary files a/resources/istio/images/mesh_grafana.png and /dev/null differ
diff --git a/resources/istio/images/perfomance_grafana.png b/resources/istio/images/perfomance_grafana.png
deleted file mode 100644
index 20a39f40..00000000
Binary files a/resources/istio/images/perfomance_grafana.png and /dev/null differ
diff --git a/resources/istio/images/service_grafana.png b/resources/istio/images/service_grafana.png
deleted file mode 100644
index eaea9296..00000000
Binary files a/resources/istio/images/service_grafana.png and /dev/null differ
diff --git a/resources/istio/images/service_sysdig.png b/resources/istio/images/service_sysdig.png
deleted file mode 100644
index d1cc950f..00000000
Binary files a/resources/istio/images/service_sysdig.png and /dev/null differ
diff --git a/resources/istio/images/servicev1.14.png b/resources/istio/images/servicev1.14.png
deleted file mode 100644
index 1203f953..00000000
Binary files a/resources/istio/images/servicev1.14.png and /dev/null differ
diff --git a/resources/istio/images/workload_grafana.png b/resources/istio/images/workload_grafana.png
deleted file mode 100644
index afa88847..00000000
Binary files a/resources/istio/images/workload_grafana.png and /dev/null differ
diff --git a/resources/istio/images/workload_sysdig.png b/resources/istio/images/workload_sysdig.png
deleted file mode 100644
index 60b71cf1..00000000
Binary files a/resources/istio/images/workload_sysdig.png and /dev/null differ
diff --git a/resources/istio/include/control_planev1.14.json b/resources/istio/include/control_planev1.14.json
deleted file mode 100644
index b96c5f91..00000000
--- a/resources/istio/include/control_planev1.14.json
+++ /dev/null
@@ -1,1593 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 4,
- "panelId": 15,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 16,
- "w": 24,
- "x": 0,
- "y": 16
- },
- {
- "h": 1,
- "panelId": 17,
- "w": 24,
- "x": 0,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 8,
- "x": 16,
- "y": 25
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 8,
- "x": 0,
- "y": 25
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 8,
- "x": 16,
- "y": 4
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 12,
- "x": 0,
- "y": 10
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 8,
- "x": 0,
- "y": 4
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 12,
- "x": 12,
- "y": 10
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 8,
- "x": 0,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 8,
- "x": 8,
- "y": 25
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 8,
- "x": 8,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 8,
- "x": 16,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 8,
- "x": 8,
- "y": 4
- }
- ],
- "name": "Istiod Control Plane",
- "panels": [
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Injection Failures < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Injection Failures < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(rate(sidecar_injection_failure_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}[$__interval])) or (absent(sidecar_injection_failure_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}) - 1)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Sidecar Injections failures",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Injection Success < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Injection Success < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(rate(sidecar_injection_success_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}[$__interval])) or (absent(sidecar_injection_success_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}) - 1)\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Sidecar Injections Success",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "p50 < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "p50 < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.5, sum(rate(pilot_proxy_convergence_time_bucket[1m])) by (le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "p90 < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "p90 < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.9, sum(rate(pilot_proxy_convergence_time_bucket[1m])) by (le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "p99 < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "p99 < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(pilot_proxy_convergence_time_bucket[1m])) by (le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Proxy Push Time",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Virtual Services < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Virtual Services",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg by(kube_cluster_name, kube_namespace_name)(pilot_virt_services{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace})"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Services < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Services < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg by(kube_cluster_name, kube_namespace_name)(pilot_services{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace})"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Connected Endpoints Pod < cluster < namepsace",
- "timeSeriesDisplayNameTemplate": "Connected Endpoints {{pod}} < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum (pilot_xds{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}) by (pod, kube_cluster_name, kube_namespace_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "ADS Monitoring",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Cluster < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Cluster < cluster < namespace",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(irate(pilot_xds_pushes{type=\"cds\"}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Endpoints < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Endpoints < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(irate(pilot_xds_pushes{type=\"eds\"}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Listeners < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Listeners < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(irate(pilot_xds_pushes{type=\"lds\"}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Routes < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Routes < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(irate(pilot_xds_pushes{type=\"rds\"}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Secrets < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Secrets < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(irate(pilot_xds_pushes{type=\"sds\"}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Nametables < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Nametables < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(irate(pilot_xds_pushes{type=\"nds\"}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pilot Pushes",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Inbound Listeners < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Inbound Listeners < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "pilot_conflict_inbound_listener{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"} or vector(0)"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Outbound Listeners (http over current tcp) < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Outbound Listeners (http over current tcp) < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "pilot_conflict_outbound_listener_http_over_current_tcp{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"} or vector(0)"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Outbound Listeners (tcp over current tcp) < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Outbound Listeners (tcp over current tcp) < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "pilot_conflict_outbound_listener_tcp_over_current_tcp{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"} or vector(0)"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Outbound Listeners (tcp over current http) < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Outbound Listeners (tcp over current http) < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "pilot_conflict_outbound_listener_tcp_over_current_http{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"} or vector(0)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Conflicts",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "XDS Connections < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "XDS Connections < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name, kube_namespace_name)(irate(envoy_cluster_upstream_cx_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,cluster_name=\"xds-grpc\"}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "XDS Connection Failures < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "XDS Connection Failures < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name, kube_namespace_name)(irate(envoy_cluster_upstream_cx_connect_fail{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,cluster_name=\"xds-grpc\"}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Envoy Restarts < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Envoy Restarts < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name, kube_namespace_name)(increase(envoy_server_hot_restart_epoch{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Envoy Details",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Validations (Success) < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Validations (Success) < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(rate(galley_validation_passed{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}[$__interval])) or (absent(galley_validation_passed{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}) - 1)"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Validation (Failure) < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "Validation (Failure) < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(rate(galley_validation_failed{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}[$__interval])) or (absent(galley_validation_failed{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}) - 1)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Configuration validation",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "XDS Active Connections < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "XDS Active Connections < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(envoy_cluster_upstream_cx_active{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,cluster_name=\"xds-grpc\"})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "XDS: X (Resource like endpoint, cluster, listener..) Discovery Service",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "XDS Active Connections",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "XDS Response Bytes Max < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "XDS Response Bytes Max < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max(rate(envoy_cluster_upstream_cx_rx_bytes_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,cluster_name=\"xds-grpc\"}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "XDS Response Bytes Average < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "XDS Response Bytes Average < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "quantile(0.5, rate(envoy_cluster_upstream_cx_rx_bytes_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,cluster_name=\"xds-grpc\"}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "XDS Request Bytes Max < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "XDS Request Bytes Max < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max(rate(envoy_cluster_upstream_cx_tx_bytes_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,cluster_name=\"xds-grpc\"}[$__interval]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "XDS Request Bytes Average < cluster < namespace",
- "timeSeriesDisplayNameTemplate": "XDS Request Bytes Average < {{kube_cluster_name}} < {{kube_namespace_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "quantile(.5, rate(envoy_cluster_upstream_cx_tx_bytes_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,cluster_name=\"xds-grpc\"}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "XDS: X (Resource like endpoint, cluster, listener..) Discovery Service",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "XDS Requests Size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 15,
- "markdownSource": "# Pilot Information\n\n\ud83d\udea9 LDS (Listener Discovery Service) : The listener discovery service (LDS) is an optional API that Envoy will call to dynamically fetch listeners.\n\n\ud83d\udea9 RDS (Route Discovery Service): The route discovery service (RDS) API is an optional API that Envoy will call to dynamically fetch route configurations.\n\n\ud83d\udea9 EDS (Endpoint Discovery Service): The endpoint discovery service is a xDS management server based on gRPC or REST-JSON API server used by Envoy to fetch cluster members.\n\n\ud83d\udea9 CDS (Cluster Discovery Service): The cluster discovery service (CDS) is an optional API that Envoy will call to dynamically fetch cluster manager members.\n\n\ud83d\udea9 ADS (Aggregated Discovery Service): Discovery services for endpoints, clusters, routes, and listeners are retained in the package envoy.api.v2 for backwards compatibility with existing management servers.",
- "name": "Pilot Information",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 16,
- "markdownSource": "# Envoy Information\n\n### xDS Protocol\n\nEnvoy discovers its various dynamic resources via the filesystem or by querying one or more management servers. Collectively, these discovery services and their corresponding APIs are referred to as **xDS**.",
- "name": "New Panel",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 17,
- "markdownSource": "# Webhook",
- "name": "New Panel (2)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Write Timeouts < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "Write Timeouts < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(rate(pilot_xds_write_timeout{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"}[1m]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Push Context Errors < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "Push Context Errors < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(rate(pilot_xds_push_context_errors{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"}[1m]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Config Rejection Rate < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "Config Rejection Rate < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(rate(pilot_total_xds_rejects{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"}[1m]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Internal Errors < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "Internal Errors < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(rate(pilot_total_xds_internal_errors{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"}[1m]))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Rejected LDS Configs < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "Rejected LDS Configs < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(pilot_xds_lds_reject{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"}) or (absent(pilot_xds_lds_reject{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"}) - 1)"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Rejected RDS Configs < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "Rejected RDS Configs < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(pilot_xds_rds_reject{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"}) or (absent(pilot_xds_rds_reject{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"}) - 1)"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Rejected EDS Configs < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "Rejected EDS Configs < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(pilot_xds_eds_reject{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"}) or (absent(pilot_xds_eds_reject{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"}) - 1)"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Rejected CDS Configs < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "Rejects CDS Configs < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name)(pilot_xds_cds_reject{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"}) or (absent(pilot_xds_cds_reject{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,app=\"istiod\"}) - 1)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pilot Errors",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kube_cluster_name",
- "documentId": "kube_cluster_name",
- "documentTimestamp": 1658140079457,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_cluster_name",
- "identity": false,
- "metricType": "tag",
- "name": "kube_cluster_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kube_cluster_name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kube_namespace_name",
- "documentId": "kube_namespace_name",
- "documentTimestamp": 1658140079457,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_namespace_name",
- "identity": false,
- "metricType": "tag",
- "name": "kube_namespace_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kube_namespace_name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/istio/include/dashboard-Grafana-Service-1.5.json b/resources/istio/include/dashboard-Grafana-Service-1.5.json
deleted file mode 100644
index a89c5587..00000000
--- a/resources/istio/include/dashboard-Grafana-Service-1.5.json
+++ /dev/null
@@ -1,2615 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_PROMETHEUS",
- "label": "Prometheus",
- "description": "",
- "type": "datasource",
- "pluginId": "prometheus",
- "pluginName": "Prometheus"
- }
- ],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "6.5.2"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1589364808622,
- "links": [],
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "cacheTimeout": null,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 6,
- "x": 0,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 12,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum by (destination_service_name)(irate(istio_requests_total:sysdig{reporter=\"source\"}[5m]))",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{destination_service_name}}",
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Client Request Volume",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "cacheTimeout": null,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 6,
- "x": 6,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 14,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "100*(sum by (destination_service_name)(irate(istio_requests_total:sysdig{reporter=\"source\",response_code!~\"5.*\"}[5m])) / sum by (destination_service_name)(irate(istio_requests_total:sysdig{reporter=\"source\"}[5m])))",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{destination_service_name}}",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Client Success Rate (non-5xx responses)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "percent",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 6,
- "x": 12,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 87,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": false,
- "hideZero": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:histogram50",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "P50- {{destination_service_name}}",
- "refId": "A"
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "P90- {{destination_service_name}}",
- "refId": "B"
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "P99- {{destination_service_name}}",
- "refId": "C"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Client Request Duration",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_PROMETHEUS}",
- "format": "Bps",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 6,
- "x": 18,
- "y": 0
- },
- "id": 84,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "options": {},
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": true,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"source\"}[1m]))",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{destination_service}}",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "TCP Received Bytes",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {},
- "bars": false,
- "cacheTimeout": null,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 6,
- "x": 0,
- "y": 5
- },
- "hiddenSeries": false,
- "id": 97,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum by (destination_service_name)(irate(istio_requests_total:sysdig{reporter=\"destination\"}[5m]))",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{destination_service_name}}",
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Server Request Volume",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "cacheTimeout": null,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 6,
- "x": 6,
- "y": 5
- },
- "hiddenSeries": false,
- "id": 98,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "100*(sum by (destination_service_name)(irate(istio_requests_total:sysdig{reporter=\"destination\",response_code!~\"5.*\"}[5m])) / sum by (destination_service_name)(irate(istio_requests_total:sysdig{reporter=\"destination\"}[5m])))",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{destination_service_name}}",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Server Success Rate (non-5xx responses)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "percent",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 6,
- "x": 12,
- "y": 5
- },
- "hiddenSeries": false,
- "id": 99,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": false,
- "hideZero": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:histogram50",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "p50- {{destination_service_name}}",
- "refId": "A"
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "P90- {{destination_service_name}}",
- "refId": "B"
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "P99- {{destination_service_name}}",
- "refId": "C"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Server Request Duration",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_PROMETHEUS}",
- "format": "Bps",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 6,
- "x": 18,
- "y": 5
- },
- "id": 100,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "options": {},
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": true,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(irate(istio_tcp_sent_bytes_total:sysdig{reporter=\"source\"}[1m]))",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "TCP Sent Bytes",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 0,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 0,
- "y": 10
- },
- "hiddenSeries": false,
- "id": 25,
- "legend": {
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null as zero",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_requests_total:sysdig{connection_security_policy=\"mutual_tls\",reporter=\"source\"}[5m])) by (source_workload, source_workload_namespace, response_code)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace }} : {{ response_code }} (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "sum(irate(istio_requests_total:sysdig{connection_security_policy!=\"mutual_tls\",reporter=\"source\"}[5m])) by (source_workload, source_workload_namespace, response_code)",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace }} : {{ response_code }}",
- "refId": "A",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Requests by Source And Response Code",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": [
- "total"
- ]
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 12,
- "y": 10
- },
- "hiddenSeries": false,
- "id": 26,
- "legend": {
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "hideZero": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "100*(sum(irate(istio_requests_total:sysdig{reporter=\"source\", connection_security_policy=\"mutual_tls\",response_code!~\"5.*\"}[5m])) by (source_workload, source_workload_namespace) / sum(irate(istio_requests_total:sysdig{reporter=\"source\", connection_security_policy=\"mutual_tls\"}[5m])) by (source_workload, source_workload_namespace))",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace }} (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "100*(sum(irate(istio_requests_total:sysdig{reporter=\"source\", connection_security_policy!=\"mutual_tls\",response_code!~\"5.*\"}[5m])) by (source_workload, source_workload_namespace) / sum(irate(istio_requests_total:sysdig{reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[5m])) by (source_workload, source_workload_namespace))",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace }}",
- "refId": "B",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Success Rate (non-5xx responses) By Source",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.01",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 0,
- "y": 16
- },
- "hiddenSeries": false,
- "id": 27,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "hideZero": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bysource:mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P50 (🔐mTLS)",
- "refId": "D",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bysource:mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P90 (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bysource:mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P95 (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bysource:mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P99 (🔐mTLS)",
- "refId": "C",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bysource:not_mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P50",
- "refId": "E",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bysource:not_mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P90",
- "refId": "F",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bysource:not_mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P95",
- "refId": "G",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bysource:not_mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P99",
- "refId": "H",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Request Duration by Source",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 8,
- "y": 16
- },
- "hiddenSeries": false,
- "id": 28,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_request_bytes_bucket:source:bysource:mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P50 (🔐mTLS)",
- "refId": "D",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:source:bysource:mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P90 (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:source:bysource:mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P95 (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:source:bysource:mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P99 (🔐mTLS)",
- "refId": "C",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:source:bysource:not_mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P50",
- "refId": "E",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:source:bysource:not_mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P90",
- "refId": "F",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:source:bysource:not_mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P95",
- "refId": "G",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:source:bysource:not_mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P99",
- "refId": "H",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Request Size By Source",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 16,
- "y": 16
- },
- "hiddenSeries": false,
- "id": 68,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_response_bytes_bucket:source:bysource:mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P50 (🔐mTLS)",
- "refId": "D",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:source:bysource:mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P90 (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:source:bysource:mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P95 (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:source:bysource:mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P99 (🔐mTLS)",
- "refId": "C",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:source:bysource:not_mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P50",
- "refId": "E",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:source:bysource:not_mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P90",
- "refId": "F",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:source:bysource:not_mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P95",
- "refId": "G",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:source:bysource:not_mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P99",
- "refId": "H",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Response Size By Source",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 0,
- "y": 22
- },
- "hiddenSeries": false,
- "id": 80,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"source\", connection_security_policy=\"mutual_tls\"}[1m])) by (source_workload, source_workload_namespace)",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace}} (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[1m])) by (source_workload, source_workload_namespace)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace}}",
- "refId": "B",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Bytes Received from Incoming TCP Connection",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 12,
- "y": 22
- },
- "hiddenSeries": false,
- "id": 82,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_requests_total:sysdig{connection_security_policy=\"mutual_tls\",reporter=\"source\"}[5m])) by (source_workload, source_workload_namespace, response_code)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace}} (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "sum(irate(istio_requests_total:sysdig{connection_security_policy!=\"mutual_tls\",reporter=\"source\"}[5m])) by (source_workload, source_workload_namespace, response_code)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace}}",
- "refId": "B",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Bytes Sent to Incoming TCP Connection",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 0,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 0,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 90,
- "legend": {
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null as zero",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_requests_total:sysdig{connection_security_policy=\"mutual_tls\",reporter=\"destination\"}[5m])) by (destination_workload, destination_workload_namespace, response_code)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} : {{ response_code }} (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "sum(irate(istio_requests_total:sysdig{connection_security_policy!=\"mutual_tls\",reporter=\"destination\"}[5m])) by (destination_workload, destination_workload_namespace, response_code)",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} : {{ response_code }}",
- "refId": "A",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Requests by Destination And Response Code",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": [
- "total"
- ]
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 12,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 91,
- "legend": {
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "hideZero": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "100*(sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy=\"mutual_tls\",response_code!~\"5.*\"}[5m])) by (destination_workload, destination_workload_namespace) / sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[5m])) by (destination_workload, destination_workload_namespace))",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "100*(sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy!=\"mutual_tls\",response_code!~\"5.*\"}[5m])) by (destination_workload, destination_workload_namespace) / sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[5m])) by (destination_workload, destination_workload_namespace))",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }}",
- "refId": "B",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Success Rate (non-5xx responses) By Source",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.01",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 0,
- "y": 34
- },
- "hiddenSeries": false,
- "id": 94,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "hideZero": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P50 (🔐mTLS)",
- "refId": "D",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P90 (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P95 (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P99 (🔐mTLS)",
- "refId": "C",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P50",
- "refId": "E",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P90",
- "refId": "F",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P95",
- "refId": "G",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P99",
- "refId": "H",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Request Duration by Source",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 8,
- "y": 34
- },
- "hiddenSeries": false,
- "id": 95,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P50 (🔐mTLS)",
- "refId": "D",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P90 (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P95 (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P99 (🔐mTLS)",
- "refId": "C",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P50",
- "refId": "E",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P90",
- "refId": "F",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P95",
- "refId": "G",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P99",
- "refId": "H",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Request Size By Source",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 16,
- "y": 34
- },
- "hiddenSeries": false,
- "id": 96,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P50 (🔐mTLS)",
- "refId": "D",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P90 (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P95 (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P99 (🔐mTLS)",
- "refId": "C",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P50",
- "refId": "E",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P90",
- "refId": "F",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P95",
- "refId": "G",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace }} P99",
- "refId": "H",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Response Size By Source",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 0,
- "y": 40
- },
- "hiddenSeries": false,
- "id": 92,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_tcp_received_bytes_total{reporter=\"source\", connection_security_policy=\"mutual_tls\"}[1m])) by (destination_workload, destination_workload_namespace)",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace}} (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "sum(irate(istio_tcp_received_bytes_total{reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[1m])) by (destination_workload, destination_workload_namespace)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{ destination_workload_namespace}}",
- "refId": "B",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Bytes Received from Incoming TCP Connection",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 12,
- "y": 40
- },
- "hiddenSeries": false,
- "id": 93,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_tcp_sent_bytes_total:sysdig{connection_security_policy=\"mutual_tls\", reporter=\"source\"}[1m])) by (destination_workload, destination_workload_namespace)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{destination_workload_namespace }} (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "sum(irate(istio_tcp_sent_bytes_total:sysdig{connection_security_policy!=\"mutual_tls\", reporter=\"source\"}[1m])) by (destination_workload, destination_workload_namespace)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ destination_workload }}.{{destination_workload_namespace }}",
- "refId": "B",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Bytes Sent to Incoming TCP Connection",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- }
- ],
- "refresh": "10s",
- "schemaVersion": 21,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": []
- },
- "time": {
- "from": "now-5m",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "Istio Service Dashboard Sysdig",
- "uid": "m3CBADRGz",
- "version": 6
-}
\ No newline at end of file
diff --git a/resources/istio/include/dashboard-Grafana-Workload-1.5.json b/resources/istio/include/dashboard-Grafana-Workload-1.5.json
deleted file mode 100644
index 56a25f66..00000000
--- a/resources/istio/include/dashboard-Grafana-Workload-1.5.json
+++ /dev/null
@@ -1,2311 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_PROMETHEUS",
- "label": "Prometheus",
- "description": "",
- "type": "datasource",
- "pluginId": "prometheus",
- "pluginName": "Prometheus"
- }
- ],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "6.5.2"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "links": [],
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "cacheTimeout": null,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 8,
- "x": 0,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 12,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_requests_total:sysdig{reporter=\"destination\"}[5m])) by (destination_workload)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{destination_workload}}",
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Request Volume",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "datasource": "${DS_PROMETHEUS}",
- "decimals": null,
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 80,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": false
- },
- "gridPos": {
- "h": 5,
- "w": 8,
- "x": 8,
- "y": 0
- },
- "id": 14,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "options": {},
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": true,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(irate(istio_requests_total:sysdig{reporter=\"destination\",response_code!~\"5.*\"}[5m])) / sum(irate(istio_requests_total:sysdig{reporter=\"destination\"}[5m])))",
- "format": "time_series",
- "intervalFactor": 1,
- "refId": "B"
- }
- ],
- "thresholds": "95, 99, 99.5",
- "title": "Incoming Success Rate (non-5xx responses)",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 8,
- "x": 16,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 87,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": false,
- "hideZero": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:histogram50",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "P50 {{destination_service_name}}",
- "refId": "A"
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "P90 {{destination_service_name}}",
- "refId": "B"
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "P99 {{destination_service_name}}",
- "refId": "C"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Request Duration",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_PROMETHEUS}",
- "format": "Bps",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 12,
- "x": 0,
- "y": 5
- },
- "id": 84,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "options": {},
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": true,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(irate(istio_tcp_sent_bytes_total:sysdig{reporter=\"destination\"}[1m]))+sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"destination\"}[1m]))",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "TCP Server Traffic",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_PROMETHEUS}",
- "format": "Bps",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 12,
- "x": 12,
- "y": 5
- },
- "id": 85,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "options": {},
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": true,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(irate(istio_tcp_sent_bytes_total:sysdig{reporter=\"source\"}[1m]))+sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"source\"}[1m]))",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "TCP Client Traffic",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 0,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 0,
- "y": 9
- },
- "hiddenSeries": false,
- "id": 25,
- "legend": {
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null as zero",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_requests_total:sysdig{connection_security_policy=\"mutual_tls\", reporter=\"destination\"}[5m])) by (source_workload, source_workload_namespace, response_code)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace }} : {{ response_code }} (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "sum(irate(istio_requests_total:sysdig{connection_security_policy!=\"mutual_tls\", reporter=\"destination\"}[5m])) by (source_workload, source_workload_namespace, response_code)",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace }} : {{ response_code }}",
- "refId": "A",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Requests by Source And Response Code",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": [
- "total"
- ]
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 12,
- "y": 9
- },
- "hiddenSeries": false,
- "id": 26,
- "legend": {
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "hideZero": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy=\"mutual_tls\", response_code!~\"5.*\"}[5m])) by (source_workload, source_workload_namespace) / sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[5m])) by (source_workload, source_workload_namespace)",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace }} (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy!=\"mutual_tls\", response_code!~\"5.*\"}[5m])) by (source_workload, source_workload_namespace) / sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[5m])) by (source_workload, source_workload_namespace)",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace }}",
- "refId": "B",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Success Rate (non-5xx responses) By Source",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.01",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 0,
- "y": 15
- },
- "hiddenSeries": false,
- "id": 27,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "hideZero": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P50 (🔐mTLS)",
- "refId": "D",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P90 (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P95 (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P99 (🔐mTLS)",
- "refId": "C",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P50",
- "refId": "E",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P90",
- "refId": "F",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P95",
- "refId": "G",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P99",
- "refId": "H",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Request Duration by Source",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 8,
- "y": 15
- },
- "hiddenSeries": false,
- "id": 28,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P50 (🔐mTLS)",
- "refId": "D",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P90 (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P95 (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P99 (🔐mTLS)",
- "refId": "C",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P50",
- "refId": "E",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P90",
- "refId": "F",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P95",
- "refId": "G",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "instant": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P99",
- "refId": "H",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Request Size By Source",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 16,
- "y": 15
- },
- "hiddenSeries": false,
- "id": 68,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P50 (🔐mTLS)",
- "refId": "D",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P90 (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P95 (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P99 (🔐mTLS)",
- "refId": "C",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P50",
- "refId": "E",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P90",
- "refId": "F",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P95",
- "refId": "G",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{source_workload}}.{{source_workload_namespace}} P99",
- "refId": "H",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Response Size By Source",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 0,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 80,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[1m])) by (source_workload, source_workload_namespace)",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace}} (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[1m])) by (source_workload, source_workload_namespace)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace}}",
- "refId": "B",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Bytes Received from Incoming TCP Connection",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 12,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 82,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_tcp_sent_bytes_total:sysdig{connection_security_policy=\"mutual_tls\", reporter=\"destination\"}[1m])) by (source_workload, source_workload_namespace)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace}} (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "sum(irate(istio_tcp_sent_bytes_total:sysdig{connection_security_policy!=\"mutual_tls\", reporter=\"destination\"}[1m])) by (source_workload, source_workload_namespace)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ source_workload }}.{{ source_workload_namespace}}",
- "refId": "B",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Bytes Sent to Incoming TCP Connection",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 0,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 0,
- "y": 27
- },
- "hiddenSeries": false,
- "id": 70,
- "legend": {
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null as zero",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_requests_total:sysdig{connection_security_policy=\"mutual_tls\", reporter=\"source\"}[5m])) by (destination_service, response_code)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} : {{ response_code }} (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "sum(irate(istio_requests_total:sysdig{connection_security_policy!=\"mutual_tls\", reporter=\"source\"}[5m])) by (destination_service, response_code)",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} : {{ response_code }}",
- "refId": "A",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Outgoing Requests by Destination And Response Code",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": [
- "total"
- ]
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 12,
- "y": 27
- },
- "hiddenSeries": false,
- "id": 71,
- "legend": {
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "hideZero": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_requests_total{reporter=\"source\", connection_security_policy=\"mutual_tls\",response_code!~\"5.*\"}[5m])) by (destination_service) / sum(irate(istio_requests_total{reporter=\"source\", connection_security_policy=\"mutual_tls\"}[5m])) by (destination_service)",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "sum(irate(istio_requests_total{reporter=\"source\", connection_security_policy!=\"mutual_tls\",response_code!~\"5.*\"}[5m])) by (destination_service) / sum(irate(istio_requests_total{reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[5m])) by (destination_service)",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{destination_service }}",
- "refId": "B",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Outgoing Success Rate (non-5xx responses) By Destination",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.01",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 0,
- "y": 33
- },
- "hiddenSeries": false,
- "id": 72,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "hideZero": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bydestination:mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P50 (🔐mTLS)",
- "refId": "D",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bydestination:mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P90 (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bydestination:mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P95 (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bydestination:mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P99 (🔐mTLS)",
- "refId": "C",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bydestination:not_mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P50",
- "refId": "E",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bydestination:not_mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P90",
- "refId": "F",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bydestination:not_mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P95",
- "refId": "G",
- "step": 2
- },
- {
- "expr": "istio_request_duration_milliseconds_bucket:source:bydestination:not_mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P99",
- "refId": "H",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Outgoing Request Duration by Destination",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 8,
- "y": 33
- },
- "hiddenSeries": false,
- "id": 73,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_request_bytes_bucket:source:bydestination:mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P50 (🔐mTLS)",
- "refId": "D",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:source:bydestination:mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P90 (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:source:bydestination:mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P95 (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:source:bydestination:mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P99 (🔐mTLS)",
- "refId": "C",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:source:bydestination:not_mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P50",
- "refId": "E",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:source:bydestination:not_mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P90",
- "refId": "F",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:source:bydestination:not_mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P95",
- "refId": "G",
- "step": 2
- },
- {
- "expr": "istio_request_bytes_bucket:source:bydestination:not_mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P99",
- "refId": "H",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Outgoing Request Size By Destination",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 16,
- "y": 33
- },
- "hiddenSeries": false,
- "id": 74,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": true,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "istio_response_bytes_bucket:source:bydestination:mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P50 (🔐mTLS)",
- "refId": "D",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:source:bydestination:mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P90 (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:source:bydestination:mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P95 (🔐mTLS)",
- "refId": "B",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:source:bydestination:mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P99 (🔐mTLS)",
- "refId": "C",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:source:bydestination:not_mutual_tls:histogram50",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P50",
- "refId": "E",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:source:bydestination:not_mutual_tls:histogram90",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P90",
- "refId": "F",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:source:bydestination:not_mutual_tls:histogram95",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P95",
- "refId": "G",
- "step": 2
- },
- {
- "expr": "istio_response_bytes_bucket:source:bydestination:not_mutual_tls:histogram99",
- "format": "time_series",
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} P99",
- "refId": "H",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Response Size By Destination",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 0,
- "y": 39
- },
- "hiddenSeries": false,
- "id": 76,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_tcp_sent_bytes_total:sysdig{connection_security_policy=\"mutual_tls\", reporter=\"source\"}[1m])) by (destination_service)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "sum(irate(istio_tcp_sent_bytes_total:sysdig{connection_security_policy!=\"mutual_tls\", reporter=\"source\"}[1m])) by (destination_service)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }}",
- "refId": "B",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Bytes Sent on Outgoing TCP Connection",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 12,
- "y": 39
- },
- "hiddenSeries": false,
- "id": 78,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(irate(istio_tcp_received_bytes_total{reporter=\"source\", connection_security_policy=\"mutual_tls\"}[1m])) by (destination_service)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }} (🔐mTLS)",
- "refId": "A",
- "step": 2
- },
- {
- "expr": "sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[1m])) by (destination_service)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "{{ destination_service }}",
- "refId": "B",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Bytes Received from Outgoing TCP Connection",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- }
- ],
- "refresh": "10s",
- "schemaVersion": 21,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": []
- },
- "time": {
- "from": "now-5m",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "Istio Workload Dashboard Sysdig",
- "uid": "iRh5cvgGz",
- "version": 6
-}
diff --git a/resources/istio/include/dashboard-Sysdig-Service-1.5.json b/resources/istio/include/dashboard-Sysdig-Service-1.5.json
deleted file mode 100644
index 0b95d740..00000000
--- a/resources/istio/include/dashboard-Sysdig-Service-1.5.json
+++ /dev/null
@@ -1,2328 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 6,
- "x": 12,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 6,
- "x": 18,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 6,
- "x": 0,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 6,
- "x": 6,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 7,
- "w": 6,
- "x": 12,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 8,
- "w": 6,
- "x": 18,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 6
- },
- {
- "h": 3,
- "panelId": 10,
- "w": 12,
- "x": 12,
- "y": 6
- },
- {
- "h": 3,
- "panelId": 11,
- "w": 8,
- "x": 0,
- "y": 9
- },
- {
- "h": 3,
- "panelId": 12,
- "w": 8,
- "x": 8,
- "y": 9
- },
- {
- "h": 3,
- "panelId": 13,
- "w": 8,
- "x": 16,
- "y": 9
- },
- {
- "h": 3,
- "panelId": 14,
- "w": 12,
- "x": 0,
- "y": 12
- },
- {
- "h": 3,
- "panelId": 15,
- "w": 12,
- "x": 12,
- "y": 12
- },
- {
- "h": 3,
- "panelId": 16,
- "w": 8,
- "x": 0,
- "y": 18
- },
- {
- "h": 3,
- "panelId": 17,
- "w": 12,
- "x": 0,
- "y": 21
- },
- {
- "h": 3,
- "panelId": 18,
- "w": 12,
- "x": 12,
- "y": 21
- },
- {
- "h": 3,
- "panelId": 19,
- "w": 12,
- "x": 12,
- "y": 15
- },
- {
- "h": 3,
- "panelId": 20,
- "w": 12,
- "x": 0,
- "y": 15
- },
- {
- "h": 3,
- "panelId": 22,
- "w": 8,
- "x": 16,
- "y": 18
- },
- {
- "h": 3,
- "panelId": 23,
- "w": 8,
- "x": 8,
- "y": 18
- }
- ],
- "name": "Istio Service Dashboard",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Client Request Volume",
- "timeSeriesDisplayNameTemplate": "{{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (destination_service_name)(irate(istio_requests_total:sysdig{reporter=\"source\"}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Client Request Volume",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Success Rate",
- "timeSeriesDisplayNameTemplate": "{{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum by (destination_service_name)(irate(istio_requests_total:sysdig{reporter=\"source\",response_code!~\"5.*\"}[$__interval])) / sum by (destination_service_name)(irate(istio_requests_total:sysdig{reporter=\"source\"}[$__interval])))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Client Success Rate (non-5xx responses)",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "p50- {{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "p90 - {{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "p99 - {{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:histogram99"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Client Request Duration",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{destination_service}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"source\"}[1m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "TCP Received Bytes",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Client Request Volume",
- "timeSeriesDisplayNameTemplate": "{{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (destination_service_name)(irate(istio_requests_total:sysdig{reporter=\"destination\"}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Server Request Volume",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Success Rate",
- "timeSeriesDisplayNameTemplate": "{{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum by (destination_service_name)(irate(istio_requests_total:sysdig{reporter=\"destination\",response_code!~\"5.*\"}[$__interval])) / sum by (destination_service_name)(irate(istio_requests_total:sysdig{reporter=\"destination\"}[$__interval])))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Server Success Rate (non-5xx responses)",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "p50- {{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "p90 - {{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "p99 - {{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:histogram99"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Server Request Duration",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_sent_bytes_total:sysdig{reporter=\"source\"}[1m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "TCP Sent Bytes",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming request",
- "timeSeriesDisplayNameTemplate": "{{response_code}} - {{source_workload}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total:sysdig{connection_security_policy=\"mutual_tls\",reporter=\"source\"}[$__interval])) by (source_workload, source_workload_namespace, response_code)"
- },
- {
- "displayInfo": {
- "displayName": "Incoming request",
- "timeSeriesDisplayNameTemplate": "{{response_code}} - {{source_workload}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total:sysdig{connection_security_policy!=\"mutual_tls\",reporter=\"source\"}[$__interval])) by (source_workload, source_workload_namespace, response_code)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Incoming Requests by Source And Response Code",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Success mutual tls",
- "timeSeriesDisplayNameTemplate": "{{ source_workload }}.{{ source_workload_namespace }}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum(irate(istio_requests_total:sysdig{reporter=\"source\", connection_security_policy=\"mutual_tls\",response_code!~\"5.*\"}[$__interval])) by (source_workload, source_workload_namespace) / sum(irate(istio_requests_total:sysdig{reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (source_workload, source_workload_namespace))"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Success not mutual tls",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum(irate(istio_requests_total:sysdig{reporter=\"source\", connection_security_policy!=\"mutual_tls\",response_code!~\"5.*\"}[$__interval])) by (source_workload, source_workload_namespace) / sum(irate(istio_requests_total:sysdig{reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (source_workload, source_workload_namespace))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Incoming Success Rate (non-5xx responses) By Source",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bysource:mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bysource:not_mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bysource:not_mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bysource:not_mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bysource:not_mutual_tls:histogram99"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bysource:mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bysource:mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bysource:mutual_tls:histogram99"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Incoming Request Duration by Source",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bysource:mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bysource:mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bysource:mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bysource:mutual_tls:histogram99"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bysource:not_mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bysource:not_mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bysource:not_mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bysource:not_mutual_tls:histogram99"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Incoming Request Size By Source",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Response Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bysource:mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Response Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bysource:mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Response Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bysource:mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Response Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bysource:mutual_tls:histogram99"
- },
- {
- "displayInfo": {
- "displayName": "Response Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bysource:not_mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Response Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bysource:not_mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Response Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bysource:not_mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Response Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bysource:not_mutual_tls:histogram99"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Response Size By Source",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Bytes Received",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"source\", connection_security_policy=\"mutual_tls\"}[1m])) by (source_workload, source_workload_namespace)"
- },
- {
- "displayInfo": {
- "displayName": "Bytes Received",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[1m])) by (source_workload, source_workload_namespace)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Bytes Received from Incoming TCP Connection",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Bytes Sent",
- "timeSeriesDisplayNameTemplate": "{{ source_workload }}.{{ source_workload_namespace}} (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total:sysdig{connection_security_policy=\"mutual_tls\",reporter=\"source\"}[$__interval])) by (source_workload, source_workload_namespace, response_code)"
- },
- {
- "displayInfo": {
- "displayName": "Bytes Sent",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total:sysdig{connection_security_policy!=\"mutual_tls\",reporter=\"source\"}[$__interval])) by (source_workload, source_workload_namespace, response_code)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Bytes Sent to Incoming TCP Connection",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram99"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram999"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Incoming Request Duration by Source",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Bytes Received",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}}.{{destination_workload_namespace}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_received_bytes_total{reporter=\"source\", connection_security_policy=\"mutual_tls\"}[1m])) by (destination_workload, destination_workload_namespace)"
- },
- {
- "displayInfo": {
- "displayName": "Bytes Received",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}}.{{destination_workload_namespace}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_received_bytes_total{reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[1m])) by (destination_workload, destination_workload_namespace)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Bytes Received from Incoming TCP Connection",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Bytes Received",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}}.{{destination_workload_namespace}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_sent_bytes_total:sysdig{connection_security_policy=\"mutual_tls\", reporter=\"source\"}[1m])) by (destination_workload, destination_workload_namespace)"
- },
- {
- "displayInfo": {
- "displayName": "Bytes Received",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}}.{{destination_workload_namespace}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_sent_bytes_total:sysdig{connection_security_policy!=\"mutual_tls\", reporter=\"source\"}[1m])) by (destination_workload, destination_workload_namespace)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Bytes Sent to Incoming TCP Connection",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Success Rate",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}}.{{destination_workload_namespace}} (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy=\"mutual_tls\",response_code!~\"5.*\"}[$__interval])) by (destination_workload, destination_workload_namespace) / sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (destination_workload, destination_workload_namespace))"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Success Rate",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}}.{{destination_workload_namespace}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy!=\"mutual_tls\",response_code!~\"5.*\"}[$__interval])) by (destination_workload, destination_workload_namespace) / sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (destination_workload, destination_workload_namespace))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Incoming Success Rate (non-5xx responses) By Source",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Requests And Response Code",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}}.{{destination_workload_namespace}} : {{response_code}} (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total:sysdig{connection_security_policy=\"mutual_tls\",reporter=\"destination\"}[$__interval])) by (destination_workload, destination_workload_namespace, response_code)"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Requests And Response Code",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}}.{{destination_workload_namespace}} : {{response_code}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total:sysdig{connection_security_policy!=\"mutual_tls\",reporter=\"destination\"}[$__interval])) by (destination_workload, destination_workload_namespace, response_code)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Incoming Requests by Destination And Response Code",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Response Size ",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Response Size ",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Response Size ",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Response Size ",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram99"
- },
- {
- "displayInfo": {
- "displayName": "Response Size ",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Response Size ",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Response Size ",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Response Size ",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram99"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Response Size By Source",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram99"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram99"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Incoming Request Size By Source",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": []
- }
-}
diff --git a/resources/istio/include/dashboard-Sysdig-Workload-1.5.json b/resources/istio/include/dashboard-Sysdig-Workload-1.5.json
deleted file mode 100644
index 463f8582..00000000
--- a/resources/istio/include/dashboard-Sysdig-Workload-1.5.json
+++ /dev/null
@@ -1,2098 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 12,
- "x": 0,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 12,
- "x": 0,
- "y": 6
- },
- {
- "h": 3,
- "panelId": 7,
- "w": 12,
- "x": 12,
- "y": 6
- },
- {
- "h": 3,
- "panelId": 8,
- "w": 8,
- "x": 0,
- "y": 9
- },
- {
- "h": 3,
- "panelId": 9,
- "w": 8,
- "x": 8,
- "y": 9
- },
- {
- "h": 3,
- "panelId": 10,
- "w": 8,
- "x": 16,
- "y": 9
- },
- {
- "h": 3,
- "panelId": 11,
- "w": 12,
- "x": 0,
- "y": 12
- },
- {
- "h": 3,
- "panelId": 12,
- "w": 12,
- "x": 12,
- "y": 12
- },
- {
- "h": 3,
- "panelId": 13,
- "w": 12,
- "x": 0,
- "y": 15
- },
- {
- "h": 3,
- "panelId": 14,
- "w": 12,
- "x": 12,
- "y": 15
- },
- {
- "h": 3,
- "panelId": 15,
- "w": 12,
- "x": 0,
- "y": 21
- },
- {
- "h": 3,
- "panelId": 16,
- "w": 12,
- "x": 12,
- "y": 21
- },
- {
- "h": 3,
- "panelId": 17,
- "w": 8,
- "x": 0,
- "y": 18
- },
- {
- "h": 3,
- "panelId": 18,
- "w": 8,
- "x": 8,
- "y": 18
- },
- {
- "h": 3,
- "panelId": 19,
- "w": 8,
- "x": 16,
- "y": 18
- }
- ],
- "name": "Istio Workload Dashboard ",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Reques",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total:sysdig{reporter=\"destination\"}[$__interval])) by (destination_workload)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Incoming Request Volume",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Success Rate ",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum(irate(istio_requests_total:sysdig{reporter=\"destination\",response_code!~\"5.*\"}[$__interval])) / sum(irate(istio_requests_total:sysdig{reporter=\"destination\"}[$__interval])))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Incoming Success Rate (non-5xx responses)",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Success Rate ",
- "timeSeriesDisplayNameTemplate": "p50 {{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Success Rate ",
- "timeSeriesDisplayNameTemplate": "p90 {{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Success Rate ",
- "timeSeriesDisplayNameTemplate": "p99 {{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:histogram99"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Request Duration",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "TCP server traffic",
- "timeSeriesDisplayNameTemplate": "{{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_sent_bytes_total:sysdig{reporter=\"destination\"}[1m]))+sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"destination\"}[1m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "TCP Server Traffic",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{destination_service_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_sent_bytes_total:sysdig{reporter=\"source\"}[1m]))+sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"source\"}[1m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "TCP Client Traffic",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Requests mTLS",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} : {{response_code}} (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total:sysdig{connection_security_policy=\"mutual_tls\", reporter=\"destination\"}[$__interval])) by (source_workload, source_workload_namespace, response_code)"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Requests not mTLS",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} : {{response_code}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total:sysdig{connection_security_policy!=\"mutual_tls\", reporter=\"destination\"}[$__interval])) by (source_workload, source_workload_namespace, response_code)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Incoming Requests by Source And Response Code",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming success rate",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy=\"mutual_tls\", response_code!~\"5.*\"}[$__interval])) by (source_workload, source_workload_namespace) / sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (source_workload, source_workload_namespace))"
- },
- {
- "displayInfo": {
- "displayName": "Incoming success rate",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy!=\"mutual_tls\", response_code!~\"5.*\"}[$__interval])) by (source_workload, source_workload_namespace) / sum(irate(istio_requests_total:sysdig{reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (source_workload, source_workload_namespace))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Incoming Success Rate (non-5xx responses) By Source",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram99"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram99"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Incoming Request Duration by Source",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram99"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Size",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram99"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Incoming Request Size By Source",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Reques",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram99"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram99"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Response Size By Source",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Bytes Received from Incoming TCP Connection",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[1m])) by (source_workload, source_workload_namespace)"
- },
- {
- "displayInfo": {
- "displayName": "Bytes Received from Incoming TCP Connection",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[1m])) by (source_workload, source_workload_namespace)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Bytes Received from Incoming TCP Connection",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Bytes Sent to Incoming TCP Connection",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} : {{response_code}} (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_sent_bytes_total:sysdig{connection_security_policy=\"mutual_tls\", reporter=\"destination\"}[1m])) by (source_workload, source_workload_namespace)"
- },
- {
- "displayInfo": {
- "displayName": "Bytes Sent to Incoming TCP Connection",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} : {{response_code}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_sent_bytes_total:sysdig{connection_security_policy!=\"mutual_tls\", reporter=\"destination\"}[1m])) by (source_workload, source_workload_namespace)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Bytes Sent to Incoming TCP Connection",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Outgoing Requests by Destination And Response Code",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} : {{response_code}} (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total:sysdig{connection_security_policy=\"mutual_tls\", reporter=\"source\"}[$__interval])) by (destination_service, response_code)"
- },
- {
- "displayInfo": {
- "displayName": "Outgoing Requests by Destination And Response Code",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} : {{response_code}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total:sysdig{connection_security_policy!=\"mutual_tls\", reporter=\"source\"}[$__interval])) by (destination_service, response_code)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Outgoing Requests by Destination And Response Code",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Outgoing Success Rate (non-5xx responses) By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total{reporter=\"source\", connection_security_policy=\"mutual_tls\",response_code!~\"5.*\"}[$__interval])) by (destination_service) / sum(irate(istio_requests_total{reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (destination_service)"
- },
- {
- "displayInfo": {
- "displayName": "Outgoing Success Rate (non-5xx responses) By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total{reporter=\"source\", connection_security_policy!=\"mutual_tls\",response_code!~\"5.*\"}[$__interval])) by (destination_service) / sum(irate(istio_requests_total{reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (destination_service)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Outgoing Success Rate (non-5xx responses) By Destination",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Bytes Received from Incoming TCP Connection",
- "timeSeriesDisplayNameTemplate": "{{ destination_service }} (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_sent_bytes_total:sysdig{connection_security_policy=\"mutual_tls\", reporter=\"source\"}[1m])) by (destination_service)"
- },
- {
- "displayInfo": {
- "displayName": "Bytes Received from Incoming TCP Connection",
- "timeSeriesDisplayNameTemplate": "{{ destination_service }}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_sent_bytes_total:sysdig{connection_security_policy!=\"mutual_tls\", reporter=\"source\"}[1m])) by (destination_service)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Bytes Sent on Outgoing TCP Connection",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Bytes Received from Outgoing TCP Connection",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_received_bytes_total{reporter=\"source\", connection_security_policy=\"mutual_tls\"}[1m])) by (destination_service)"
- },
- {
- "displayInfo": {
- "displayName": "Bytes Received from Outgoing TCP Connection",
- "timeSeriesDisplayNameTemplate": "{{destination_service}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_received_bytes_total:sysdig{reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[1m])) by (destination_service)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Bytes Received from Outgoing TCP Connection",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P50 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bydestination:mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P90 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bydestination:mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P95 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bydestination:mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bydestination:mutual_tls:histogram99"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bydestination:not_mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bydestination:not_mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bydestination:not_mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Incoming Request Duration",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_duration_milliseconds_bucket:source:bydestination:not_mutual_tls:histogram99"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Outgoing Request Duration by Destination",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Outgoing Request Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P50 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bydestination:mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Outgoing Request Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P90 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bydestination:mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Outgoing Request Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P95 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bydestination:mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Outgoing Request Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bydestination:mutual_tls:histogram99"
- },
- {
- "displayInfo": {
- "displayName": "Outgoing Request Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bydestination:not_mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Outgoing Request Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bydestination:not_mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Outgoing Request Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bydestination:not_mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Outgoing Request Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_request_bytes_bucket:source:bydestination:not_mutual_tls:histogram99"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Outgoing Request Size By Destination",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Response Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P50 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bydestination:mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Response Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P90 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bydestination:mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Response Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P95 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bydestination:mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Response Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P99 (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bydestination:mutual_tls:histogram99"
- },
- {
- "displayInfo": {
- "displayName": "Response Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bydestination:not_mutual_tls:histogram50"
- },
- {
- "displayInfo": {
- "displayName": "Response Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bydestination:not_mutual_tls:histogram90"
- },
- {
- "displayInfo": {
- "displayName": "Response Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bydestination:not_mutual_tls:histogram95"
- },
- {
- "displayInfo": {
- "displayName": "Response Size By Destination",
- "timeSeriesDisplayNameTemplate": "{{destination_service}} P99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "istio_response_bytes_bucket:source:bydestination:not_mutual_tls:histogram99"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Response Size By Destination",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": []
- }
-}
diff --git a/resources/istio/include/istio-recording-rules.yaml b/resources/istio/include/istio-recording-rules.yaml
deleted file mode 100644
index 8dd06597..00000000
--- a/resources/istio/include/istio-recording-rules.yaml
+++ /dev/null
@@ -1,514 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: rules
- namespace: istio-system
-data:
- rules.yaml: |-
- "groups":
- - "name": "Sysdig.k8s.istio"
- "rules":
- - "expr": istio_requests_total
- "record": "istio_requests_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source"}[1m])) by (le, destination_service_name)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source"}[1m])) by (le, destination_service_name)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source"}[1m])) by (le, destination_service_name)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination"}[1m])) by (le, destination_service_name)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination"}[1m])) by (le, destination_service_name)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination"}[1m])) by (le, destination_service_name)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": istio_tcp_received_bytes_total
- "record": "istio_tcp_received_bytes_total:sysdig"
- "labels":
- "sysdig": "true"
- - "name": "Sysdig.k8s.istio.source.by.source"
- "rules":
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bysource:mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bysource:mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bysource:mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bysource:not_mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bysource:not_mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bysource:not_mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bysource:not_mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.50, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:source:bysource:mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.90, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:source:bysource:mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.95, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:source:bysource:mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:source:bysource:mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.50, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:source:bysource:not_mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.90, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:source:bysource:not_mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.95, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:source:bysource:not_mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:source:bysource:not_mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.50, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:source:bysource:mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.90, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:source:bysource:mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.95, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:source:bysource:mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:source:bysource:mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:source:bysource:not_mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:source:bysource:not_mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:source:bysource:not_mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:source:bysource:not_mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": istio_tcp_received_bytes_total
- "record": "istio_tcp_received_bytes_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": istio_tcp_sent_bytes_total
- "record": "istio_tcp_sent_bytes_total:sysdig"
- "labels":
- "sysdig": "true"
- - "name": "Sysdig.k8s.istio.destination.by.destination"
- "rules":
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bydestination:mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bydestination:mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bydestination:mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bydestination:mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bydestination:not_mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bydestination:not_mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bydestination:not_mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bydestination:not_mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bydestination:mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bydestination:mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bydestination:mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bydestination:mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bydestination:not_mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bydestination:not_mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bydestination:not_mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bydestination:not_mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bydestination:mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bydestination:mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bydestination:mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bydestination:mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bydestination:not_mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bydestination:not_mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bydestination:not_mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (destination_workload, destination_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bydestination:not_mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "name": "Sysdig.k8s.istio.destination.by.source"
- "rules":
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bysource:mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:destination:bysource:not_mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.50, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.90, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.95, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bysource:mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.50, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.90, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.95, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(irate(istio_request_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_request_bytes_bucket:destination:bysource:not_mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.50, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.90, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.95, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bysource:mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_response_bytes_bucket{reporter="destination", connection_security_policy!="mutual_tls"}[1m])) by (source_workload, source_workload_namespace, le))
- "record": "istio_response_bytes_bucket:destination:bysource:not_mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "name": "Sysdig.k8s.istio.source.by.destination"
- "rules":
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (destination_service, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bydestination:mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (destination_service, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bydestination:mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (destination_service, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bydestination:mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (destination_service, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bydestination:mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (destination_service, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bydestination:not_mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (destination_service, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bydestination:not_mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (destination_service, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bydestination:not_mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (destination_service, le)) / 1000
- "record": "istio_request_duration_milliseconds_bucket:source:bydestination:not_mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_request_bytes_bucket:source:bydestination:mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_request_bytes_bucket:source:bydestination:mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_request_bytes_bucket:source:bydestination:mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_request_bytes_bucket:source:bydestination:mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_request_bytes_bucket:source:bydestination:not_mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_request_bytes_bucket:source:bydestination:not_mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_request_bytes_bucket:source:bydestination:not_mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_request_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_request_bytes_bucket:source:bydestination:not_mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_response_bytes_bucket:source:bydestination:mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_response_bytes_bucket:source:bydestination:mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_response_bytes_bucket:source:bydestination:mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_response_bytes_bucket:source:bydestination:mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.50, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_response_bytes_bucket:source:bydestination:not_mutual_tls:histogram50"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.90, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_response_bytes_bucket:source:bydestination:not_mutual_tls:histogram90"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.95, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_response_bytes_bucket:source:bydestination:not_mutual_tls:histogram95"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(irate(istio_response_bytes_bucket{reporter="source", connection_security_policy!="mutual_tls"}[1m])) by (destination_service, le))
- "record": "istio_response_bytes_bucket:source:bydestination:not_mutual_tls:histogram99"
- "labels":
- "sysdig": "true"
diff --git a/resources/istio/include/istio_envoyv1.14.json b/resources/istio/include/istio_envoyv1.14.json
deleted file mode 100644
index 98c2a8e7..00000000
--- a/resources/istio/include/istio_envoyv1.14.json
+++ /dev/null
@@ -1,1181 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 3
- },
- {
- "h": 6,
- "panelId": 2,
- "w": 12,
- "x": 0,
- "y": 9
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 12,
- "x": 12,
- "y": 9
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 12,
- "x": 0,
- "y": 15
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 15
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 7,
- "w": 4,
- "x": 4,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 8,
- "w": 4,
- "x": 8,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 9,
- "w": 4,
- "x": 20,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 10,
- "w": 4,
- "x": 12,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 11,
- "w": 4,
- "x": 16,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 8,
- "x": 16,
- "y": 3
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 8,
- "x": 8,
- "y": 3
- }
- ],
- "name": "Istio Envoy",
- "panels": [
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "4xx < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{response_code}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullZero",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,response_code, kube_pod_name)(irate(istio_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,reporter=\"source\", response_code=~\"4.*\"}[$__interval])) or absent(istio_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,reporter=\"source\", response_code=~\"4.*\"}) -1"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "4xx response code",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "p50 < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "p50 < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.5,sum(rate(envoy_cluster_upstream_cx_connect_ms_bucket{kube_cluster_name=~$cluster}[$__interval])) by (le,kube_cluster_name,kube_pod_name,kube_namespace_name))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "p95 < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "p95 < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95,sum(rate(envoy_cluster_upstream_cx_connect_ms_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])) by (le,kube_cluster_name,kube_pod_name,kube_namespace_name))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "p99 < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "p99 < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99,sum(rate(envoy_cluster_upstream_cx_connect_ms_bucket{kube_cluster_name=~$cluster}[$__interval])) by (le,kube_cluster_name,kube_pod_name,kube_namespace_name))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Upstream Connection Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "p50 < Pod < Workload< Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "p50 < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.5,sum(rate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])) by (le,kube_cluster_name,kube_pod_name,kube_namespace_name,kube_workload_name)) or absent(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}) -1"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "p95 < Pod < Worfload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "p95 < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95,sum(rate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])) by (le,kube_cluster_name,kube_pod_name,kube_namespace_name,kube_workload_name)) or absent(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}) -1"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "p99 < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "p99 < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99,sum(rate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])) by (le,kube_cluster_name,kube_pod_name,kube_namespace_name,kube_workload_name)) or absent(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}) -1"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Upstream Request latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "envoy_server_days_until_first_cert_expiring{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Days Until Cert expire",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Connection: Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_pod_name)(envoy_cluster_upstream_cx_active{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Request: Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_pod_name)(envoy_cluster_upstream_rq_active{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pending: Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_pod_name)(envoy_cluster_upstream_rq_pending_active{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Total connections",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(envoy_cluster_upstream_cx_active{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Active Connections",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(envoy_cluster_upstream_rq_active{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 7,
- "name": "Active Requests",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(envoy_cluster_upstream_rq_pending_active{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Pending Connections",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(delta(envoy_cluster_membership_change{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "description": "",
- "id": 9,
- "name": "Membership Change",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(envoy_cluster_membership_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "Membership Total",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(envoy_cluster_membership_healthy{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 11,
- "name": "Healthy Members",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "connectSolid",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(sum by (kube_cluster_name,kube_namespace_name,kube_workload_name, kube_pod_name)(rate(istio_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,reporter=\"source\", response_code!=\"5.*\"}[$__interval])) / sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(istio_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,reporter=\"source\"}[$__interval])))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Success Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "5xx < Pod < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{response_code}} < {{kube_pod_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullZero",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,response_code, kube_pod_name)(irate(istio_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,reporter=\"source\", response_code=~\"5.*\"}[$__interval])) or absent(istio_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,reporter=\"source\", response_code=~\"5.*\"}) -1"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "5xx response code",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1658300425716,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1658300425716,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.workload.name",
- "documentId": "kubernetes.workload.name",
- "documentTimestamp": 1658300425716,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.workload.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_workload_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "workload",
- "isVariable": true,
- "operand": "kubernetes.workload.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.pod.name",
- "documentId": "kubernetes.pod.name",
- "documentTimestamp": 1658300425716,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.pod.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_pod_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "isVariable": true,
- "operand": "kubernetes.pod.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/istio/include/patch.yaml b/resources/istio/include/patch.yaml
deleted file mode 100644
index 0dc07cdb..00000000
--- a/resources/istio/include/patch.yaml
+++ /dev/null
@@ -1,19 +0,0 @@
-data:
- prometheus.yaml: |-
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
- scrape_configs:
- - job_name: 'prometheus' # config for federation
- honor_labels: true
- metrics_path: '/federate'
- metric_relabel_configs:
- - regex: 'kubernetes_pod_name'
- action: labeldrop
- params:
- 'match[]':
- - '{sysdig="true"}'
- sysdig_sd_configs:
- - tags:
- namespace: istio-system
- deployment: prometheus
diff --git a/resources/istio/include/servicev1.14.json b/resources/istio/include/servicev1.14.json
deleted file mode 100644
index 20b82d25..00000000
--- a/resources/istio/include/servicev1.14.json
+++ /dev/null
@@ -1,3072 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 1,
- "w": 12,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 2,
- "w": 6,
- "x": 6,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 6,
- "x": 0,
- "y": 6
- },
- {
- "h": 7,
- "panelId": 4,
- "w": 12,
- "x": 12,
- "y": 43
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 6,
- "x": 18,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 6,
- "x": 12,
- "y": 6
- },
- {
- "h": 7,
- "panelId": 8,
- "w": 12,
- "x": 0,
- "y": 43
- },
- {
- "h": 7,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 12,
- "x": 0,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 12,
- "x": 0,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 12,
- "x": 0,
- "y": 31
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 12,
- "x": 0,
- "y": 37
- },
- {
- "h": 7,
- "panelId": 14,
- "w": 6,
- "x": 12,
- "y": 50
- },
- {
- "h": 6,
- "panelId": 16,
- "w": 12,
- "x": 12,
- "y": 12
- },
- {
- "h": 7,
- "panelId": 17,
- "w": 6,
- "x": 18,
- "y": 50
- },
- {
- "h": 7,
- "panelId": 18,
- "w": 6,
- "x": 0,
- "y": 50
- },
- {
- "h": 6,
- "panelId": 19,
- "w": 12,
- "x": 12,
- "y": 18
- },
- {
- "h": 7,
- "panelId": 20,
- "w": 12,
- "x": 12,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 23,
- "w": 12,
- "x": 12,
- "y": 31
- },
- {
- "h": 7,
- "panelId": 24,
- "w": 6,
- "x": 6,
- "y": 50
- },
- {
- "h": 6,
- "panelId": 25,
- "w": 12,
- "x": 12,
- "y": 37
- }
- ],
- "name": "Istio Service Dashboard 1.14",
- "panels": [
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination service < Source workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{destination_service_name}} < {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (destination_service_name,kube_cluster_name,source_workload,kube_namespace_name)(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace=~$namespace,reporter=\"source\",source_workload=~$workload}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Client Request Volume",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Success Rate < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{destination_service_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum by (kube_cluster_name, kube_namespace_name, kube_workload_name, destination_service_name)(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_workload_name=~$workload, reporter=\"source\",response_code!~\"5.*\"}[$__interval])) / sum by (kube_cluster_name, kube_namespace_name, kube_workload_name, destination_service_name)(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_workload_name=~$workload, reporter=\"source\"}[$__interval])))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Client Success Rate (non-5xx responses)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "p50 - Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "p50 - {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_workload_name=~$workload,reporter=\"source\"}[$__interval])) by (le, destination_service_name, kube_cluster_name, kube_namespace_name, kube_workload_name)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "P90 - Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 - {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_workload_name=~$workload,reporter=\"source\"}[$__interval])) by (le, destination_service_name, kube_cluster_name, kube_namespace_name, kube_workload_name)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "p99 - Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "p99 - {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_workload_name=~$workload,reporter=\"source\"}[$__interval])) by (le, destination_service_name, kube_cluster_name, kube_namespace_name, kube_workload_name)) / 1000"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Client Request Duration",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination service < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{destination_service_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name, kube_workload_name, destination_service_name)(irate(istio_tcp_received_bytes_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, reporter=\"source\"}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "TCP Received Bytes",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination service < Destination workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{destination_service_name}} < {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (destination_service_name,kube_cluster_name,destination_workload,kube_namespace_name)(irate(istio_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,destination_workload=~$workload,reporter=\"destination\"}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Server Request Volume",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Service < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{destination_service_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum by (kube_cluster_name, kube_namespace_name, kube_workload_name,destination_service_name)(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_workload_name=~$workload, reporter=\"destination\",response_code!~\"5.*\"}[$__interval])) / sum by (kube_cluster_name, kube_namespace_name, kube_workload_name, destination_service_name)(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_workload_name=~$workload, reporter=\"destination\"}[$__interval])))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Server Success Rate (non-5xx responses)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "P50 - Destination service < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P50 - {{destination_service_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_workload_name=~$workload, reporter=\"destination\"}[1m])) by (le, destination_service_name, kube_cluster_name, kube_namespace_name, kube_workload_name)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "P90 - Destination service < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 - {{destination_service_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_workload_name=~$workload, reporter=\"destination\"}[1m])) by (le, destination_service_name, kube_cluster_name, kube_namespace_name, kube_workload_name)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "P99 - Destination service < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 - {{destination_service_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, kube_workload_name=~$workload, reporter=\"destination\"}[1m])) by (le, destination_service_name, kube_cluster_name, kube_namespace_name, kube_workload_name)) / 1000"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Server Request Duration",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name)(irate(istio_tcp_sent_bytes_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, reporter=\"source\"}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "TCP Sent Bytes",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Response Code < Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{response_code}} < {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, connection_security_policy=\"mutual_tls\",reporter=\"source\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, response_code)"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Response Code < Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{response_code}} < {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, connection_security_policy!=\"mutual_tls\",reporter=\"source\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, response_code)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Incoming Requests by Source And Response Code",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}} (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\",response_code!~\"5.*\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace) / sum(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\",response_code!~\"5.*\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace) / sum(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Incoming Success Rate (non-5xx responses) By Source",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P50 - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P95 -- {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P50 (mTLS) - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 (mTLS) - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P95 (mTLS) - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 (mTLS) - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le)) / 1000"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Incoming Request Duration by Source",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P50 (mTLS) - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 (mTLS) - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P95 (mTLS) - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 (mTLS) - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P50 - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P95 - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 - {{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Incoming Request Size By Source",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P50 - {{source_workload}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le, kube_workload_name))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 - {{source_workload}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le, kube_workload_name))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P95 - {{source_workload}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le, kube_workload_name))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 - {{source_workload}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le, kube_workload_name))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P50 - {{source_workload}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le, kube_workload_name))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 - {{source_workload}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le, kube_workload_name))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 - {{source_workload}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le, kube_workload_name))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 - {{source_workload}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace, le, kube_workload_name))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Response Size By Source",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_received_bytes_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace)"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_received_bytes_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, reporter=\"source\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Bytes Received from Incoming TCP Connection By Source",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P50 (mTLS) - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 (mTLS) - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P95 (mTLS) - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 (mTLS) - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 (mTLS) - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 (mTLS) - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 (mTLS) - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le)) / 1000"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 (mTLS) - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(irate(istio_request_duration_milliseconds_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le)) / 1000"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Incoming Request Duration by Destination",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_received_bytes_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[1m])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace)"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_received_bytes_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[1m])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Bytes Received from Incoming TCP Connection By Destination",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_sent_bytes_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, connection_security_policy=\"mutual_tls\", reporter=\"source\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace)"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Source Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{source_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_sent_bytes_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, source_workload=~$workload, connection_security_policy!=\"mutual_tls\", reporter=\"source\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, source_workload, source_workload_namespace)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Bytes Sent to Incoming TCP Connection By Source",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster (mTLS)",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}} (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\",response_code!~\"5.*\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace) / sum(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100*(sum(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\",response_code!~\"5.*\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace) / sum(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Incoming Success Rate (non-5xx responses) By Destination",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Response Code < Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{response_code}} < {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}} (mTLS)",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, connection_security_policy=\"mutual_tls\",reporter=\"destination\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, response_code)"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Response Code < Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{response_code}} < {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_requests_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, connection_security_policy!=\"mutual_tls\",reporter=\"destination\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, response_code)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Incoming Requests by Destination And Response Code",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P50 (mTLS) - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 (mTLS) - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P95 (mTLS) - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 (mTLS) - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P50 - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P95 - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{source_workload}}.{{source_workload_namespace}} P99",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(irate(istio_request_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Incoming Request Size By Destination",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_sent_bytes_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, connection_security_policy=\"mutual_tls\", reporter=\"destination\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace)"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(irate(istio_tcp_sent_bytes_total{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, connection_security_policy!=\"mutual_tls\", reporter=\"destination\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 24,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Bytes Sent to Incoming TCP Connection By Destination",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P50 - {{destination_workload}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le, kube_workload_name))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P95 - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P50 - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P90 - {{destination_workload}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.95, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, cloud_provider_tag_k8s_io_role_node))"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Destination Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "P99 - {{destination_workload}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": false,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(irate(istio_response_bytes_bucket{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace, destination_workload=~$workload, reporter=\"destination\", connection_security_policy!=\"mutual_tls\"}[$__interval])) by (kube_cluster_name, kube_namespace_name, destination_workload, destination_workload_namespace, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 25,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Response Size By Destination",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kube_cluster_name",
- "documentId": "kube_cluster_name",
- "documentTimestamp": 1658140078519,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_cluster_name",
- "identity": false,
- "metricType": "tag",
- "name": "kube_cluster_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kube_cluster_name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kube_namespace_name",
- "documentId": "kube_namespace_name",
- "documentTimestamp": 1658140078519,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_namespace_name",
- "identity": false,
- "metricType": "tag",
- "name": "kube_namespace_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kube_namespace_name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kube_workload_name",
- "documentId": "kube_workload_name",
- "documentTimestamp": 1658140078519,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_workload_name",
- "identity": false,
- "metricType": "tag",
- "name": "kube_workload_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_workload_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "workload",
- "isVariable": true,
- "operand": "kube_workload_name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/istio/include/sysdig-agent.yaml b/resources/istio/include/sysdig-agent.yaml
deleted file mode 100644
index d89774fa..00000000
--- a/resources/istio/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,73 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- prometheus.yaml: |-
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
- scrape_configs:
- - job_name: 'prometheus' # config for federation
- honor_labels: true
- metrics_path: '/federate'
- metric_relabel_configs:
- - regex: 'kubernetes_pod_name'
- action: labeldrop
- params:
- 'match[]':
- - '{sysdig="true"}'
- sysdig_sd_configs:
- - tags:
- namespace: istio-system
- deployment: prometheus
- dragent.yaml: |-
- metrics_excess_log: true
- use_promscrape: true
- prometheus:
- enabled: true
- histograms: false
- ingest_raw: true
- ingest_calculated: false
- max_metrics: 3000
- max_metrics_per_process: 20000
- process_filter:
- - exclude:
- process.name: docker-proxy
- - exclude:
- container.image: sysdig/agent
- # special rule to exclude processes matching configured prometheus appcheck
- - exclude:
- appcheck.match: prometheus
- - include:
- container.label.io.prometheus.scrape: "true"
- conf:
- # Custom path definition
- # If the label doesn't exist we'll still use "/metrics"
- path: "{container.label.io.prometheus.path}"
- # Port definition
- # - If the label exists, only scan the given port.
- # - If it doesn't, use port_filter instead.
- # - If there is no port_filter defined, skip this process
- port: "{container.label.io.prometheus.port}"
- port_filter:
- - exclude: [9092,9200,9300]
- - include: 9090-9500
- - include: [9913,9984,24231,42004]
- - exclude:
- container.label.io.prometheus.scrape: "false"
- - include:
- kubernetes.pod.annotation.prometheus.io/scrape: true
- kubernetes.pod.annotation.prometheus.io/scheme: "https"
- conf:
- use_https: true
- path: "{kubernetes.pod.annotation.prometheus.io/path}"
- port: "{kubernetes.pod.annotation.prometheus.io/port}"
- - include:
- kubernetes.pod.annotation.prometheus.io/scrape: true
- conf:
- path: "{kubernetes.pod.annotation.prometheus.io/path}"
- port: "{kubernetes.pod.annotation.prometheus.io/port}"
- - exclude:
- kubernetes.pod.annotation.prometheus.io/scrape: false
\ No newline at end of file
diff --git a/resources/istio/recording-rules.yaml b/resources/istio/recording-rules.yaml
deleted file mode 100644
index 6658d8b1..00000000
--- a/resources/istio/recording-rules.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
-apiVersion: v1
-kind: RecordingRule
-app: Istio
-version: 1.0.0
-appVersion:
-- '1.5'
-configurations:
-- name: rules.yaml
- file: include/istio-recording-rules.yaml
-descriptionFile: RECORDING-RULES.md
diff --git a/resources/istio/setup-guide.yaml b/resources/istio/setup-guide.yaml
deleted file mode 100644
index ad14bf2f..00000000
--- a/resources/istio/setup-guide.yaml
+++ /dev/null
@@ -1,14 +0,0 @@
-apiVersion: v1
-kind: SetupGuide
-app: Istio
-version: 1.0.0
-appVersion:
-- '1.5'
-configurations:
-- name: patch.yaml
- file: include/patch.yaml
-- name: rules.yaml
- file: include/istio-recording-rules.yaml
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
-descriptionFile: INSTALL.md
diff --git a/resources/kafka/INSTALL.md b/resources/kafka/INSTALL.md
index 803147c0..cbba0780 100644
--- a/resources/kafka/INSTALL.md
+++ b/resources/kafka/INSTALL.md
@@ -93,4 +93,4 @@ helm -n kafka install kafka-exporter promcat-charts/kafka-exporter \
--set sasl.kerberos.secretName="kafka-exporter-sasl-kerberos"
```
-You can find below ConfigMap with the JMX configurations for Kafka, a patch for the JMX-exporter as a sidecar, a deployment with the Kafka-Exporter without auth, and the Sysdig Agent ConfigMap with the Prometheus job to scrape both exporters.
+You can find below ConfigMap with the JMX configurations for Kafka, a patch for the JMX-exporter as a sidecar and a deployment with the Kafka-Exporter without auth.
diff --git a/resources/kafka/dashboards.yaml b/resources/kafka/dashboards.yaml
index 967bd3ce..9d21cae3 100644
--- a/resources/kafka/dashboards.yaml
+++ b/resources/kafka/dashboards.yaml
@@ -4,16 +4,4 @@ app: kafka
version: 1.0.0
appVersion:
- '2.7'
-configurations:
-- name: kafka
- kind: Sysdig
- image: kafka/images/kafka.png
- description: |
- This dashboard offers information on:
- * Brokers
- * Network
- * Topics
- * ConsumerGroups
- * Quotas
- * Zookeeper
- file: include/Kafka.json
+configurations: []
\ No newline at end of file
diff --git a/resources/kafka/images/kafka.png b/resources/kafka/images/kafka.png
deleted file mode 100644
index a9334b0f..00000000
Binary files a/resources/kafka/images/kafka.png and /dev/null differ
diff --git a/resources/kafka/include/Kafka.json b/resources/kafka/include/Kafka.json
deleted file mode 100644
index 5e5e1c39..00000000
--- a/resources/kafka/include/Kafka.json
+++ /dev/null
@@ -1,3867 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 1,
- "panelId": 2,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 1,
- "panelId": 3,
- "w": 24,
- "x": 0,
- "y": 28
- },
- {
- "h": 1,
- "panelId": 4,
- "w": 24,
- "x": 0,
- "y": 45
- },
- {
- "h": 3,
- "panelId": 17,
- "w": 24,
- "x": 0,
- "y": 54
- },
- {
- "h": 1,
- "panelId": 24,
- "w": 24,
- "x": 0,
- "y": 13
- },
- {
- "h": 1,
- "panelId": 42,
- "w": 24,
- "x": 0,
- "y": 78
- },
- {
- "h": 2,
- "panelId": 1,
- "w": 3,
- "x": 0,
- "y": 1
- },
- {
- "h": 2,
- "panelId": 5,
- "w": 3,
- "x": 0,
- "y": 3
- },
- {
- "h": 8,
- "panelId": 6,
- "w": 8,
- "x": 0,
- "y": 29
- },
- {
- "h": 8,
- "panelId": 7,
- "w": 8,
- "x": 8,
- "y": 37
- },
- {
- "h": 8,
- "panelId": 8,
- "w": 8,
- "x": 16,
- "y": 37
- },
- {
- "h": 8,
- "panelId": 9,
- "w": 8,
- "x": 8,
- "y": 29
- },
- {
- "h": 8,
- "panelId": 11,
- "w": 8,
- "x": 16,
- "y": 29
- },
- {
- "h": 2,
- "panelId": 14,
- "w": 3,
- "x": 0,
- "y": 7
- },
- {
- "h": 2,
- "panelId": 15,
- "w": 3,
- "x": 0,
- "y": 11
- },
- {
- "h": 2,
- "panelId": 16,
- "w": 3,
- "x": 0,
- "y": 9
- },
- {
- "h": 6,
- "panelId": 19,
- "w": 7,
- "x": 17,
- "y": 1
- },
- {
- "h": 7,
- "panelId": 20,
- "w": 8,
- "x": 0,
- "y": 14
- },
- {
- "h": 2,
- "panelId": 12,
- "w": 3,
- "x": 0,
- "y": 5
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 7,
- "x": 10,
- "y": 1
- },
- {
- "h": 7,
- "panelId": 21,
- "w": 8,
- "x": 8,
- "y": 14
- },
- {
- "h": 7,
- "panelId": 22,
- "w": 8,
- "x": 16,
- "y": 14
- },
- {
- "h": 8,
- "panelId": 27,
- "w": 8,
- "x": 0,
- "y": 46
- },
- {
- "h": 8,
- "panelId": 28,
- "w": 8,
- "x": 16,
- "y": 46
- },
- {
- "h": 7,
- "panelId": 30,
- "w": 6,
- "x": 0,
- "y": 64
- },
- {
- "h": 7,
- "panelId": 31,
- "w": 6,
- "x": 0,
- "y": 71
- },
- {
- "h": 7,
- "panelId": 33,
- "w": 6,
- "x": 12,
- "y": 57
- },
- {
- "h": 7,
- "panelId": 23,
- "w": 8,
- "x": 0,
- "y": 21
- },
- {
- "h": 7,
- "panelId": 26,
- "w": 8,
- "x": 16,
- "y": 21
- },
- {
- "h": 7,
- "panelId": 29,
- "w": 6,
- "x": 0,
- "y": 57
- },
- {
- "h": 7,
- "panelId": 32,
- "w": 6,
- "x": 6,
- "y": 57
- },
- {
- "h": 7,
- "panelId": 34,
- "w": 6,
- "x": 18,
- "y": 57
- },
- {
- "h": 7,
- "panelId": 35,
- "w": 6,
- "x": 6,
- "y": 64
- },
- {
- "h": 7,
- "panelId": 36,
- "w": 6,
- "x": 6,
- "y": 71
- },
- {
- "h": 7,
- "panelId": 25,
- "w": 8,
- "x": 8,
- "y": 21
- },
- {
- "h": 8,
- "panelId": 37,
- "w": 8,
- "x": 8,
- "y": 46
- },
- {
- "h": 7,
- "panelId": 38,
- "w": 6,
- "x": 12,
- "y": 64
- },
- {
- "h": 7,
- "panelId": 39,
- "w": 6,
- "x": 12,
- "y": 71
- },
- {
- "h": 7,
- "panelId": 40,
- "w": 6,
- "x": 18,
- "y": 64
- },
- {
- "h": 7,
- "panelId": 41,
- "w": 6,
- "x": 18,
- "y": 71
- },
- {
- "h": 8,
- "panelId": 44,
- "w": 8,
- "x": 0,
- "y": 79
- },
- {
- "h": 8,
- "panelId": 45,
- "w": 8,
- "x": 8,
- "y": 79
- },
- {
- "h": 8,
- "panelId": 46,
- "w": 8,
- "x": 16,
- "y": 79
- },
- {
- "h": 8,
- "panelId": 43,
- "w": 8,
- "x": 0,
- "y": 87
- },
- {
- "h": 8,
- "panelId": 47,
- "w": 8,
- "x": 8,
- "y": 87
- },
- {
- "h": 8,
- "panelId": 48,
- "w": 8,
- "x": 16,
- "y": 87
- },
- {
- "h": 8,
- "panelId": 18,
- "w": 8,
- "x": 0,
- "y": 37
- },
- {
- "h": 6,
- "panelId": 49,
- "w": 7,
- "x": 3,
- "y": 1
- },
- {
- "h": 6,
- "panelId": 50,
- "w": 7,
- "x": 3,
- "y": 7
- },
- {
- "h": 6,
- "panelId": 51,
- "w": 7,
- "x": 17,
- "y": 7
- },
- {
- "h": 6,
- "panelId": 52,
- "w": 7,
- "x": 10,
- "y": 7
- }
- ],
- "name": "Kafka",
- "panels": [
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg(kafka_brokers{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Brokers Up",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "description": "",
- "id": 2,
- "markdownSource": "# Broker Stats",
- "name": "Broker Stats",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 3,
- "markdownSource": "# Topic Stats",
- "name": "Topic Stats",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 4,
- "markdownSource": "# Consumer-Group Stats",
- "name": "Consumer-Group Stats",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name, kube_workload_name)(kube_workload_status_desired{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})"
- }
- ],
- "description": "This panel requires the scopes 'cluster', 'namespace' and 'workload'.",
- "id": 5,
- "name": "Brokers Expected",
- "nullValueDisplayText": "",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Topic < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{topic}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, topic)(kafka_log_size{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace,kube_workload_name=~$workload, topic=~$topic})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "It includes the size of all replicas of a topic.",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Topic Size\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Topic < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{topic}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, topic)(kafka_topic_partition_current_offset{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace,kube_workload_name=~$workload, topic=~$topic}) - sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, topic)(kafka_topic_partition_oldest_offset{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace,kube_workload_name=~$workload, topic=~$topic})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The number of messages in a topic is calculated with \"currentOffset - oldestOffset\".\nThis is only true for topics with 'compaction' disabled, since compacted topics might have deleted messages in the middle.",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Topic Messages",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Topic < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{topic}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, topic)(rate(kafka_topic_partition_current_offset{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace,kube_workload_name=~$workload, topic=~$topic}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Topic Messages In Rate\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Topic < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{topic}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "topk(10,sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, topic)(kafka_log_size{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace,kube_workload_name=~$workload, topic=~$topic}))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "It includes the size of all replicas of a topic.",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Top 10 Biggest Topics\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Topic < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{topic}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "topk(10,sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, topic)(delta(kafka_log_size{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace,kube_workload_name=~$workload, topic=~$topic}[$__interval])))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "If Kafka is running out of disk space, it's probably caused by one of these topics.",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Top 10 Topics Highest Size Increase\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kafka_controller_offline_partitions{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})"
- }
- ],
- "description": "These partitions don\u2019t have an active leader and are hence not writable or readable.",
- "id": 14,
- "name": "Offline Partitions\n",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "high",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kafka_server_under_replicated_partitions{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})"
- }
- ],
- "description": "",
- "id": 15,
- "name": "Under Replicated Partitions\n",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "low",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kafka_server_under_isr_partitions{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})"
- }
- ],
- "description": "The under ISR (In-Sync Replicated) partitions will be unavailable to producers who use acks=all.",
- "id": 16,
- "name": "Under ISR Partitions",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "high",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "description": "",
- "id": 17,
- "markdownSource": "# Quota Stats\nKafka has the (optional) ability to enforce quotas on requests to control the Broker resources used by clients (Producers and Consumers).\n\nQuotas can be applied to (user, client-id), user or client-id groups.\n\nEach client can utilize this quota per Broker before it gets throttled. Throttling means that the client will need to wait some time before being able to Produce or Consume messages again.",
- "name": "Quota Stats",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name)(kafka_server_partition_leader_count{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Kafka must have 1 Active Controller or \"leader\".",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Partition Leadership per Broker",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name)(kafka_server_bytes_in{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Broker Bytes In\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(max by (kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name)(kafka_controller_active_controller{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}))"
- }
- ],
- "description": "Kafka must have 1 Active Controller or \"leader\".",
- "id": 12,
- "name": "Active Controllers",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "low",
- "value": 2.0
- },
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max by (kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name)(kafka_controller_active_controller{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Kafka must have 1 Active Controller or \"leader\".",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Active Controllers",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name)(kafka_server_bytes_out{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Broker Bytes Out",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name)(kafka_server_messages_in{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Broker Messages In",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 24,
- "markdownSource": "# Network Stats",
- "name": "Network Stats",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Partition < ConsumerGroup < Topic < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{partition}} < {{consumergroup}} < {{topic}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, consumergroup, topic, partition)(kafka_consumergroup_lag{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace,kube_workload_name=~$workload, topic=~$topic, consumergroup=~$consumer_group})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Lag can increase when a Consumer stops consuming, when it fails to process a message and continuously retries to process it, or when the Consumer consumption rate is lower than the Producer production rate.",
- "id": 27,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "ConsumerGroup Lag\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "ConsumerGroup < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{consumergroup}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, consumergroup)(kafka_consumergroup_members{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace,kube_workload_name=~$workload, consumergroup=~$consumer_group})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 28,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "ConsumerGroup Members\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "User < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{user}} < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name, user)(kafka_server_producer_user_byterate{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace,kube_workload_name=~$workload, user=~$user})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 30,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Producer Rate by User",
- "nullValueDisplayText": "No Producers using user.",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Client-Id < User < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{client_id}} < {{user}} < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(kube_cluster_name, kube_namespace_name, kube_workload_name, kube_pod_name, user, client_id)(kafka_server_producer_user_client_byterate{kube_cluster_name=~$cluster, kube_namespace_name=~$namespace,kube_workload_name=~$workload, user=~$user, client_id=~$client_id})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 31,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Producer Rate by User and Client-Id",
- "nullValueDisplayText": "No Producers using user and client-id.",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Client-Id < Pod < Workload
- (count(kube_node_status_allocatable_cpu_cores:sysdig)-1) / count(kube_node_status_allocatable_cpu_cores:sysdig)
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeMemOvercommit"
- "annotations":
- "message": "Cluster has overcommitted memory resource requests for Pods and cannot tolerate node failure."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubememovercommit"
- "expr": |
- sum(namespace:kube_pod_container_resource_requests_memory_bytes:sum{})
- /
- sum(kube_node_status_allocatable_memory_bytes:sysdig)
- >
- (count(kube_node_status_allocatable_memory_bytes:sysdig)-1)
- /
- count(kube_node_status_allocatable_memory_bytes:sysdig)
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeCPUOvercommit"
- "annotations":
- "message": "Cluster has overcommitted CPU resource requests for Namespaces."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubecpuovercommit"
- "expr": |
- sum(kube_resourcequota:sysdig{job="kubernetes-service-endpoints", type="hard", resource="cpu"})
- /
- sum(kube_node_status_allocatable_cpu_cores:sysdig)
- > 1.5
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeMemOvercommit"
- "annotations":
- "message": "Cluster has overcommitted memory resource requests for Namespaces."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubememovercommit"
- "expr": |
- sum(kube_resourcequota:sysdig{job="kubernetes-service-endpoints", type="hard", resource="memory"})
- /
- sum(kube_node_status_allocatable_memory_bytes:sysdig{job="node-exporter"})
- > 1.5
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeQuotaExceeded"
- "annotations":
- "message": "Namespace {{ $labels.namespace }} is using {{ $value | humanizePercentage }} of its {{ $labels.resource }} quota."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubequotaexceeded"
- "expr": |
- kube_resourcequota:sysdig{job="kubernetes-service-endpoints", type="used"}
- / ignoring(instance, job, type)
- (kube_resourcequota:sysdig{job="kubernetes-service-endpoints", type="hard"} > 0)
- > 0.90
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "CPUThrottlingHigh"
- "annotations":
- "message": "{{ $value | humanizePercentage }} throttling of CPU in namespace {{ $labels.namespace }} for container {{ $labels.container }} in pod {{ $labels.pod }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-cputhrottlinghigh"
- "expr": |
- sum(increase(container_cpu_cfs_throttled_periods_total:sysdig{container!="", }[5m])) by (container, pod, namespace)
- /
- sum(increase(container_cpu_cfs_periods_total:sysdig{}[5m])) by (container, pod, namespace)
- > ( 25 / 100 )
- "for": "15m"
- "labels":
- "severity": "warning"
-
- - "alert": "KubePersistentVolumeUsageCritical"
- "annotations":
- "message": "The PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} is only {{ $value | humanizePercentage }} free."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubepersistentvolumeusagecritical"
- "expr": |
- kubelet_volume_stats_available_bytes:sysdig{job="kubelet"}
- /
- kubelet_volume_stats_capacity_bytes:sysdig{job="kubelet"}
- < 0.03
- "for": "1m"
- "labels":
- "severity": "critical"
- - "alert": "KubePersistentVolumeFullInFourDays"
- "annotations":
- "message": "Based on recent sampling, the PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} is expected to fill up within four days. Currently {{ $value | humanizePercentage }} is available."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubepersistentvolumefullinfourdays"
- "expr": |
- (
- kubelet_volume_stats_available_bytes:sysdig{job="kubelet"}
- /
- kubelet_volume_stats_capacity_bytes:sysdig{job="kubelet"}
- ) < 0.15
- and
- predict_linear(kubelet_volume_stats_available_bytes:sysdig{job="kubelet"}[6h], 4 * 24 * 3600) < 0
- "for": "1h"
- "labels":
- "severity": "critical"
- - "alert": "KubePersistentVolumeErrors"
- "annotations":
- "message": "The persistent volume {{ $labels.persistentvolume }} has status {{ $labels.phase }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubepersistentvolumeerrors"
- "expr": |
- kube_persistentvolume_status_phase:sysdig{phase=~"Failed|Pending",job="kubernetes-service-endpoints"} > 0
- "for": "5m"
- "labels":
- "severity": "critical"
-
- - "alert": "KubeVersionMismatch"
- "annotations":
- "message": "There are {{ $value }} different semantic versions of Kubernetes components running."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeversionmismatch"
- "expr": |
- count(count by (gitVersion) (label_replace(kubernetes_build_info:sysdig{job!~"kube-dns|coredns"},"gitVersion","$1","gitVersion","(v[0-9]*.[0-9]*.[0-9]*).*"))) > 1
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeClientErrors"
- "annotations":
- "message": "Kubernetes API server client '{{ $labels.job }}/{{ $labels.instance }}' is experiencing {{ $value | humanizePercentage }} errors.'"
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeclienterrors"
- "expr": |
- (rest_client_requests_total:5xx:sysdig
- /
- rest_client_requests_total:sysdig
- > 0.01
- "for": "15m"
- "labels":
- "severity": "warning"
-
- - "alert": "ErrorBudgetBurn"
- "annotations":
- "message": "High requests error budget burn for job=kube-apiserver (current value: {{ $value }})"
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-errorbudgetburn"
- "expr": |
- (
- status_class_5xx:apiserver_request_total:ratio_rate1h{job="kube-apiserver"} > (14.4*0.010000)
- and
- status_class_5xx:apiserver_request_total:ratio_rate5m{job="kube-apiserver"} > (14.4*0.010000)
- )
- or
- (
- status_class_5xx:apiserver_request_total:ratio_rate6h{job="kube-apiserver"} > (6*0.010000)
- and
- status_class_5xx:apiserver_request_total:ratio_rate30m{job="kube-apiserver"} > (6*0.010000)
- )
- "labels":
- "job": "kube-apiserver"
- "severity": "critical"
- - "alert": "ErrorBudgetBurn"
- "annotations":
- "message": "High requests error budget burn for job=kube-apiserver (current value: {{ $value }})"
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-errorbudgetburn"
- "expr": |
- (
- status_class_5xx:apiserver_request_total:ratio_rate1d{job="kube-apiserver"} > (3*0.010000)
- and
- status_class_5xx:apiserver_request_total:ratio_rate2h{job="kube-apiserver"} > (3*0.010000)
- )
- or
- (
- status_class_5xx:apiserver_request_total:ratio_rate3d{job="kube-apiserver"} > (0.010000)
- and
- status_class_5xx:apiserver_request_total:ratio_rate6h{job="kube-apiserver"} > (0.010000)
- )
- "labels":
- "job": "kube-apiserver"
- "severity": "warning"
-
- - "alert": "KubeAPILatencyHigh"
- "annotations":
- "message": "The API server has an abnormal latency of {{ $value }} seconds for {{ $labels.verb }} {{ $labels.resource }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapilatencyhigh"
- "expr": |
- (
- cluster:apiserver_request_duration_seconds:mean5m{job="kube-apiserver"}
- >
- on (verb) group_left()
- (
- avg by (verb) (cluster:apiserver_request_duration_seconds:mean5m{job="kube-apiserver"} >= 0)
- +
- 2*stddev by (verb) (cluster:apiserver_request_duration_seconds:mean5m{job="kube-apiserver"} >= 0)
- )
- ) > on (verb) group_left()
- 1.2 * avg by (verb) (cluster:apiserver_request_duration_seconds:mean5m{job="kube-apiserver"} >= 0)
- and on (verb,resource)
- cluster_quantile:apiserver_request_duration_seconds:histogram_quantile{job="kube-apiserver",quantile="0.99"}
- >
- 1
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeAPILatencyHigh"
- "annotations":
- "message": "The API server has a 99th percentile latency of {{ $value }} seconds for {{ $labels.verb }} {{ $labels.resource }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapilatencyhigh"
- "expr": |
- cluster_quantile:apiserver_request_duration_seconds:histogram_quantile{job="kube-apiserver",quantile="0.99"} > 4
- "for": "10m"
- "labels":
- "severity": "critical"
- - "alert": "KubeAPIErrorsHigh"
- "annotations":
- "message": "API server is returning errors for {{ $value | humanizePercentage }} of requests for {{ $labels.verb }} {{ $labels.resource }} {{ $labels.subresource }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapierrorshigh"
- "expr": |
- sum(rate(apiserver_request_total:sysdig{job="kube-apiserver",code=~"5.."}[5m])) by (resource,subresource,verb)
- /
- sum(rate(apiserver_request_total:sysdig{job="kube-apiserver"}[5m])) by (resource,subresource,verb) > 0.10
- "for": "10m"
- "labels":
- "severity": "critical"
- - "alert": "KubeAPIErrorsHigh"
- "annotations":
- "message": "API server is returning errors for {{ $value | humanizePercentage }} of requests for {{ $labels.verb }} {{ $labels.resource }} {{ $labels.subresource }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapierrorshigh"
- "expr": |
- sum(rate(apiserver_request_total:sysdig{job="kube-apiserver",code=~"5.."}[5m])) by (resource,subresource,verb)
- /
- sum(rate(apiserver_request_total:sysdig{job="kube-apiserver"}[5m])) by (resource,subresource,verb) > 0.05
- "for": "10m"
- "labels":
- "severity": "warning"
- - "alert": "KubeClientCertificateExpiration"
- "annotations":
- "message": "A client certificate used to authenticate to the apiserver is expiring in less than 7.0 days."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeclientcertificateexpiration"
- "expr": |
- apiserver_client_certificate_expiration_seconds_count:sysdig{job="kube-apiserver"} > 0 and on(job) histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket:sysdig{job="kube-apiserver"}[5m]))) < 604800
- "labels":
- "severity": "warning"
- - "alert": "KubeClientCertificateExpiration"
- "annotations":
- "message": "A client certificate used to authenticate to the apiserver is expiring in less than 24.0 hours."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeclientcertificateexpiration"
- "expr": |
- apiserver_client_certificate_expiration_seconds_count:sysdig{job="kube-apiserver"} > 0 and on(job) histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket:sysdig{job="kube-apiserver"}[5m]))) < 86400
- "labels":
- "severity": "critical"
- - "alert": "AggregatedAPIErrors"
- "annotations":
- "message": "An aggregated API {{ $labels.name }}/{{ $labels.namespace }} has reported errors. The number of errors have increased for it in the past five minutes. High values indicate that the availability of the service changes too often."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-aggregatedapierrors"
- "expr": |
- sum by(name, namespace)(increase(aggregator_unavailable_apiservice_count:sysdig[5m])) > 2
- "labels":
- "severity": "warning"
- - "alert": "AggregatedAPIDown"
- "annotations":
- "message": "An aggregated API {{ $labels.name }}/{{ $labels.namespace }} is down. It has not been available at least for the past five minutes."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-aggregatedapidown"
- "expr": |
- sum by(name, namespace)(sum_over_time(aggregator_unavailable_apiservice:sysdig[5m])) > 0
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeAPIDown"
- "annotations":
- "message": "KubeAPI has disappeared from Prometheus target discovery."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapidown"
- "expr": |
- absent(up{job="kube-apiserver"} == 1)
- "for": "15m"
- "labels":
- "severity": "critical"
-
- - "alert": "KubeNodeNotReady"
- "annotations":
- "message": "{{ $labels.node }} has been unready for more than 15 minutes."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubenodenotready"
- "expr": |
- kube_node_status_condition:sysdig{job="kubernetes-service-endpoints",condition="Ready",status="true"} == 0
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeNodeUnreachable"
- "annotations":
- "message": "{{ $labels.node }} is unreachable and some workloads may be rescheduled."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubenodeunreachable"
- "expr": |
- kube_node_spec_taint:sysdig{job="kubernetes-service-endpoints",key="node.kubernetes.io/unreachable",effect="NoSchedule"} == 1
- "for": "2m"
- "labels":
- "severity": "warning"
- - "alert": "KubeletTooManyPods"
- "annotations":
- "message": "Kubelet '{{ $labels.node }}' is running at {{ $value | humanizePercentage }} of its Pod capacity."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubelettoomanypods"
- "expr": |
- max(max(kubelet_running_pod_count:sysdig{job="kubelet"}) by(instance) * on(instance) group_left(node) kubelet_node_name:sysdig{job="kubelet"}) by(node) / max(kube_node_status_capacity_pods{job="kubernetes-service-endpoints"}) by(node) > 0.95
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeNodeReadinessFlapping"
- "annotations":
- "message": "The readiness status of node {{ $labels.node }} has changed {{ $value }} times in the last 15 minutes."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubenodereadinessflapping"
- "expr": |
- sum(changes(kube_node_status_condition:sysdig{status="true",condition="Ready"}[15m])) by (node) > 2
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeletPlegDurationHigh"
- "annotations":
- "message": "The Kubelet Pod Lifecycle Event Generator has a 99th percentile duration of {{ $value }} seconds on node {{ $labels.node }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeletplegdurationhigh"
- "expr": |
- node_quantile:kubelet_pleg_relist_duration_seconds:histogram_quantile{quantile="0.99"} >= 10
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeletPodStartUpLatencyHigh"
- "annotations":
- "message": "Kubelet Pod startup 99th percentile latency is {{ $value }} seconds on node {{ $labels.node }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeletpodstartuplatencyhigh"
- "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, le)) * on(instance) group_left(node) kubelet_node_name:sysdig > 60
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeletDown"
- "annotations":
- "message": "Kubelet has disappeared from Prometheus target discovery."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeletdown"
- "expr": |
- absent(up{job="kubelet"} == 1)
- "for": "15m"
- "labels":
- "severity": "critical"
-
- - "alert": "KubeSchedulerDown"
- "annotations":
- "message": "KubeScheduler has disappeared from Prometheus target discovery."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeschedulerdown"
- "expr": |
- absent(up{job="kube-scheduler"} == 1)
- "for": "15m"
- "labels":
- "severity": "critical"
-
- - "alert": "KubeControllerManagerDown"
- "annotations":
- "message": "KubeControllerManager has disappeared from Prometheus target discovery."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubecontrollermanagerdown"
- "expr": |
- absent(up{job="kube-controller-manager"} == 1)
- "for": "15m"
- "labels":
- "severity": "critical"
diff --git a/resources/kubernetes-control/alertsv1.18.yaml b/resources/kubernetes-control/alertsv1.18.yaml
deleted file mode 100644
index d9854353..00000000
--- a/resources/kubernetes-control/alertsv1.18.yaml
+++ /dev/null
@@ -1,452 +0,0 @@
-apiVersion: v1
-kind: Alert
-app: Kubernetes control plane
-version: 1.0.0
-appVersion:
-- 1.18.0
-descriptionFile: ALERTSv1.18.md
-configurations:
-- kind: Prometheus
- data: |
- groups:
- - name: Kubernetes-control-plane
- rules:
- - "alert": "KubeCPUOvercommit"
- "annotations":
- "message": "Cluster has overcommitted CPU resource requests for Pods and cannot tolerate node failure."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubecpuovercommit"
- "expr": |
- sum(namespace:kube_pod_container_resource_requests_cpu_cores:sum{})
- /
- sum(kube_node_status_allocatable_cpu_cores:sysdig)
- >
- (count(kube_node_status_allocatable_cpu_cores:sysdig)-1) / count(kube_node_status_allocatable_cpu_cores:sysdig)
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeMemOvercommit"
- "annotations":
- "message": "Cluster has overcommitted memory resource requests for Pods and cannot tolerate node failure."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubememovercommit"
- "expr": |
- sum(namespace:kube_pod_container_resource_requests_memory_bytes:sum{})
- /
- sum(kube_node_status_allocatable_memory_bytes:sysdig)
- >
- (count(kube_node_status_allocatable_memory_bytes:sysdig)-1)
- /
- count(kube_node_status_allocatable_memory_bytes:sysdig)
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeCPUOvercommit"
- "annotations":
- "message": "Cluster has overcommitted CPU resource requests for Namespaces."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubecpuovercommit"
- "expr": |
- sum(kube_resourcequota:sysdig{job="kubernetes-service-endpoints", type="hard", resource="cpu"})
- /
- sum(kube_node_status_allocatable_cpu_cores:sysdig)
- > 1.5
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeMemOvercommit"
- "annotations":
- "message": "Cluster has overcommitted memory resource requests for Namespaces."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubememovercommit"
- "expr": |
- sum(kube_resourcequota:sysdig{job="kubernetes-service-endpoints", type="hard", resource="memory"})
- /
- sum(kube_node_status_allocatable_memory_bytes:sysdig{job="node-exporter"})
- > 1.5
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeQuotaExceeded"
- "annotations":
- "message": "Namespace {{ $labels.namespace }} is using {{ $value | humanizePercentage }} of its {{ $labels.resource }} quota."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubequotaexceeded"
- "expr": |
- kube_resourcequota:sysdig{job="kubernetes-service-endpoints", type="used"}
- / ignoring(instance, job, type)
- (kube_resourcequota:sysdig{job="kubernetes-service-endpoints", type="hard"} > 0)
- > 0.90
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "CPUThrottlingHigh"
- "annotations":
- "message": "{{ $value | humanizePercentage }} throttling of CPU in namespace {{ $labels.namespace }} for container {{ $labels.container }} in pod {{ $labels.pod }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-cputhrottlinghigh"
- "expr": |
- sum(increase(container_cpu_cfs_throttled_periods_total:sysdig{container!="", }[5m])) by (container, pod, namespace)
- /
- sum(increase(container_cpu_cfs_periods_total:sysdig{}[5m])) by (container, pod, namespace)
- > ( 25 / 100 )
- "for": "15m"
- "labels":
- "severity": "warning"
-
- - "alert": "KubePersistentVolumeUsageCritical"
- "annotations":
- "message": "The PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} is only {{ $value | humanizePercentage }} free."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubepersistentvolumeusagecritical"
- "expr": |
- kubelet_volume_stats_available_bytes:sysdig{job="kubelet"}
- /
- kubelet_volume_stats_capacity_bytes:sysdig{job="kubelet"}
- < 0.03
- "for": "1m"
- "labels":
- "severity": "critical"
- - "alert": "KubePersistentVolumeFullInFourDays"
- "annotations":
- "message": "Based on recent sampling, the PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} is expected to fill up within four days. Currently {{ $value | humanizePercentage }} is available."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubepersistentvolumefullinfourdays"
- "expr": |
- (
- kubelet_volume_stats_available_bytes:sysdig{job="kubelet"}
- /
- kubelet_volume_stats_capacity_bytes:sysdig{job="kubelet"}
- ) < 0.15
- and
- predict_linear(kubelet_volume_stats_available_bytes:sysdig{job="kubelet"}[6h], 4 * 24 * 3600) < 0
- "for": "1h"
- "labels":
- "severity": "critical"
- - "alert": "KubePersistentVolumeErrors"
- "annotations":
- "message": "The persistent volume {{ $labels.persistentvolume }} has status {{ $labels.phase }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubepersistentvolumeerrors"
- "expr": |
- kube_persistentvolume_status_phase:sysdig{phase=~"Failed|Pending",job="kubernetes-service-endpoints"} > 0
- "for": "5m"
- "labels":
- "severity": "critical"
-
- - "alert": "KubeVersionMismatch"
- "annotations":
- "message": "There are {{ $value }} different semantic versions of Kubernetes components running."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeversionmismatch"
- "expr": |
- count(count by (gitVersion) (label_replace(kubernetes_build_info:sysdig{job!~"kube-dns|coredns"},"gitVersion","$1","gitVersion","(v[0-9]*.[0-9]*.[0-9]*).*"))) > 1
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeClientErrors"
- "annotations":
- "message": "Kubernetes API server client '{{ $labels.job }}/{{ $labels.instance }}' is experiencing {{ $value | humanizePercentage }} errors.'"
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeclienterrors"
- "expr": |
- (rest_client_requests_total:5xx:sysdig
- /
- rest_client_requests_total:sysdig
- > 0.01
- "for": "15m"
- "labels":
- "severity": "warning"
-
- - "alert": "ErrorBudgetBurn"
- "annotations":
- "message": "High requests error budget burn for job=kube-apiserver (current value: {{ $value }})"
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-errorbudgetburn"
- "expr": |
- (
- status_class_5xx:apiserver_request_total:ratio_rate1h{job="kube-apiserver"} > (14.4*0.010000)
- and
- status_class_5xx:apiserver_request_total:ratio_rate5m{job="kube-apiserver"} > (14.4*0.010000)
- )
- or
- (
- status_class_5xx:apiserver_request_total:ratio_rate6h{job="kube-apiserver"} > (6*0.010000)
- and
- status_class_5xx:apiserver_request_total:ratio_rate30m{job="kube-apiserver"} > (6*0.010000)
- )
- "labels":
- "job": "kube-apiserver"
- "severity": "critical"
- - "alert": "ErrorBudgetBurn"
- "annotations":
- "message": "High requests error budget burn for job=kube-apiserver (current value: {{ $value }})"
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-errorbudgetburn"
- "expr": |
- (
- status_class_5xx:apiserver_request_total:ratio_rate1d{job="kube-apiserver"} > (3*0.010000)
- and
- status_class_5xx:apiserver_request_total:ratio_rate2h{job="kube-apiserver"} > (3*0.010000)
- )
- or
- (
- status_class_5xx:apiserver_request_total:ratio_rate3d{job="kube-apiserver"} > (0.010000)
- and
- status_class_5xx:apiserver_request_total:ratio_rate6h{job="kube-apiserver"} > (0.010000)
- )
- "labels":
- "job": "kube-apiserver"
- "severity": "warning"
-
- - "alert": "KubeAPILatencyHigh"
- "annotations":
- "message": "The API server has an abnormal latency of {{ $value }} seconds for {{ $labels.verb }} {{ $labels.resource }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapilatencyhigh"
- "expr": |
- (
- cluster:apiserver_request_duration_seconds:mean5m{job="kube-apiserver"}
- >
- on (verb) group_left()
- (
- avg by (verb) (cluster:apiserver_request_duration_seconds:mean5m{job="kube-apiserver"} >= 0)
- +
- 2*stddev by (verb) (cluster:apiserver_request_duration_seconds:mean5m{job="kube-apiserver"} >= 0)
- )
- ) > on (verb) group_left()
- 1.2 * avg by (verb) (cluster:apiserver_request_duration_seconds:mean5m{job="kube-apiserver"} >= 0)
- and on (verb,resource)
- cluster_quantile:apiserver_request_duration_seconds:histogram_quantile{job="kube-apiserver",quantile="0.99"}
- >
- 1
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeAPILatencyHigh"
- "annotations":
- "message": "The API server has a 99th percentile latency of {{ $value }} seconds for {{ $labels.verb }} {{ $labels.resource }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapilatencyhigh"
- "expr": |
- cluster_quantile:apiserver_request_duration_seconds:histogram_quantile{job="kube-apiserver",quantile="0.99"} > 4
- "for": "10m"
- "labels":
- "severity": "critical"
- - "alert": "KubeAPIErrorsHigh"
- "annotations":
- "message": "API server is returning errors for {{ $value | humanizePercentage }} of requests for {{ $labels.verb }} {{ $labels.resource }} {{ $labels.subresource }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapierrorshigh"
- "expr": |
- sum(rate(apiserver_request_total:sysdig{job="kube-apiserver",code=~"5.."}[5m])) by (resource,subresource,verb)
- /
- sum(rate(apiserver_request_total:sysdig{job="kube-apiserver"}[5m])) by (resource,subresource,verb) > 0.10
- "for": "10m"
- "labels":
- "severity": "critical"
- - "alert": "KubeAPIErrorsHigh"
- "annotations":
- "message": "API server is returning errors for {{ $value | humanizePercentage }} of requests for {{ $labels.verb }} {{ $labels.resource }} {{ $labels.subresource }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapierrorshigh"
- "expr": |
- sum(rate(apiserver_request_total:sysdig{job="kube-apiserver",code=~"5.."}[5m])) by (resource,subresource,verb)
- /
- sum(rate(apiserver_request_total:sysdig{job="kube-apiserver"}[5m])) by (resource,subresource,verb) > 0.05
- "for": "10m"
- "labels":
- "severity": "warning"
- - "alert": "KubeClientCertificateExpiration"
- "annotations":
- "message": "A client certificate used to authenticate to the apiserver is expiring in less than 7.0 days."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeclientcertificateexpiration"
- "expr": |
- apiserver_client_certificate_expiration_seconds_count:sysdig{job="kube-apiserver"} > 0 and on(job) histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket:sysdig{job="kube-apiserver"}[5m]))) < 604800
- "labels":
- "severity": "warning"
- - "alert": "KubeClientCertificateExpiration"
- "annotations":
- "message": "A client certificate used to authenticate to the apiserver is expiring in less than 24.0 hours."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeclientcertificateexpiration"
- "expr": |
- apiserver_client_certificate_expiration_seconds_count:sysdig{job="kube-apiserver"} > 0 and on(job) histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket:sysdig{job="kube-apiserver"}[5m]))) < 86400
- "labels":
- "severity": "critical"
- - "alert": "AggregatedAPIErrors"
- "annotations":
- "message": "An aggregated API {{ $labels.name }}/{{ $labels.namespace }} has reported errors. The number of errors have increased for it in the past five minutes. High values indicate that the availability of the service changes too often."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-aggregatedapierrors"
- "expr": |
- sum by(name, namespace)(increase(aggregator_unavailable_apiservice_count:sysdig[5m])) > 2
- "labels":
- "severity": "warning"
- - "alert": "AggregatedAPIDown"
- "annotations":
- "message": "An aggregated API {{ $labels.name }}/{{ $labels.namespace }} is down. It has not been available at least for the past five minutes."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-aggregatedapidown"
- "expr": |
- sum by(name, namespace)(sum_over_time(aggregator_unavailable_apiservice:sysdig[5m])) > 0
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeAPIDown"
- "annotations":
- "message": "KubeAPI has disappeared from Prometheus target discovery."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapidown"
- "expr": |
- absent(up{job="kube-apiserver"} == 1)
- "for": "15m"
- "labels":
- "severity": "critical"
-
- - "alert": "KubeNodeNotReady"
- "annotations":
- "message": "{{ $labels.node }} has been unready for more than 15 minutes."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubenodenotready"
- "expr": |
- kube_node_status_condition:sysdig{job="kubernetes-service-endpoints",condition="Ready",status="true"} == 0
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeNodeUnreachable"
- "annotations":
- "message": "{{ $labels.node }} is unreachable and some workloads may be rescheduled."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubenodeunreachable"
- "expr": |
- kube_node_spec_taint:sysdig{job="kubernetes-service-endpoints",key="node.kubernetes.io/unreachable",effect="NoSchedule"} == 1
- "for": "2m"
- "labels":
- "severity": "warning"
- - "alert": "KubeletTooManyPods"
- "annotations":
- "message": "Kubelet '{{ $labels.node }}' is running at {{ $value | humanizePercentage }} of its Pod capacity."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubelettoomanypods"
- "expr": |
- max(max(kubelet_running_pod_count:sysdig{job="kubelet"}) by(instance) * on(instance) group_left(node) kubelet_node_name:sysdig{job="kubelet"}) by(node) / max(kube_node_status_capacity_pods{job="kubernetes-service-endpoints"}) by(node) > 0.95
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeNodeReadinessFlapping"
- "annotations":
- "message": "The readiness status of node {{ $labels.node }} has changed {{ $value }} times in the last 15 minutes."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubenodereadinessflapping"
- "expr": |
- sum(changes(kube_node_status_condition:sysdig{status="true",condition="Ready"}[15m])) by (node) > 2
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeletPlegDurationHigh"
- "annotations":
- "message": "The Kubelet Pod Lifecycle Event Generator has a 99th percentile duration of {{ $value }} seconds on node {{ $labels.node }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeletplegdurationhigh"
- "expr": |
- node_quantile:kubelet_pleg_relist_duration_seconds:histogram_quantile{quantile="0.99"} >= 10
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeletPodStartUpLatencyHigh"
- "annotations":
- "message": "Kubelet Pod startup 99th percentile latency is {{ $value }} seconds on node {{ $labels.node }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeletpodstartuplatencyhigh"
- "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, le)) * on(instance) group_left(node) kubelet_node_name:sysdig > 60
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeletDown"
- "annotations":
- "message": "Kubelet has disappeared from Prometheus target discovery."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeletdown"
- "expr": |
- absent(up{job="kubelet"} == 1)
- "for": "15m"
- "labels":
- "severity": "critical"
-
- - "alert": "KubeSchedulerDown"
- "annotations":
- "message": "KubeScheduler has disappeared from Prometheus target discovery."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeschedulerdown"
- "expr": |
- absent(up{job="kube-scheduler"} == 1)
- "for": "15m"
- "labels":
- "severity": "critical"
-
- - "alert": "KubeControllerManagerDown"
- "annotations":
- "message": "KubeControllerManager has disappeared from Prometheus target discovery."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubecontrollermanagerdown"
- "expr": |
- absent(up{job="kube-controller-manager"} == 1)
- "for": "15m"
- "labels":
- "severity": "critical"
-
- - alert: CoreDNSDown
- annotations:
- message: CoreDNS has disappeared from Prometheus target discovery.
- runbook_url: https://github.com/povilasv/coredns-mixin/tree/master/runbook.md#alert-name-corednsdown
- expr: |
- absent(up{job="kube-dns"} == 1)
- for: 15m
- labels:
- severity: critical
-
- - alert: CoreDNSLatencyHigh
- annotations:
- message: CoreDNS has 99th percentile latency of {{ $value }} seconds for server
- {{ $labels.server }} zone {{ $labels.zone }} .
- runbook_url: https://github.com/povilasv/coredns-mixin/tree/master/runbook.md#alert-name-corednslatencyhigh
- expr: |
- histogram_quantile(0.99, sum(rate(coredns_dns_request_duration_seconds_bucket{job="kube-dns"}[5m])) by(server, zone, le)) > 4
- for: 10m
- labels:
- severity: critical
-
- - alert: CoreDNSErrorsHigh
- annotations:
- message: CoreDNS is returning SERVFAIL for {{ $value | humanizePercentage }} of
- requests.
- runbook_url: https://github.com/povilasv/coredns-mixin/tree/master/runbook.md#alert-name-corednserrorshigh
- expr: |
- sum(rate(coredns_dns_response_rcode_count_total{job="kube-dns",rcode="SERVFAIL"}[5m]))
- /
- sum(rate(coredns_dns_response_rcode_count_total{job="kube-dns"}[5m])) > 0.03
- for: 10m
- labels:
- severity: critical
-
- - alert: CoreDNSErrorsHigh
- annotations:
- message: CoreDNS is returning SERVFAIL for {{ $value | humanizePercentage }} of
- requests.
- runbook_url: https://github.com/povilasv/coredns-mixin/tree/master/runbook.md#alert-name-corednserrorshigh
- expr: |
- sum(rate(coredns_dns_response_rcode_count_total{job="kube-dns",rcode="SERVFAIL"}[5m]))
- /
- sum(rate(coredns_dns_response_rcode_count_total{job="kube-dns"}[5m])) > 0.01
- for: 10m
- labels:
- severity: warning
-
- - alert: CoreDNSForwardLatencyHigh
- annotations:
- message: CoreDNS has 99th percentile latency of {{ $value }} seconds forwarding
- requests to {{ $labels.to }}.
- runbook_url: https://github.com/povilasv/coredns-mixin/tree/master/runbook.md#alert-name-corednsforwardlatencyhigh
- expr: |
- histogram_quantile(0.99, sum(rate(coredns_forward_request_duration_seconds_bucket{job="kube-dns"}[5m])) by(to, le)) > 4
- for: 10m
- labels:
- severity: critical
-
- - alert: CoreDNSForwardErrorsHigh
- annotations:
- message: CoreDNS is returning SERVFAIL for {{ $value | humanizePercentage }} of
- forward requests to {{ $labels.to }}.
- runbook_url: https://github.com/povilasv/coredns-mixin/tree/master/runbook.md#alert-name-corednsforwarderrorshigh
- expr: |
- sum(rate(coredns_forward_response_rcode_count_total{job="kube-dns",rcode="SERVFAIL"}[5m]))
- /
- sum(rate(coredns_forward_response_rcode_count_total{job="kube-dns"}[5m])) > 0.03
- for: 10m
- labels:
- severity: critical
-
- - alert: CoreDNSForwardErrorsHigh
- annotations:
- message: CoreDNS is returning SERVFAIL for {{ $value | humanizePercentage }} of
- forward requests to {{ $labels.to }}.
- runbook_url: https://github.com/povilasv/coredns-mixin/tree/master/runbook.md#alert-name-corednsforwarderrorshigh
- expr: |
- sum(rate(coredns_dns_response_rcode_count_total{job="kube-dns",rcode="SERVFAIL"}[5m]))
- /
- sum(rate(coredns_dns_response_rcode_count_total{job="kube-dns"}[5m])) > 0.01
- for: 10m
- labels:
- severity: warning
diff --git a/resources/kubernetes-control/dashboardsv1.14.yaml b/resources/kubernetes-control/dashboardsv1.14.yaml
deleted file mode 100644
index 8f53b75e..00000000
--- a/resources/kubernetes-control/dashboardsv1.14.yaml
+++ /dev/null
@@ -1,77 +0,0 @@
-apiVersion: v1
-kind: Dashboard
-app: Kubernetes control plane
-version: 1.0.0
-appVersion:
-- 1.14.0
-configurations:
-- name: Kubernetes / Api
- kind: Grafana
- image: kubernetes-control/images/api_grafana.png
- description: |
- This dashboard offers information on:
- * Api Server
- file: include/dashboard-Grafana-Kubernetes---Api-1.14.0.json
-- name: Kubernetes / Controller manager
- kind: Grafana
- image: kubernetes-control/images/controller_manager_grafana.png
- description: |
- This dashboard offers information on:
- * Controller manager
- file: include/dashboard-Grafana-Kubernetes---Controller-manager-1.14.0.json
-- name: Kubernetes / Kubelet
- kind: Grafana
- image: kubernetes-control/images/kubelet_grafana.png
- description: |
- This dashboard offers information on:
- * Kubelet
- file: include/dashboard-Grafana-Kubernetes---Kubelet-1.14.0.json
-- name: Kubernetes / Scheduler
- kind: Grafana
- image: kubernetes-control/images/scheduler_grafana.png
- description: |
- This dashboard offers information on:
- * Scheduler
- file: include/dashboard-Grafana-Kubernetes---Scheduler-1.14.0.json
-- name: Kubernetes / Proxy
- kind: Grafana
- image: kubernetes-control/images/proxy_grafana.png
- description: |
- This dashboard offers information on:
- * Proxy Server
- file: include/dashboard-Grafana-Kubernetes---Proxy-1.14.0.json
-- name: Kubernetes / Api
- kind: Sysdig
- image: kubernetes-control/images/api_sysdig.png
- description: |
- This dashboard offers information on:
- * Api Server
- file: include/dashboard-Sysdig-Kubernetes---Api-1.14.0.json
-- name: Kubernetes / Controller manager
- kind: Sysdig
- image: kubernetes-control/images/controller_manager_sysdig.png
- description: |
- This dashboard offers information on:
- * Controller manager
- file: include/dashboard-Sysdig-Kubernetes---Controller-manager-1.14.0.json
-- name: Kubernetes / Kubelet
- kind: Sysdig
- image: kubernetes-control/images/kubelet_sysdig.png
- description: |
- This dashboard offers information on:
- * Kubelet
- file: include/dashboard-Sysdig-Kubernetes---Kubelet-1.14.0.json
-- name: Kubernetes / Scheduler
- kind: Sysdig
- image: kubernetes-control/images/scheduler_sysdig.png
- description: |
- This dashboard offers information on:
- * Scheduler
- file: include/dashboard-Sysdig-Kubernetes---Scheduler-1.14.0.json
-- name: Kubernetes / Proxy
- kind: Sysdig
- image: kubernetes-control/images/proxy_sysdig.png
- description: |
- This dashboard offers information on:
- * Proxy server
- file: include/dashboard-Sysdig-Kubernetes---Proxy-1.14.0.json
diff --git a/resources/kubernetes-control/dashboardsv1.18.yaml b/resources/kubernetes-control/dashboardsv1.18.yaml
deleted file mode 100644
index 8c485735..00000000
--- a/resources/kubernetes-control/dashboardsv1.18.yaml
+++ /dev/null
@@ -1,105 +0,0 @@
-apiVersion: v1
-kind: Dashboard
-app: Kubernetes control plane
-version: 1.0.0
-appVersion:
-- 1.18.0
-configurations:
-- name: Kubernetes / Api
- kind: Sysdig
- image: kubernetes-control/images/api_sysdig.png
- description: |
- This dashboard offers information on:
- * Api Server
- file: include/dashboard-Sysdig-Kubernetes---Api-1.14.0.json
-- name: Kubernetes / Controller manager
- kind: Sysdig
- image: kubernetes-control/images/controller_manager_sysdig.png
- description: |
- This dashboard offers information on:
- * Controller manager
- file: include/dashboard-Sysdig-Kubernetes---Controller-manager-1.14.0.json
-- name: Kubernetes / Kubelet
- kind: Sysdig
- image: kubernetes-control/images/kubelet_sysdig.png
- description: |
- This dashboard offers information on:
- * Kubelet
- file: include/dashboard-Sysdig-Kubernetes---Kubelet-1.14.0.json
-- name: Kubernetes / Scheduler
- kind: Sysdig
- image: kubernetes-control/images/scheduler_sysdig.png
- description: |
- This dashboard offers information on:
- * Scheduler
- file: include/dashboard-Sysdig-Kubernetes---Scheduler-1.14.0.json
-- name: Kubernetes / Proxy
- kind: Sysdig
- image: kubernetes-control/images/proxy_sysdig.png
- description: |
- This dashboard offers information on:
- * Proxy server
- file: include/dashboard-Sysdig-Kubernetes---Proxy-1.14.0.json
-- name: Kubernetes / CoreDNS
- kind: Sysdig
- image: kubernetes-control/images/coreDNS_sysdig.png
- description: |
- This dashboard offers information on:
- * CoreDns
- file: include/dashboard-Sysdig-Kubernetes---CoreDNS-1.18.0.json
-- name: Kubernetes / etcd
- kind: Sysdig
- image: kubernetes-control/images/etcd_sysdig.png
- description: |
- This dashboard offers information on:
- * etcd
- file: include/dashboard-Sysdig-Kubernetes---etcd-1.14.0.json
-- name: Kubernetes / Api
- kind: Grafana
- image: kubernetes-control/images/api_grafana.png
- description: |
- This dashboard offers information on:
- * Api Server
- file: include/dashboard-Grafana-Kubernetes---Api-1.14.0.json
-- name: Kubernetes / Controller manager
- kind: Grafana
- image: kubernetes-control/images/controller_manager_grafana.png
- description: |
- This dashboard offers information on:
- * Controller manager
- file: include/dashboard-Grafana-Kubernetes---Controller-manager-1.14.0.json
-- name: Kubernetes / Kubelet
- kind: Grafana
- image: kubernetes-control/images/kubelet_grafana.png
- description: |
- This dashboard offers information on:
- * Kubelet
- file: include/dashboard-Grafana-Kubernetes---Kubelet-1.14.0.json
-- name: Kubernetes / Scheduler
- kind: Grafana
- image: kubernetes-control/images/scheduler_grafana.png
- description: |
- This dashboard offers information on:
- * Scheduler
- file: include/dashboard-Grafana-Kubernetes---Scheduler-1.14.0.json
-- name: Kubernetes / Proxy
- kind: Grafana
- image: kubernetes-control/images/proxy_grafana.png
- description: |
- This dashboard offers information on:
- * Proxy Server
- file: include/dashboard-Grafana-Kubernetes---Proxy-1.14.0.json
-- name: Kubernetes / CoreDNS
- kind: Grafana
- image: kubernetes-control/images/coreDNS_grafana.png
- description: |
- This dashboard offers information on:
- * CoreDns
- file: include/dashboard-Grafana-Kubernetes---CoreDNS-1.18.0.json
-- name: Kubernetes / etcd
- kind: Grafana
- image: kubernetes-control/images/etcd_grafana.png
- description: |
- This dashboard offers information on:
- * etcd
- file: include/dashboard-Grafana-Kubernetes---etcd-1.14.0.json
\ No newline at end of file
diff --git a/resources/kubernetes-control/dashboardsv1.22.yaml b/resources/kubernetes-control/dashboardsv1.22.yaml
index c514b605..ce81955c 100644
--- a/resources/kubernetes-control/dashboardsv1.22.yaml
+++ b/resources/kubernetes-control/dashboardsv1.22.yaml
@@ -4,53 +4,4 @@ app: Kubernetes control plane
version: 1.0.0
appVersion:
- 1.22.0
-configurations:
-- name: Kubernetes / Api
- kind: Sysdig
- image: kubernetes-control/images/api_sysdig_22.png
- description: |
- This dashboard offers information on:
- * Api Server
- file: include/dashboard-Sysdig-Kubernetes---Api-1.22.0.json
-- name: Kubernetes / Controller manager
- kind: Sysdig
- image: kubernetes-control/images/controller_manager_sysdig_22.png
- description: |
- This dashboard offers information on:
- * Controller manager
- file: include/dashboard-Sysdig-Kubernetes---Controller-manager-1.22.0.json
-- name: Kubernetes / Kubelet
- kind: Sysdig
- image: kubernetes-control/images/kubelet_sysdig_22.png
- description: |
- This dashboard offers information on:
- * Kubelet
- file: include/dashboard-Sysdig-Kubernetes---Kubelet-1.22.0.json
-- name: Kubernetes / Scheduler
- kind: Sysdig
- image: kubernetes-control/images/scheduler_sysdig_22.png
- description: |
- This dashboard offers information on:
- * Scheduler
- file: include/dashboard-Sysdig-Kubernetes---Scheduler-1.22.0.json
-- name: Kubernetes / Proxy
- kind: Sysdig
- image: kubernetes-control/images/proxy_sysdig_22.png
- description: |
- This dashboard offers information on:
- * Proxy server
- file: include/dashboard-Sysdig-Kubernetes---Proxy-1.22.0.json
-- name: Kubernetes / CoreDNS
- kind: Sysdig
- image: kubernetes-control/images/coreDNS_sysdig_22.png
- description: |
- This dashboard offers information on:
- * CoreDns
- file: include/dashboard-Sysdig-Kubernetes---CoreDNS-1.22.0.json
-- name: Kubernetes / etcd
- kind: Sysdig
- image: kubernetes-control/images/etcd_sysdig.png
- description: |
- This dashboard offers information on:
- * etcd
- file: include/dashboard-Sysdig-Kubernetes---etcd-1.14.0.json
\ No newline at end of file
+configurations: []
\ No newline at end of file
diff --git a/resources/kubernetes-control/descriptionv1.14.yaml b/resources/kubernetes-control/descriptionv1.14.yaml
deleted file mode 100644
index 4e847cb4..00000000
--- a/resources/kubernetes-control/descriptionv1.14.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-apiVersion: v1
-kind: Description
-app: Kubernetes control plane
-version: 1.0.0
-appVersion:
-- 1.14.0
-descriptionFile: READMEv1.14.md
diff --git a/resources/kubernetes-control/descriptionv1.18.yaml b/resources/kubernetes-control/descriptionv1.18.yaml
deleted file mode 100644
index e8a8057a..00000000
--- a/resources/kubernetes-control/descriptionv1.18.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-apiVersion: v1
-kind: Description
-app: Kubernetes control plane
-version: 1.0.0
-appVersion:
-- 1.18.0
-descriptionFile: READMEv1.18.md
diff --git a/resources/kubernetes-control/images/api_sysdig.png b/resources/kubernetes-control/images/api_sysdig.png
deleted file mode 100644
index 9305964a..00000000
Binary files a/resources/kubernetes-control/images/api_sysdig.png and /dev/null differ
diff --git a/resources/kubernetes-control/images/api_sysdig_22.png b/resources/kubernetes-control/images/api_sysdig_22.png
deleted file mode 100644
index c19e5ae2..00000000
Binary files a/resources/kubernetes-control/images/api_sysdig_22.png and /dev/null differ
diff --git a/resources/kubernetes-control/images/controller_manager_sysdig.png b/resources/kubernetes-control/images/controller_manager_sysdig.png
deleted file mode 100644
index a3876d83..00000000
Binary files a/resources/kubernetes-control/images/controller_manager_sysdig.png and /dev/null differ
diff --git a/resources/kubernetes-control/images/controller_manager_sysdig_22.png b/resources/kubernetes-control/images/controller_manager_sysdig_22.png
deleted file mode 100644
index c1890ae4..00000000
Binary files a/resources/kubernetes-control/images/controller_manager_sysdig_22.png and /dev/null differ
diff --git a/resources/kubernetes-control/images/coreDNS_sysdig.png b/resources/kubernetes-control/images/coreDNS_sysdig.png
deleted file mode 100644
index db1d321b..00000000
Binary files a/resources/kubernetes-control/images/coreDNS_sysdig.png and /dev/null differ
diff --git a/resources/kubernetes-control/images/coreDNS_sysdig_22.png b/resources/kubernetes-control/images/coreDNS_sysdig_22.png
deleted file mode 100644
index dcb74875..00000000
Binary files a/resources/kubernetes-control/images/coreDNS_sysdig_22.png and /dev/null differ
diff --git a/resources/kubernetes-control/images/etcd_sysdig.png b/resources/kubernetes-control/images/etcd_sysdig.png
deleted file mode 100644
index 1ac2e416..00000000
Binary files a/resources/kubernetes-control/images/etcd_sysdig.png and /dev/null differ
diff --git a/resources/kubernetes-control/images/kubelet_sysdig.png b/resources/kubernetes-control/images/kubelet_sysdig.png
deleted file mode 100644
index e0342f66..00000000
Binary files a/resources/kubernetes-control/images/kubelet_sysdig.png and /dev/null differ
diff --git a/resources/kubernetes-control/images/kubelet_sysdig_22.png b/resources/kubernetes-control/images/kubelet_sysdig_22.png
deleted file mode 100644
index 5c49db3d..00000000
Binary files a/resources/kubernetes-control/images/kubelet_sysdig_22.png and /dev/null differ
diff --git a/resources/kubernetes-control/images/proxy_sysdig.png b/resources/kubernetes-control/images/proxy_sysdig.png
deleted file mode 100644
index 3f1df59d..00000000
Binary files a/resources/kubernetes-control/images/proxy_sysdig.png and /dev/null differ
diff --git a/resources/kubernetes-control/images/proxy_sysdig_22.png b/resources/kubernetes-control/images/proxy_sysdig_22.png
deleted file mode 100644
index 717a2a79..00000000
Binary files a/resources/kubernetes-control/images/proxy_sysdig_22.png and /dev/null differ
diff --git a/resources/kubernetes-control/images/scheduler_sysdig.png b/resources/kubernetes-control/images/scheduler_sysdig.png
deleted file mode 100644
index 8b8c3dd6..00000000
Binary files a/resources/kubernetes-control/images/scheduler_sysdig.png and /dev/null differ
diff --git a/resources/kubernetes-control/images/scheduler_sysdig_22.png b/resources/kubernetes-control/images/scheduler_sysdig_22.png
deleted file mode 100644
index a76f495c..00000000
Binary files a/resources/kubernetes-control/images/scheduler_sysdig_22.png and /dev/null differ
diff --git a/resources/kubernetes-control/include/alertsv1.14.yaml b/resources/kubernetes-control/include/alertsv1.14.yaml
deleted file mode 100644
index 5c226f72..00000000
--- a/resources/kubernetes-control/include/alertsv1.14.yaml
+++ /dev/null
@@ -1,442 +0,0 @@
-groups:
-- name: Kubernetes-control-plane
- rules:
- - "alert": "KubeCPUOvercommit"
- "annotations":
- "message": "Cluster has overcommitted CPU resource requests for Pods and cannot tolerate node failure."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubecpuovercommit"
- "expr": |
- sum(namespace:kube_pod_container_resource_requests_cpu_cores:sum{})
- /
- sum(kube_node_status_allocatable_cpu_cores:sysdig)
- >
- (count(kube_node_status_allocatable_cpu_cores:sysdig)-1) / count(kube_node_status_allocatable_cpu_cores:sysdig)
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeMemOvercommit"
- "annotations":
- "message": "Cluster has overcommitted memory resource requests for Pods and cannot tolerate node failure."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubememovercommit"
- "expr": |
- sum(namespace:kube_pod_container_resource_requests_memory_bytes:sum{})
- /
- sum(kube_node_status_allocatable_memory_bytes:sysdig)
- >
- (count(kube_node_status_allocatable_memory_bytes:sysdig)-1)
- /
- count(kube_node_status_allocatable_memory_bytes:sysdig)
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeCPUOvercommitNamespace"
- "annotations":
- "message": "Cluster has overcommitted CPU resource requests for Namespaces."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubecpuovercommit"
- "expr": |
- sum(kube_resourcequota:sysdig{job="kubernetes-service-endpoints", type="hard", resource="cpu"})
- /
- sum(kube_node_status_allocatable_cpu_cores:sysdig)
- > 1.5
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeMemOvercommitNamespace"
- "annotations":
- "message": "Cluster has overcommitted memory resource requests for Namespaces."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubememovercommit"
- "expr": |
- sum(kube_resourcequota:sysdig{job="kubernetes-service-endpoints", type="hard", resource="memory"})
- /
- sum(kube_node_status_allocatable_memory_bytes:sysdig{job="node-exporter"})
- > 1.5
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeQuotaExceeded"
- "annotations":
- "message": "Namespace {{ $labels.namespace }} is using {{ $value | humanizePercentage }} of its {{ $labels.resource }} quota."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubequotaexceeded"
- "expr": |
- kube_resourcequota:sysdig{job="kubernetes-service-endpoints", type="used"}
- / ignoring(instance, job, type)
- (kube_resourcequota:sysdig{job="kubernetes-service-endpoints", type="hard"} > 0)
- > 0.90
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "CPUThrottlingHigh"
- "annotations":
- "message": "{{ $value | humanizePercentage }} throttling of CPU in namespace {{ $labels.namespace }} for container {{ $labels.container }} in pod {{ $labels.pod }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-cputhrottlinghigh"
- "expr": |
- sum(increase(container_cpu_cfs_throttled_periods_total:sysdig{container!="", }[5m])) by (container, pod, namespace)
- /
- sum(increase(container_cpu_cfs_periods_total:sysdig{}[5m])) by (container, pod, namespace)
- > ( 25 / 100 )
- "for": "15m"
- "labels":
- "severity": "warning"
-
- - "alert": "KubePersistentVolumeUsageCritical"
- "annotations":
- "message": "The PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} is only {{ $value | humanizePercentage }} free."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubepersistentvolumeusagecritical"
- "expr": |
- kubelet_volume_stats_available_bytes:sysdig{job="kubelet"}
- /
- kubelet_volume_stats_capacity_bytes:sysdig{job="kubelet"}
- < 0.03
- "for": "1m"
- "labels":
- "severity": "critical"
- - "alert": "KubePersistentVolumeFullInFourDays"
- "annotations":
- "message": "Based on recent sampling, the PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} is expected to fill up within four days. Currently {{ $value | humanizePercentage }} is available."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubepersistentvolumefullinfourdays"
- "expr": |
- (
- kubelet_volume_stats_available_bytes:sysdig{job="kubelet"}
- /
- kubelet_volume_stats_capacity_bytes:sysdig{job="kubelet"}
- ) < 0.15
- and
- predict_linear(kubelet_volume_stats_available_bytes:sysdig{job="kubelet"}[6h], 4 * 24 * 3600) < 0
- "for": "1h"
- "labels":
- "severity": "critical"
- - "alert": "KubePersistentVolumeErrors"
- "annotations":
- "message": "The persistent volume {{ $labels.persistentvolume }} has status {{ $labels.phase }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubepersistentvolumeerrors"
- "expr": |
- kube_persistentvolume_status_phase:sysdig{phase=~"Failed|Pending",job="kubernetes-service-endpoints"} > 0
- "for": "5m"
- "labels":
- "severity": "critical"
-
- - "alert": "KubeVersionMismatch"
- "annotations":
- "message": "There are {{ $value }} different semantic versions of Kubernetes components running."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeversionmismatch"
- "expr": |
- count(count by (gitVersion) (label_replace(kubernetes_build_info:sysdig{job!~"kube-dns|coredns"},"gitVersion","$1","gitVersion","(v[0-9]*.[0-9]*.[0-9]*).*"))) > 1
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeClientErrors"
- "annotations":
- "message": "Kubernetes API server client '{{ $labels.job }}/{{ $labels.instance }}' is experiencing {{ $value | humanizePercentage }} errors.'"
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeclienterrors"
- "expr": |
- rest_client_requests_total:5xx:sysdig
- /
- rest_client_requests_total:sysdig
- > 0.01
- "for": "15m"
- "labels":
- "severity": "warning"
-
- - "alert": "ErrorBudgetBurn"
- "annotations":
- "message": "High requests error budget burn for job=kube-apiserver (current value: {{ $value }})"
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-errorbudgetburn"
- "expr": |
- (
- status_class_5xx:apiserver_request_total:ratio_rate1h{job="kube-apiserver"} > (14.4*0.010000)
- and
- status_class_5xx:apiserver_request_total:ratio_rate5m{job="kube-apiserver"} > (14.4*0.010000)
- )
- or
- (
- status_class_5xx:apiserver_request_total:ratio_rate6h{job="kube-apiserver"} > (6*0.010000)
- and
- status_class_5xx:apiserver_request_total:ratio_rate30m{job="kube-apiserver"} > (6*0.010000)
- )
- "labels":
- "job": "kube-apiserver"
- "severity": "critical"
- - "alert": "ErrorBudgetBurn"
- "annotations":
- "message": "High requests error budget burn for job=kube-apiserver (current value: {{ $value }})"
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-errorbudgetburn"
- "expr": |
- (
- status_class_5xx:apiserver_request_total:ratio_rate1d{job="kube-apiserver"} > (3*0.010000)
- and
- status_class_5xx:apiserver_request_total:ratio_rate2h{job="kube-apiserver"} > (3*0.010000)
- )
- or
- (
- status_class_5xx:apiserver_request_total:ratio_rate3d{job="kube-apiserver"} > (0.010000)
- and
- status_class_5xx:apiserver_request_total:ratio_rate6h{job="kube-apiserver"} > (0.010000)
- )
- "labels":
- "job": "kube-apiserver"
- "severity": "warning"
-
- - "alert": "KubeAPILatencyHigh"
- "annotations":
- "message": "The API server has an abnormal latency of {{ $value }} seconds for {{ $labels.verb }} {{ $labels.resource }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapilatencyhigh"
- "expr": |
- (
- cluster:apiserver_request_duration_seconds:mean5m{job="kube-apiserver"}
- >
- on (verb) group_left()
- (
- avg by (verb) (cluster:apiserver_request_duration_seconds:mean5m{job="kube-apiserver"} >= 0)
- +
- 2*stddev by (verb) (cluster:apiserver_request_duration_seconds:mean5m{job="kube-apiserver"} >= 0)
- )
- ) > on (verb) group_left()
- 1.2 * avg by (verb) (cluster:apiserver_request_duration_seconds:mean5m{job="kube-apiserver"} >= 0)
- and on (verb,resource)
- cluster_quantile:apiserver_request_duration_seconds:histogram_quantile{job="kube-apiserver",quantile="0.99"}
- >
- 1
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeAPILatencyHigh"
- "annotations":
- "message": "The API server has a 99th percentile latency of {{ $value }} seconds for {{ $labels.verb }} {{ $labels.resource }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapilatencyhigh"
- "expr": |
- cluster_quantile:apiserver_request_duration_seconds:histogram_quantile{job="kube-apiserver",quantile="0.99"} > 4
- "for": "10m"
- "labels":
- "severity": "critical"
- - "alert": "KubeAPIErrorsHigh"
- "annotations":
- "message": "API server is returning errors for {{ $value | humanizePercentage }} of requests for {{ $labels.verb }} {{ $labels.resource }} {{ $labels.subresource }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapierrorshigh"
- "expr": |
- sum(rate(apiserver_request_total:sysdig{job="kube-apiserver",code=~"5.."}[5m])) by (resource,subresource,verb)
- /
- sum(rate(apiserver_request_total:sysdig{job="kube-apiserver"}[5m])) by (resource,subresource,verb) > 0.10
- "for": "10m"
- "labels":
- "severity": "critical"
- - "alert": "KubeAPIErrorsHigh"
- "annotations":
- "message": "API server is returning errors for {{ $value | humanizePercentage }} of requests for {{ $labels.verb }} {{ $labels.resource }} {{ $labels.subresource }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapierrorshigh"
- "expr": |
- sum(rate(apiserver_request_total:sysdig{job="kube-apiserver",code=~"5.."}[5m])) by (resource,subresource,verb)
- /
- sum(rate(apiserver_request_total:sysdig{job="kube-apiserver"}[5m])) by (resource,subresource,verb) > 0.05
- "for": "10m"
- "labels":
- "severity": "warning"
- - "alert": "KubeClientCertificateExpiration"
- "annotations":
- "message": "A client certificate used to authenticate to the apiserver is expiring in less than 7.0 days."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeclientcertificateexpiration"
- "expr": |
- apiserver_client_certificate_expiration_seconds_count:sysdig{job="kube-apiserver"} > 0 and on(job) histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket:sysdig{job="kube-apiserver"}[5m]))) < 604800
- "labels":
- "severity": "warning"
- - "alert": "KubeClientCertificateExpiration"
- "annotations":
- "message": "A client certificate used to authenticate to the apiserver is expiring in less than 24.0 hours."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeclientcertificateexpiration"
- "expr": |
- apiserver_client_certificate_expiration_seconds_count:sysdig{job="kube-apiserver"} > 0 and on(job) histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket:sysdig{job="kube-apiserver"}[5m]))) < 86400
- "labels":
- "severity": "critical"
- - "alert": "AggregatedAPIErrors"
- "annotations":
- "message": "An aggregated API {{ $labels.name }}/{{ $labels.namespace }} has reported errors. The number of errors have increased for it in the past five minutes. High values indicate that the availability of the service changes too often."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-aggregatedapierrors"
- "expr": |
- sum by(name, namespace)(increase(aggregator_unavailable_apiservice_count:sysdig[5m])) > 2
- "labels":
- "severity": "warning"
- - "alert": "AggregatedAPIDown"
- "annotations":
- "message": "An aggregated API {{ $labels.name }}/{{ $labels.namespace }} is down. It has not been available at least for the past five minutes."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-aggregatedapidown"
- "expr": |
- sum by(name, namespace)(sum_over_time(aggregator_unavailable_apiservice:sysdig[5m])) > 0
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeAPIDown"
- "annotations":
- "message": "KubeAPI has disappeared from Prometheus target discovery."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapidown"
- "expr": |
- absent(up{job="kube-apiserver"} == 1)
- "for": "15m"
- "labels":
- "severity": "critical"
-
- - "alert": "KubeNodeNotReady"
- "annotations":
- "message": "{{ $labels.node }} has been unready for more than 15 minutes."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubenodenotready"
- "expr": |
- kube_node_status_condition:sysdig{job="kubernetes-service-endpoints",condition="Ready",status="true"} == 0
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeNodeUnreachable"
- "annotations":
- "message": "{{ $labels.node }} is unreachable and some workloads may be rescheduled."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubenodeunreachable"
- "expr": |
- kube_node_spec_taint:sysdig{job="kubernetes-service-endpoints",key="node.kubernetes.io/unreachable",effect="NoSchedule"} == 1
- "for": "2m"
- "labels":
- "severity": "warning"
- - "alert": "KubeletTooManyPods"
- "annotations":
- "message": "Kubelet '{{ $labels.node }}' is running at {{ $value | humanizePercentage }} of its Pod capacity."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubelettoomanypods"
- "expr": |
- max(max(kubelet_running_pod_count:sysdig{job="kubelet"}) by(instance) * on(instance) group_left(node) kubelet_node_name:sysdig{job="kubelet"}) by(node) / max(kube_node_status_capacity_pods{job="kubernetes-service-endpoints"}) by(node) > 0.95
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeNodeReadinessFlapping"
- "annotations":
- "message": "The readiness status of node {{ $labels.node }} has changed {{ $value }} times in the last 15 minutes."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubenodereadinessflapping"
- "expr": |
- sum(changes(kube_node_status_condition:sysdig{status="true",condition="Ready"}[15m])) by (node) > 2
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeletPlegDurationHigh"
- "annotations":
- "message": "The Kubelet Pod Lifecycle Event Generator has a 99th percentile duration of {{ $value }} seconds on node {{ $labels.node }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeletplegdurationhigh"
- "expr": |
- node_quantile:kubelet_pleg_relist_duration_seconds:histogram_quantile{quantile="0.99"} >= 10
- "for": "5m"
- "labels":
- "severity": "warning"
- - "alert": "KubeletPodStartUpLatencyHigh"
- "annotations":
- "message": "Kubelet Pod startup 99th percentile latency is {{ $value }} seconds on node {{ $labels.node }}."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeletpodstartuplatencyhigh"
- "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, le)) * on(instance) group_left(node) kubelet_node_name:sysdig > 60
- "for": "15m"
- "labels":
- "severity": "warning"
- - "alert": "KubeletDown"
- "annotations":
- "message": "Kubelet has disappeared from Prometheus target discovery."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeletdown"
- "expr": |
- absent(up{job="kubelet"} == 1)
- "for": "15m"
- "labels":
- "severity": "critical"
-
- - "alert": "KubeSchedulerDown"
- "annotations":
- "message": "KubeScheduler has disappeared from Prometheus target discovery."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeschedulerdown"
- "expr": |
- absent(up{job="kube-scheduler"} == 1)
- "for": "15m"
- "labels":
- "severity": "critical"
-
- - "alert": "KubeControllerManagerDown"
- "annotations":
- "message": "KubeControllerManager has disappeared from Prometheus target discovery."
- "runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubecontrollermanagerdown"
- "expr": |
- absent(up{job="kube-controller-manager"} == 1)
- "for": "15m"
- "labels":
- "severity": "critical"
-
- - alert: CoreDNSDown
- annotations:
- message: CoreDNS has disappeared from Prometheus target discovery.
- runbook_url: https://github.com/povilasv/coredns-mixin/tree/master/runbook.md#alert-name-corednsdown
- expr: |
- absent(up{job="kube-dns"} == 1)
- for: 15m
- labels:
- severity: critical
-
- - alert: CoreDNSLatencyHigh
- annotations:
- message: CoreDNS has 99th percentile latency of {{ $value }} seconds for server
- {{ $labels.server }} zone {{ $labels.zone }} .
- runbook_url: https://github.com/povilasv/coredns-mixin/tree/master/runbook.md#alert-name-corednslatencyhigh
- expr: |
- histogram_quantile(0.99, sum(rate(coredns_dns_request_duration_seconds_bucket{job="kube-dns"}[5m])) by(server, zone, le)) > 4
- for: 10m
- labels:
- severity: critical
-
- - alert: CoreDNSErrorsHigh
- annotations:
- message: CoreDNS is returning SERVFAIL for {{ $value | humanizePercentage }} of
- requests.
- runbook_url: https://github.com/povilasv/coredns-mixin/tree/master/runbook.md#alert-name-corednserrorshigh
- expr: |
- sum(rate(coredns_dns_response_rcode_count_total{job="kube-dns",rcode="SERVFAIL"}[5m]))
- /
- sum(rate(coredns_dns_response_rcode_count_total{job="kube-dns"}[5m])) > 0.03
- for: 10m
- labels:
- severity: critical
-
- - alert: CoreDNSErrorsHigh
- annotations:
- message: CoreDNS is returning SERVFAIL for {{ $value | humanizePercentage }} of
- requests.
- runbook_url: https://github.com/povilasv/coredns-mixin/tree/master/runbook.md#alert-name-corednserrorshigh
- expr: |
- sum(rate(coredns_dns_response_rcode_count_total{job="kube-dns",rcode="SERVFAIL"}[5m]))
- /
- sum(rate(coredns_dns_response_rcode_count_total{job="kube-dns"}[5m])) > 0.01
- for: 10m
- labels:
- severity: warning
-
- - alert: CoreDNSForwardLatencyHigh
- annotations:
- message: CoreDNS has 99th percentile latency of {{ $value }} seconds forwarding
- requests to {{ $labels.to }}.
- runbook_url: https://github.com/povilasv/coredns-mixin/tree/master/runbook.md#alert-name-corednsforwardlatencyhigh
- expr: |
- histogram_quantile(0.99, sum(rate(coredns_forward_request_duration_seconds_bucket{job="kube-dns"}[5m])) by(to, le)) > 4
- for: 10m
- labels:
- severity: critical
-
- - alert: CoreDNSForwardErrorsHigh
- annotations:
- message: CoreDNS is returning SERVFAIL for {{ $value | humanizePercentage }} of
- forward requests to {{ $labels.to }}.
- runbook_url: https://github.com/povilasv/coredns-mixin/tree/master/runbook.md#alert-name-corednsforwarderrorshigh
- expr: |
- sum(rate(coredns_forward_response_rcode_count_total{job="kube-dns",rcode="SERVFAIL"}[5m]))
- /
- sum(rate(coredns_forward_response_rcode_count_total{job="kube-dns"}[5m])) > 0.03
- for: 10m
- labels:
- severity: critical
-
- - alert: CoreDNSForwardErrorsHigh
- annotations:
- message: CoreDNS is returning SERVFAIL for {{ $value | humanizePercentage }} of
- forward requests to {{ $labels.to }}.
- runbook_url: https://github.com/povilasv/coredns-mixin/tree/master/runbook.md#alert-name-corednsforwarderrorshigh
- expr: |
- sum(rate(coredns_dns_response_rcode_count_total{job="kube-dns",rcode="SERVFAIL"}[5m]))
- /
- sum(rate(coredns_dns_response_rcode_count_total{job="kube-dns"}[5m])) > 0.01
- for: 10m
- labels:
- severity: warning
diff --git a/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Api-1.14.0.json b/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Api-1.14.0.json
deleted file mode 100644
index ffcb8e15..00000000
--- a/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Api-1.14.0.json
+++ /dev/null
@@ -1,1301 +0,0 @@
-{
- "__inputs": [],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "6.7.2"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1587569158373,
- "links": [],
- "panels": [
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "$datasource",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 4,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(up{job=\"kubernetes-apiservers\"})",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Up",
- "tooltip": {
- "shared": false
- },
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "min"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 10,
- "x": 4,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 3,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(apiserver_request_total{job=\"kubernetes-apiservers\", instance=~\"$instance\",code=~\"2..\", cluster=\"$cluster\"}[5m]))",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "2xx",
- "refId": "A"
- },
- {
- "expr": "sum(rate(apiserver_request_total{job=\"kubernetes-apiservers\", instance=~\"$instance\",code=~\"3..\", cluster=\"$cluster\"}[5m]))",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "3xx",
- "refId": "B"
- },
- {
- "expr": "sum(rate(apiserver_request_total{job=\"kubernetes-apiservers\", instance=~\"$instance\",code=~\"4..\", cluster=\"$cluster\"}[5m]))",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "4xx",
- "refId": "C"
- },
- {
- "expr": "sum(rate(apiserver_request_total{job=\"kubernetes-apiservers\", instance=~\"$instance\",code=~\"5..\", cluster=\"$cluster\"}[5m]))",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "5xx",
- "refId": "D"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "RPC Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 10,
- "x": 14,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 4,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "histogram_quantile(0.99, sum(rate(apiserver_request_duration_seconds_bucket{job=\"kubernetes-apiservers\", instance=~\"$instance\", verb!=\"WATCH\", cluster=\"$cluster\"}[5m])) by (verb, le))",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{verb}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Request duration 99th quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 0,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 5,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(workqueue_adds_total{job=\"kubernetes-apiservers\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name)",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} {{name}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Work Queue Add Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 12,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 6,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(workqueue_depth{job=\"kubernetes-apiservers\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name)",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} {{name}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Work Queue Depth",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 7,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job=\"kubernetes-apiservers\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name, le))",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} {{name}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Work Queue Latency",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 8,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "etcd_helper_cache_entry_total{job=\"kubernetes-apiservers\", instance=~\"$instance\", cluster=\"$cluster\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "ETCD Cache Entry Total",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 9,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(etcd_helper_cache_hit_total{job=\"kubernetes-apiservers\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance)",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} hit",
- "refId": "A"
- },
- {
- "expr": "sum(rate(etcd_helper_cache_miss_total{job=\"kubernetes-apiservers\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance)",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} miss",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "ETCD Cache Hit/Miss Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 10,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "histogram_quantile(0.99,sum(rate(etcd_request_cache_get_duration_seconds_bucket{job=\"kubernetes-apiservers\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, le))",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} get",
- "refId": "A"
- },
- {
- "expr": "histogram_quantile(0.99,sum(rate(etcd_request_cache_add_duration_seconds_bucket{job=\"kubernetes-apiservers\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, le))",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} miss",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "ETCD Cache Duration 99th Quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 11,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "process_resident_memory_bytes{job=\"kubernetes-apiservers\",instance=~\"$instance\", cluster=\"$cluster\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 12,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(process_cpu_seconds_total{job=\"kubernetes-apiservers\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU usage",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 13,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "go_goroutines{job=\"kubernetes-apiservers\",instance=~\"$instance\", cluster=\"$cluster\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Goroutines",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- }
- ],
- "refresh": "10s",
- "schemaVersion": 22,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "current": {
- "selected": false,
- "text": "Prometheus",
- "value": "Prometheus"
- },
- "hide": 0,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "datasource",
- "options": [],
- "query": "prometheus",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "type": "datasource"
- },
- {
- "allValue": null,
- "current": {},
- "datasource": "$datasource",
- "definition": "",
- "hide": 2,
- "includeAll": false,
- "index": -1,
- "label": null,
- "multi": false,
- "name": "cluster",
- "options": [],
- "query": "label_values(apiserver_request_total, cluster)",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {},
- "datasource": "$datasource",
- "definition": "",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": null,
- "multi": false,
- "name": "instance",
- "options": [],
- "query": "label_values(apiserver_request_total{job=\"kubernetes-apiservers\", cluster=\"$cluster\"}, instance)",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-1h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "Kubernetes / API server original",
- "uid": "hhqkRB3Wz",
- "variables": {
- "list": []
- },
- "version": 2
-}
diff --git a/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Controller-manager-1.14.0.json b/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Controller-manager-1.14.0.json
deleted file mode 100644
index 3da09d25..00000000
--- a/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Controller-manager-1.14.0.json
+++ /dev/null
@@ -1,1092 +0,0 @@
-{
- "__inputs": [],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "6.7.2"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1588166204205,
- "links": [],
- "panels": [
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "$datasource",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 4,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(up:controllermanager)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Up",
- "tooltip": {
- "shared": false
- },
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "min"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 20,
- "x": 4,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 3,
- "legend": {
- "alignAsTable": "true",
- "avg": false,
- "current": "true",
- "max": false,
- "min": false,
- "rightSide": "true",
- "show": "true",
- "total": false,
- "values": "true"
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(workqueue_adds_total:kubernetes_control_manager[5m])) by (instance, name)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} {{name}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Work Queue Add Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 4,
- "legend": {
- "alignAsTable": "true",
- "avg": false,
- "current": "true",
- "max": false,
- "min": false,
- "rightSide": "true",
- "show": "true",
- "total": false,
- "values": "true"
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(workqueue_depth:kubernetes_control_manager[5m])) by (instance, name)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} {{name}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Work Queue Depth",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 5,
- "legend": {
- "alignAsTable": "true",
- "avg": false,
- "current": "true",
- "max": false,
- "min": false,
- "rightSide": "true",
- "show": "true",
- "total": false,
- "values": "true"
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "workqueue_queue_duration_seconds_bucket:kubernetes_apiservers",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} {{name}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Work Queue Latency",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 6,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"2..\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "2xx",
- "refId": "A"
- },
- {
- "expr": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"3..\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "3xx",
- "refId": "B"
- },
- {
- "expr": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"4..\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "4xx",
- "refId": "C"
- },
- {
- "expr": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"5..\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "5xx",
- "refId": "D"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Kube API Request Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 16,
- "x": 8,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 7,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:post",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{verb}} {{url}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Post Request Latency 99th Quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 8,
- "legend": {
- "alignAsTable": "true",
- "avg": false,
- "current": "true",
- "max": false,
- "min": false,
- "rightSide": "true",
- "show": "true",
- "total": false,
- "values": "true"
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:get",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{verb}} {{url}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Get Request Latency 99th Quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 35
- },
- "hiddenSeries": false,
- "id": 9,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "process_resident_memory_bytes:kubernetes_control_manager",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 35
- },
- "hiddenSeries": false,
- "id": 10,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(process_cpu_seconds_total:kubernetes_control_manager[5m])",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU usage",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 35
- },
- "hiddenSeries": false,
- "id": 11,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "go_goroutines:kubernetes_control_manager",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Goroutines",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- }
- ],
- "refresh": "",
- "schemaVersion": 22,
- "style": "dark",
- "tags": [
- "kubernetes-mixin"
- ],
- "templating": {
- "list": [
- {
- "current": {
- "selected": false,
- "text": "Prometheus",
- "value": "Prometheus"
- },
- "hide": 0,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "datasource",
- "options": [],
- "query": "prometheus",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "type": "datasource"
- },
- {
- "allValue": null,
- "current": {},
- "datasource": "$datasource",
- "definition": "label_values(up:kubernetes{job=\"kubernetes-nodes\"}, instance)",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": null,
- "multi": false,
- "name": "instance",
- "options": [],
- "query": "label_values(up:kubernetes{job=\"kubernetes-nodes\"}, instance)",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-1h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "Kubernetes / Controller Manager",
- "uid": "72e0e05bef5099e5f049b05fdc429ed4",
- "variables": {
- "list": []
- },
- "version": 13
-}
diff --git a/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---CoreDNS-1.18.0.json b/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---CoreDNS-1.18.0.json
deleted file mode 100644
index 6c00861a..00000000
--- a/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---CoreDNS-1.18.0.json
+++ /dev/null
@@ -1,1725 +0,0 @@
-{
- "__inputs": [],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "7.1.1"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1599754070723,
- "links": [],
- "panels": [
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 2,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(up:kubernetes{job=\"kube-dns\"})",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Up",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "min"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 2,
- "x": 2,
- "y": 0
- },
- "id": 3,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(coredns_panic_count_total:sysdig{job=\"kube-dns\"})",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Panics",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "max"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 10,
- "x": 4,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 4,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "sideWidth": null,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pluginVersion": "7.1.1",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(coredns_dns_response_rcode_count_total:sysdig{job=\"kube-dns\",pod=~\"$instance\"}[5m])) by (rcode)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{rcode}}",
- "refId": "A"
- },
- {
- "expr": "sum(rate(coredns_forward_response_rcode_count_total:sysdig{job=\"kube-dns\",pod=~\"$instance\"}[5m])) by (rcode)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "forward {{rcode}}",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "RPC Rate",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 10,
- "x": 14,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 5,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "sideWidth": null,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pluginVersion": "7.1.1",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "histogram_quantile(0.99, sum(rate(coredns_dns_request_duration_seconds_bucket:sysdig{job=\"kube-dns\",pod=~\"$instance\"}[5m])) by (server, zone, le))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{server}} {{zone}}",
- "refId": "A"
- },
- {
- "expr": "histogram_quantile(0.99, sum(rate(coredns_forward_request_duration_seconds_bucket:sysdig{job=\"kube-dns\",pod=~\"$instance\"}[5m])) by (to, le))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "forward {{to}}",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Request duration 99th quantile",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 6,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "sideWidth": null,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pluginVersion": "7.1.1",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(coredns_dns_request_type_count_total:sysdig{job=\"kube-dns\",pod=~\"$instance\"}[5m])) by (type)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{type}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Requests (by qtype)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 7,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "sideWidth": null,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pluginVersion": "7.1.1",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(coredns_dns_request_type_count_total:sysdig{job=\"kube-dns\",pod=~\"$instance\"}[5m])) by (zone)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{zone}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Requests (by zone)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 8,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "sideWidth": null,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pluginVersion": "7.1.1",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(coredns_forward_request_count_total:sysdig{job=\"kube-dns\",pod=~\"$instance\"}[5m])) by (to)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{to}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Forward Requests (by to)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 4,
- "x": 0,
- "y": 14
- },
- "id": 9,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(coredns_cache_hits_total:sysdig{job=\"kube-dns\",pod=~\"$instance\"}) / (sum(coredns_cache_misses_total:sysdig{job=\"kube-dns\",pod=~\"$instance\"}) + sum(coredns_cache_hits_total:sysdig{job=\"kube-dns\",pod=~\"$instance\"}))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Cached",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "min"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 10,
- "x": 4,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 10,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "sideWidth": null,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pluginVersion": "7.1.1",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(coredns_cache_hits_total:sysdig{job=\"kube-dns\",pod=~\"$instance\"}[5m])) by (type)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{type}}",
- "refId": "A"
- },
- {
- "expr": "sum(rate(coredns_cache_misses_total:sysdig{job=\"kube-dns\",pod=~\"$instance\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "misses",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Cache hit Rate",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 10,
- "x": 14,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 11,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "sideWidth": null,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pluginVersion": "7.1.1",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(coredns_cache_size:sysdig{job=\"kube-dns\",pod=~\"$instance\"}) by (type)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{type}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Cache Size",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 4,
- "x": 0,
- "y": 21
- },
- "id": 12,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "count(sum(coredns_plugin_enabled:sysdig{job=\"kube-dns\",pod=~\"$instance\"}) by (name))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Plugins Enabled",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "min"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 10,
- "x": 4,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 13,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "sideWidth": null,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pluginVersion": "7.1.1",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "histogram_quantile(0.99, sum(rate(coredns_dns_request_size_bytes_bucket:sysdig{job=\"kube-dns\",pod=~\"$instance\"}[5m])) by (server, zone, proto, le))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "99th {{server}} {{zone}} {{proto}}",
- "refId": "A"
- },
- {
- "expr": "histogram_quantile(0.50, sum(rate(coredns_dns_request_size_bytes_bucket:sysdig{job=\"kube-dns\",pod=~\"$instance\"}[5m])) by (server, zone, proto, le))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "50th {{server}} {{zone}} {{proto}}",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Request size",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 10,
- "x": 14,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 14,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "sideWidth": null,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pluginVersion": "7.1.1",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "histogram_quantile(0.99, sum(rate(coredns_dns_response_size_bytes_bucket:sysdig{job=\"kube-dns\",pod=~\"$instance\"}[5m])) by (server, zone, proto, le))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "99th {{server}} {{zone}} {{proto}}",
- "refId": "A"
- },
- {
- "expr": "histogram_quantile(0.50, sum(rate(coredns_dns_response_size_bytes_bucket:sysdig{job=\"kube-dns\",pod=~\"$instance\"}[5m])) by (server, zone, proto, le))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "50th {{server}} {{zone}} {{proto}}",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Response size",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 15,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "sideWidth": null,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pluginVersion": "7.1.1",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "process_resident_memory_bytes:kubernetes{job=\"kube-dns\",pod=~\"$instance\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{pod}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 16,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "sideWidth": null,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pluginVersion": "7.1.1",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(process_cpu_seconds_total:kubernetes{job=\"kube-dns\",pod=~\"$instance\"}[5m])",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{pod}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 17,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "sideWidth": null,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pluginVersion": "7.1.1",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "go_goroutines:kubernetes{job=\"kube-dns\",pod=~\"$instance\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{pod}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Goroutines",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- }
- ],
- "refresh": "1m",
- "schemaVersion": 26,
- "style": "dark",
- "tags": [
- "coredns-mixin"
- ],
- "templating": {
- "list": [
- {
- "current": {
- "selected": false,
- "text": "Sysdig +",
- "value": "Sysdig +"
- },
- "hide": 0,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "datasource",
- "options": [],
- "query": "prometheus",
- "queryValue": "",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "type": "datasource"
- },
- {
- "allValue": null,
- "current": {},
- "datasource": "$datasource",
- "definition": "label_values(coredns_dns_response_rcode_count_total:sysdig{job=\"kube-dns\"}, pod)",
- "hide": 0,
- "includeAll": true,
- "label": null,
- "multi": false,
- "name": "instance",
- "options": [],
- "query": "label_values(coredns_dns_response_rcode_count_total:sysdig{job=\"kube-dns\"}, pod)",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-15m",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "browser",
- "title": "CoreDNS",
- "uid": "thael1rie7ohG6OY3eMeisahtee2iGoo1gooGhuu",
- "version": 2
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Kubelet-1.14.0.json b/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Kubelet-1.14.0.json
deleted file mode 100644
index 42d8f12e..00000000
--- a/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Kubelet-1.14.0.json
+++ /dev/null
@@ -1,2409 +0,0 @@
-{
- "__inputs": [],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "6.7.2"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1588153468987,
- "links": [],
- "panels": [
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "$datasource",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 4,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(up:kubernetes{job=\"kubernetes-nodes\"})",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Up",
- "tooltip": {
- "shared": false
- },
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "min"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "$datasource",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 4,
- "x": 4,
- "y": 0
- },
- "id": 3,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(kubelet_running_pod_count:kubernetes_nodes)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Running Pods",
- "tooltip": {
- "shared": false
- },
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "min"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "$datasource",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 4,
- "x": 8,
- "y": 0
- },
- "id": 4,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(kubelet_running_container_count:kubernetes_nodes)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Running Container",
- "tooltip": {
- "shared": false
- },
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "min"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "$datasource",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 4,
- "x": 12,
- "y": 0
- },
- "id": 5,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(volume_manager_total_volumes:kubernetes_nodes{state=\"actual_state_of_world\"})",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Actual Volume Count",
- "tooltip": {
- "shared": false
- },
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "min"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "$datasource",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 4,
- "x": 16,
- "y": 0
- },
- "id": 6,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(volume_manager_total_volumes:desired:kubernetes_nodes{job=\"kubernetes-nodes\",state=\"desired_state_of_world\"})",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Desired Volume Count",
- "tooltip": {
- "shared": false
- },
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "min"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "$datasource",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 4,
- "x": 20,
- "y": 0
- },
- "id": 7,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(kubelet_node_config_error:kubernetes_nodes[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Config Error Count",
- "tooltip": {
- "shared": false
- },
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "min"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 0,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 8,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(kubelet_runtime_operations_total:kubernetes_nodes[5m])) by (operation_type, instance)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} {{operation_type}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Operation Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 12,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 9,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(kubelet_runtime_operations_errors_total:kubernetes_nodes[5m])) by (instance, operation_type)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} {{operation_type}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Operation Error Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 10,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "operation_duration_seconds:kubernetes_nodes",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} {{operation_type}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Operation duration 99th quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 0,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 11,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(kubelet_pod_start_duration_seconds_count:kubernetes_nodes[5m])) by (instance)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} pod",
- "refId": "A"
- },
- {
- "expr": "sum(rate(kubelet_pod_worker_duration_seconds_count:kubernetes_nodes[5m])) by (instance)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} worker",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Pod Start Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 12,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 12,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "pod_start_duration_seconds:kubernetes_nodes",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} pod",
- "refId": "A"
- },
- {
- "expr": "pod_worker_duration_seconds:kubernetes_nodes",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} worker",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Pod Start Duration",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 0,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 13,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "hideEmpty": true,
- "hideZero": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(storage_operation_duration_seconds_count:kubernetes_nodes[5m])) by (instance, operation_name, volume_plugin)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Storage Operation Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 12,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 14,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "hideEmpty": true,
- "hideZero": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(storage_operation_errors_total:kubernetes_nodes[5m])) by (instance, operation_name, volume_plugin)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Storage Operation Error Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 35
- },
- "hiddenSeries": false,
- "id": 15,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "hideEmpty": true,
- "hideZero": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "storage_operation_duration_seconds:kubernetes_nodes",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Storage Operation Duration 99th quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 0,
- "y": 42
- },
- "hiddenSeries": false,
- "id": 16,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(kubelet_cgroup_manager_duration_seconds_count:kubernetes_nodes[5m])) by (instance, operation_type)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{operation_type}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Cgroup manager operation rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 12,
- "y": 42
- },
- "hiddenSeries": false,
- "id": 17,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "cgroup_manager_duration_seconds:kubernetes_nodes",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} {{operation_type}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Cgroup manager 99th quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "description": "Pod lifecycle event generator",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 0,
- "y": 49
- },
- "hiddenSeries": false,
- "id": 18,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(pleg_relist_duration_seconds:kubernetes_nodes[5m])) by (instance)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "PLEG relist rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 12,
- "y": 49
- },
- "hiddenSeries": false,
- "id": 19,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "pleg_relist_interval_seconds:kubernetes_nodes",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "PLEG relist interval",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 56
- },
- "hiddenSeries": false,
- "id": 20,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "pleg_relist_duration_seconds:kubernetes_nodes",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "PLEG relist duration",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 63
- },
- "hiddenSeries": false,
- "id": 21,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(rest_client_requests_total_2code:kubernetes_nodes[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "2xx",
- "refId": "A"
- },
- {
- "expr": "sum(rate(rest_client_requests_total_3code:kubernetes_nodes[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "3xx",
- "refId": "B"
- },
- {
- "expr": "sum(rate(rest_client_requests_total_4code:kubernetes_nodes[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "4xx",
- "refId": "C"
- },
- {
- "expr": "sum(rate(rest_client_requests_total_5code:kubernetes_nodes[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "5xx",
- "refId": "D"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "RPC Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 70
- },
- "hiddenSeries": false,
- "id": 22,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "request_duration_seconds:kubernetes_nodes",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} {{verb}} {{url}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Request duration 99th quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 77
- },
- "hiddenSeries": false,
- "id": 23,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "process_resident_memory_bytes:kubernetes{job=\"kubernetes-nodes\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 77
- },
- "hiddenSeries": false,
- "id": 24,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(process_cpu_seconds_total:kubernetes{job=\"kubernetes-nodes\"}[5m])",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU usage",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 77
- },
- "hiddenSeries": false,
- "id": 25,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "go_goroutines:kubernetes{job=\"kubernetes-nodes\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Goroutines",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- }
- ],
- "refresh": "10s",
- "schemaVersion": 22,
- "style": "dark",
- "tags": [
- "kubernetes-mixin"
- ],
- "templating": {
- "list": [
- {
- "current": {
- "selected": false,
- "text": "Prometheus",
- "value": "Prometheus"
- },
- "hide": 0,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "datasource",
- "options": [],
- "query": "prometheus",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "type": "datasource"
- },
- {
- "allValue": null,
- "current": {},
- "datasource": "$datasource",
- "definition": "label_values(kube_pod_info, cluster)",
- "hide": 2,
- "includeAll": false,
- "index": -1,
- "label": "cluster",
- "multi": false,
- "name": "cluster",
- "options": [],
- "query": "label_values(kube_pod_info, cluster)",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {},
- "datasource": "$datasource",
- "definition": "label_values(kubelet_runtime_operations_total{cluster=\"$cluster\", job=\"kubernetes-nodes\"}, instance)",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": null,
- "multi": false,
- "name": "instance",
- "options": [],
- "query": "label_values(kubelet_runtime_operations_total{cluster=\"$cluster\", job=\"kubernetes-nodes\"}, instance)",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-1h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "Kubernetes / Kubelet",
- "uid": "QDcQgB3Zz",
- "variables": {
- "list": []
- },
- "version": 11
-}
diff --git a/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Proxy-1.14.0.json b/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Proxy-1.14.0.json
deleted file mode 100644
index 6df5a7f2..00000000
--- a/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Proxy-1.14.0.json
+++ /dev/null
@@ -1,1186 +0,0 @@
-{
- "__inputs": [],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "6.7.2"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1588088156451,
- "links": [],
- "panels": [
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "$datasource",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 4,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(sum(up:kube_proxy))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Up",
- "tooltip": {
- "shared": false
- },
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "min"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 10,
- "x": 4,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 3,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(kubeproxy_sync_proxy_rules_duration_seconds_count:kube_proxy{instance=~\"$instance\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "rate",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Rules Sync Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 10,
- "x": 14,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 4,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "kubeproxy_sync_proxy_rules_duration_seconds_bucket:kube_proxy{instance=~\"$instance\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Rule Sync Latency 99th Quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 0,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 5,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "kubeproxy_network_programming_duration_seconds_count:kube_proxy{instance=~\"$instance\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Network Programming Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 12,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 6,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "kubeproxy_network_programming_duration_seconds_bucket:kube_proxy{instance=~\"$instance\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Network Programming Latency 99th Quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 7,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(rest_client_requests_total:kube_proxy{code=~\"2..\", instance=~\"$instance\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "2xx",
- "refId": "A"
- },
- {
- "expr": "sum(rate(rest_client_requests_total:kube_proxy{code=~\"3..\", instance=~\"$instance\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "3xx",
- "refId": "B"
- },
- {
- "expr": "sum(rate(rest_client_requests_total:kube_proxy{code=~\"4..\", instance=~\"$instance\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "4xx",
- "refId": "C"
- },
- {
- "expr": "sum(rate(rest_client_requests_total:kube_proxy{code=~\"5..\", instance=~\"$instance\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "5xx",
- "refId": "D"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Kube API Request Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 16,
- "x": 8,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 8,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rest_client_request_latency_seconds_bucket:post:kube_proxy{instance=~\"$instance\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{verb}} {{url}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Post Request Latency 99th Quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 9,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rest_client_request_latency_seconds_bucket:get:kube_proxy{instance=~\"$instance\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{verb}} {{url}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Get Request Latency 99th Quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 10,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "process_resident_memory_bytes:kube_proxy{instance=~\"$instance\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 11,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(process_cpu_seconds_total:kube_proxy{instance=~\"$instance\"}[5m])",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU usage",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 12,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "go_goroutines:kube_proxy{instance=~\"$instance\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Goroutines",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- }
- ],
- "refresh": "10s",
- "schemaVersion": 22,
- "style": "dark",
- "tags": [
- "kubernetes-mixin"
- ],
- "templating": {
- "list": [
- {
- "current": {
- "selected": false,
- "text": "Prometheus",
- "value": "Prometheus"
- },
- "hide": 0,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "datasource",
- "options": [],
- "query": "prometheus",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "type": "datasource"
- },
- {
- "allValue": null,
- "current": {},
- "datasource": "$datasource",
- "definition": "",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": null,
- "multi": false,
- "name": "instance",
- "options": [],
- "query": "label_values(kubeproxy_network_programming_duration_seconds_bucket{job=\"kubernetes-kube-proxy\"}, instance)",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-15m",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "Kubernetes / Proxy",
- "uid": "632e265de029684c40b21cb76bca4f94",
- "variables": {
- "list": []
- },
- "version": 7
-}
diff --git a/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Scheduler-1.14.0.json b/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Scheduler-1.14.0.json
deleted file mode 100644
index 8ae3bb26..00000000
--- a/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---Scheduler-1.14.0.json
+++ /dev/null
@@ -1,1046 +0,0 @@
-{
- "__inputs": [],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "6.7.2"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1588167537492,
- "links": [],
- "panels": [
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "$datasource",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 4,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(up:kube_scheduler)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Up",
- "tooltip": {
- "shared": false
- },
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "min"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 10,
- "x": 4,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 3,
- "legend": {
- "alignAsTable": "true",
- "avg": false,
- "current": "true",
- "max": false,
- "min": false,
- "rightSide": "true",
- "show": "true",
- "total": false,
- "values": "true"
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(scheduler_e2e_scheduling_duration_seconds_count:kube_scheduler[5m])) by (instance)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} e2e",
- "refId": "A"
- },
- {
- "expr": "sum(rate(scheduler_binding_duration_seconds_count:kube_scheduler[5m])) by (instance)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} binding",
- "refId": "B"
- },
- {
- "expr": "sum(rate(scheduler_scheduling_algorithm_duration_seconds_count:kube_scheduler[5m])) by (instance)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} scheduling algorithm",
- "refId": "C"
- },
- {
- "expr": "sum(rate(scheduler_volume_scheduling_duration_seconds_count:kube_scheduler[5m])) by (instance)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} volume",
- "refId": "D"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Scheduling Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 10,
- "x": 14,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 4,
- "legend": {
- "alignAsTable": "true",
- "avg": false,
- "current": "true",
- "max": false,
- "min": false,
- "rightSide": "true",
- "show": "true",
- "total": false,
- "values": "true"
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} e2e",
- "refId": "A"
- },
- {
- "expr": "scheduler_binding_duration_seconds_bucket:kube_scheduler",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} binding",
- "refId": "B"
- },
- {
- "expr": "scheduler_scheduling_algorithm_duration_seconds_bucket:kube_scheduler",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} scheduling algorithm",
- "refId": "C"
- },
- {
- "expr": "scheduler_volume_scheduling_duration_seconds_bucket:kube_scheduler",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} volume",
- "refId": "D"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Scheduling latency 99th Quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 5,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"2..\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "2xx",
- "refId": "A"
- },
- {
- "expr": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"3..\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "3xx",
- "refId": "B"
- },
- {
- "expr": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"4..\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "4xx",
- "refId": "C"
- },
- {
- "expr": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"5..\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "5xx",
- "refId": "D"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Kube API Request Rate",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 16,
- "x": 8,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 6,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:post",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{verb}} {{url}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Post Request Latency 99th Quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 7,
- "legend": {
- "alignAsTable": "true",
- "avg": false,
- "current": "true",
- "max": false,
- "min": false,
- "rightSide": "true",
- "show": "true",
- "total": false,
- "values": "true"
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:get",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{verb}} {{url}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Get Request Latency 99th Quantile",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 8,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "process_resident_memory_bytes:kube_scheduler",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 9,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(process_cpu_seconds_total:kube_scheduler[5m])",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU usage",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 10,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "go_goroutines:kube_scheduler",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Goroutines",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- }
- ],
- "refresh": "",
- "schemaVersion": 22,
- "style": "dark",
- "tags": [
- "kubernetes-mixin"
- ],
- "templating": {
- "list": [
- {
- "current": {
- "selected": false,
- "text": "Prometheus",
- "value": "Prometheus"
- },
- "hide": 0,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "datasource",
- "options": [],
- "query": "prometheus",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "type": "datasource"
- },
- {
- "allValue": null,
- "current": {},
- "datasource": "$datasource",
- "definition": "label_values(kubelet_running_pod_count:kubernetes_nodes, instance)",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": null,
- "multi": false,
- "name": "instance",
- "options": [],
- "query": "label_values(kubelet_running_pod_count:kubernetes_nodes, instance)",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-1h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "Kubernetes / Scheduler",
- "uid": "2e6b6a3b4bddf1427b3a55aa1311c656",
- "variables": {
- "list": []
- },
- "version": 6
-}
diff --git a/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---etcd-1.14.0.json b/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---etcd-1.14.0.json
deleted file mode 100644
index ec00bd29..00000000
--- a/resources/kubernetes-control/include/dashboard-Grafana-Kubernetes---etcd-1.14.0.json
+++ /dev/null
@@ -1,1163 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_SYSDIG_PROMQL",
- "label": "Sysdig PromQL",
- "description": "",
- "type": "datasource",
- "pluginId": "prometheus",
- "pluginName": "Prometheus"
- },
- {
- "name": "DS_PROMETHEUS",
- "label": "Prometheus",
- "description": "",
- "type": "datasource",
- "pluginId": "prometheus",
- "pluginName": "Prometheus"
- }
- ],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "6.7.2"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "$$hashKey": "object:7",
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "description": "Etcd Dashboard for Prometheus metrics scraper",
- "editable": true,
- "gnetId": 3070,
- "graphTooltip": 0,
- "id": null,
- "links": [],
- "panels": [
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "${DS_SYSDIG_PROMQL}",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 0
- },
- "id": 44,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "max(etcd_server_has_leader:sysdig)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "",
- "refId": "A",
- "step": 600
- }
- ],
- "thresholds": "0,1",
- "title": "Etcd has a leader?",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "YES",
- "value": "1"
- },
- {
- "op": "=",
- "text": "NO",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "${DS_SYSDIG_PROMQL}",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 0
- },
- "id": 42,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "max(etcd_server_leader_changes_seen_total:sysdig)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "",
- "refId": "A",
- "step": 600
- }
- ],
- "thresholds": "",
- "title": "The number of leader changes seen",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "${DS_PROMETHEUS}",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 0
- },
- "id": 43,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "max(etcd_server_proposals_failed_total:sysdig)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "",
- "refId": "A",
- "step": 600
- }
- ],
- "thresholds": "",
- "title": "The total number of failed proposals seen",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_SYSDIG_PROMQL}",
- "editable": true,
- "error": false,
- "fill": 0,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 0,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 23,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "connected",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(grpc_server_started_total:sysdig{grpc_type=\"unary\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "RPC Rate",
- "metric": "grpc_server_started_total",
- "refId": "A",
- "step": 60
- },
- {
- "expr": "sum(rate(grpc_server_handled_total:sysdig{grpc_type=\"unary\",grpc_code!=\"OK\"}[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "RPC Failed Rate",
- "metric": "grpc_server_handled_total",
- "refId": "B",
- "step": 60
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "RPC Rate",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_SYSDIG_PROMQL}",
- "editable": true,
- "error": false,
- "fill": 0,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 12,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 41,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "connected",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(grpc_server_started_total:sysdig{grpc_service=\"etcdserverpb.Watch\",grpc_type=\"bidi_stream\"}) - sum(grpc_server_handled_total:sysdig{grpc_service=\"etcdserverpb.Watch\",grpc_type=\"bidi_stream\"})",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "Watch Streams",
- "metric": "grpc_server_handled_total",
- "refId": "A",
- "step": 60
- },
- {
- "expr": "sum(grpc_server_started_total:sysdig{grpc_service=\"etcdserverpb.Lease\",grpc_type=\"bidi_stream\"}) - sum(grpc_server_handled_total:sysdig{grpc_service=\"etcdserverpb.Lease\",grpc_type=\"bidi_stream\"})",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "Lease Streams",
- "metric": "grpc_server_handled_total",
- "refId": "B",
- "step": 60
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Active Streams",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_SYSDIG_PROMQL}",
- "decimals": null,
- "editable": true,
- "error": false,
- "fill": 0,
- "fillGradient": 0,
- "grid": {},
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 1,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "connected",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "etcd_debugging_mvcc_db_total_size_in_bytes:sysdig",
- "format": "time_series",
- "hide": false,
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} DB Size",
- "metric": "",
- "refId": "A",
- "step": 120
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "DB Size",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "bytes",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "editable": true,
- "error": false,
- "fill": 0,
- "fillGradient": 0,
- "grid": {},
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 3,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "connected",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 1,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": true,
- "targets": [
- {
- "expr": "histogram_quantile(0.99, sum(rate(etcd_disk_wal_fsync_duration_seconds_bucket:sysdig[5m])) by (instance, le))",
- "format": "time_series",
- "hide": false,
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} WAL fsync",
- "metric": "etcd_disk_wal_fsync_duration_seconds_bucket",
- "refId": "A",
- "step": 120
- },
- {
- "expr": "histogram_quantile(0.99, sum(rate(etcd_disk_backend_commit_duration_seconds_bucket:sysdig[5m])) by (instance, le))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} DB fsync",
- "metric": "etcd_disk_backend_commit_duration_seconds_bucket",
- "refId": "B",
- "step": 120
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Disk Sync Duration",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "description": "proposals_committed_total records the total number of consensus proposals committed. This gauge should increase over time if the cluster is healthy. Several healthy members of an etcd cluster may have different total committed proposals at once. This discrepancy may be due to recovering from peers after starting, lagging behind the leader, or being the leader and therefore having the most commits. It is important to monitor this metric across all the members in the cluster; a consistently large lag between a single member and its leader indicates that member is slow or unhealthy.\n\nproposals_applied_total records the total number of consensus proposals applied. The etcd server applies every committed proposal asynchronously. The difference between proposals_committed_total and proposals_applied_total should usually be small (within a few thousands even under high load). If the difference between them continues to rise, it indicates that the etcd server is overloaded. This might happen when applying expensive queries like heavy range queries or large txn operations.",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 46,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": true,
- "max": true,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(rate(etcd_server_proposals_committed_total[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "total number of consensus proposals committed",
- "metric": "",
- "refId": "A",
- "step": 60
- },
- {
- "expr": "sum(rate(etcd_server_proposals_applied_total[5m]))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "total number of consensus proposals applied",
- "metric": "",
- "refId": "B",
- "step": 60
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "The total number of consensus proposals committed",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_SYSDIG_PROMQL}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 48,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "process_resident_memory_bytes:kubernetes{job=\"etcd\"}",
- "interval": "",
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_SYSDIG_PROMQL}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 49,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(process_cpu_seconds_total:kubernetes{job=\"etcd\"}[5m])",
- "interval": "",
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU usage",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "$$hashKey": "object:956",
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "$$hashKey": "object:957",
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_SYSDIG_PROMQL}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 50,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(go_goroutines:kubernetes{job=\"etcd\"}[5m])",
- "interval": "",
- "legendFormat": "{{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Goroutines",
- "tooltip": {
- "shared": false,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "$$hashKey": "object:956",
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "$$hashKey": "object:957",
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- }
- ],
- "schemaVersion": 22,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": []
- },
- "time": {
- "from": "now-6h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "browser",
- "title": "Kubernetes / Etcd",
- "uid": "KZVJUdmMk",
- "variables": {
- "list": []
- },
- "version": 6
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Api-1.14.0.json b/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Api-1.14.0.json
deleted file mode 100644
index 81a3806c..00000000
--- a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Api-1.14.0.json
+++ /dev/null
@@ -1,978 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 9,
- "x": 0,
- "y": 17
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 9,
- "y": 17
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 7,
- "x": 17,
- "y": 17
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 7,
- "x": 17,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 8,
- "x": 9,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 9,
- "x": 0,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 24,
- "x": 0,
- "y": 10
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 4
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 10,
- "x": 14,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 10,
- "x": 4,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 4,
- "x": 0,
- "y": 0
- }
- ],
- "name": "Kubernetes / API server",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"kubernetes-apiservers\"} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"kubernetes-apiservers\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "CPU usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"kubernetes-apiservers\"} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Goroutines",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "ETCD get",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} get",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "etcd_request_cache_get_duration_seconds_bucket:kubernetes_apiservers * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "ETCD add",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} miss",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "etcd_request_cache_add_duration_seconds_bucket:kubernetes_apiservers * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "ETCD Cache Duration 99th Quantile ",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "ETCD hit",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} hit",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(etcd_helper_cache_hit_total:kubernetes_apiservers{job=\"kubernetes-apiservers\"}[5m])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance,cluster)"
- },
- {
- "displayInfo": {
- "displayName": "ETCD miss",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} miss",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(etcd_helper_cache_miss_total:kubernetes_apiservers{job=\"kubernetes-apiservers\"}[5m])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance,cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "ETCD Cache Hit/Miss Rate ",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "ETCD cache entry",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(etcd_helper_cache_entry_total:kubernetes_apiservers{job=\"kubernetes-apiservers\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "ETCD Cache Entry Total ",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue latency",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "workqueue_queue_duration_seconds_bucket:kubernetes_apiservers * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Work Queue Latency",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue depth",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_depth:kubernetes_apiservers{job=\"kubernetes-apiservers\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, name,cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Work Queue Depth",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_adds_total:kubernetes_apiservers{job=\"kubernetes-apiservers\"}[5m]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, name, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Work Queue Add Rate ",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request duration",
- "timeSeriesDisplayNameTemplate": "{{verb}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "apiserver_request_duration_seconds_bucket:kubernetes_apiservers * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Request duration 99th quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} - 2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"2..\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"3..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"4..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"5..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "RPC Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg(up:kubernetes{job=\"kubernetes-apiservers\"} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 12,
- "name": "Up",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593440810600,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1593440810600,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593439747779,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1593439747779,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Api-1.22.0.json b/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Api-1.22.0.json
deleted file mode 100644
index 3d12a96c..00000000
--- a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Api-1.22.0.json
+++ /dev/null
@@ -1,1169 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 5,
- "panelId": 1,
- "w": 9,
- "x": 0,
- "y": 30
- },
- {
- "h": 5,
- "panelId": 2,
- "w": 8,
- "x": 9,
- "y": 30
- },
- {
- "h": 5,
- "panelId": 3,
- "w": 7,
- "x": 17,
- "y": 30
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 5
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 5
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 10,
- "x": 4,
- "y": 1
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 4,
- "x": 0,
- "y": 1
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 10,
- "x": 14,
- "y": 1
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 12,
- "x": 0,
- "y": 11
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 12,
- "x": 0,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 15,
- "w": 12,
- "x": 12,
- "y": 11
- },
- {
- "h": 6,
- "panelId": 16,
- "w": 12,
- "x": 12,
- "y": 24
- },
- {
- "h": 1,
- "panelId": 17,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 1,
- "panelId": 18,
- "w": 24,
- "x": 0,
- "y": 23
- },
- {
- "h": 6,
- "panelId": 19,
- "w": 12,
- "x": 0,
- "y": 17
- },
- {
- "h": 6,
- "panelId": 20,
- "w": 12,
- "x": 12,
- "y": 17
- }
- ],
- "name": "Kubernetes API Server",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes{job=\"kubernetes-apiservers-default\",kube_cluster_name=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total{job=\"kubernetes-apiservers-default\",kube_cluster_name=~$cluster}[$__interval]) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines{job=\"kubernetes-apiservers-default\",kube_cluster_name=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Name < Cluster",
- "timeSeriesDisplayNameTemplate": "{{name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_depth{job=\"kubernetes-apiservers-default\",kube_cluster_name=~$cluster}[$__interval])) by (name,kube_cluster_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Depth",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Name Cluster",
- "timeSeriesDisplayNameTemplate": "{{name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_adds_total{job=\"kubernetes-apiservers-default\",kube_cluster_name=~$cluster}[$__interval])) by (name, kube_cluster_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Add Rate ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cluster - 2xx",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}} - 2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total{code=~\"2..\",kube_cluster_name=~$cluster}[$__interval])) by (kube_cluster_name)"
- },
- {
- "displayInfo": {
- "displayName": "Cluster - 3xx",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}} 3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total{code=~\"3..\",kube_cluster_name=~$cluster}[$__interval])) by (kube_cluster_name)"
- },
- {
- "displayInfo": {
- "displayName": "Cluster - 4xx",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}} 4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total{code=~\"4..\",kube_cluster_name=~$cluster}[$__interval])) by (kube_cluster_name)"
- },
- {
- "displayInfo": {
- "displayName": "Cluster - 5xx",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}} 5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total{code=~\"5..\",kube_cluster_name=~$cluster}[$__interval])) by (kube_cluster_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "RPC Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up{job=\"kubernetes-apiservers-default\",kube_cluster_name=~$cluster})"
- }
- ],
- "description": "",
- "id": 12,
- "name": "Up",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request duration",
- "timeSeriesDisplayNameTemplate": "{{verb}} - {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,verb)(rate(apiserver_request_duration_seconds_sum{kube_cluster_name=~$cluster,verb!=\"WATCH\"}[$__interval]))/sum by (kube_cluster_name,verb)(rate(apiserver_request_duration_seconds_count{kube_cluster_name=~$cluster,verb!=\"WATCH\"}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Request duration average",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Verb < Cluster",
- "timeSeriesDisplayNameTemplate": "{{verb}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "connectSolid",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_response_sizes_sum{job=\"kubernetes-apiservers-default\",kube_cluster_name=~$cluster}[$__interval])) by (verb, kube_cluster_name)/sum(rate(apiserver_response_sizes_count{job=\"kubernetes-apiservers-default\",kube_cluster_name=~$cluster}[$__interval])) by (verb, kube_cluster_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Average Response Size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation < Cluster",
- "timeSeriesDisplayNameTemplate": "{{operation}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ns",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_admission_controller_admission_duration_seconds_sum{job=\"kubernetes-apiservers-default\",kube_cluster_name=~$cluster}[$__interval])) by (operation, kube_cluster_name)/sum(rate(apiserver_admission_controller_admission_duration_seconds_count{job=\"kubernetes-apiservers-default\",kube_cluster_name=~$cluster}[$__interval])) by (operation, kube_cluster_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Average Admission Controller Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation < Cluster",
- "timeSeriesDisplayNameTemplate": "{{verb}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_response_sizes_count{job=\"kubernetes-apiservers-default\",kube_cluster_name=~$cluster}[$__interval])) by (kube_cluster_name,verb)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Request per Second",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation < Cluster",
- "timeSeriesDisplayNameTemplate": "{{operation}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ns",
- "nullValueDisplayMode": "connectSolid",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_admission_webhook_admission_duration_seconds_sum{job=\"kubernetes-apiservers-default\",kube_cluster_name=~$cluster}[$__interval])) by (operation, kube_cluster_name)/sum(rate(apiserver_admission_webhook_admission_duration_seconds_count{job=\"kubernetes-apiservers-default\",kube_cluster_name=~$cluster}[$__interval])) by (operation, kube_cluster_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Average Webhook Controller Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 17,
- "markdownSource": "# Health and Request rate",
- "name": "New Panel",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 18,
- "markdownSource": "# Admission Controller",
- "name": "New Panel (2)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Remove Release < Version < Resource < Cluster",
- "timeSeriesDisplayNameTemplate": "{{removed_release}} < {{version}} < {{k8sresource}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name, k8sresource, removed_release,version)(apiserver_requested_deprecated_apis{job=\"kubernetes-apiservers\",kube_cluster_name=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Deprecated APIs",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "connectSolid",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.01, sum(rate(apiserver_client_certificate_expiration_seconds_bucket{job=\"kubernetes-apiservers-default\", kube_cluster_name=\"demo-env-prom\"}[$__interval]))by(kube_cluster_name,le)) > 0 "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Certificate Expiration",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1644241750590,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--6139949314852700299",
- "documentTimestamp": 1644241750590,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1643798966794,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1643798966794,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1644240246142,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1644240246142,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Controller-manager-1.14.0.json b/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Controller-manager-1.14.0.json
deleted file mode 100644
index d43b137b..00000000
--- a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Controller-manager-1.14.0.json
+++ /dev/null
@@ -1,814 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 20
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 20
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 20
- },
- {
- "h": 4,
- "panelId": 4,
- "w": 24,
- "x": 0,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 5,
- "w": 7,
- "x": 0,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 6,
- "w": 17,
- "x": 7,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 24,
- "x": 0,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 24,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 20,
- "x": 4,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 4,
- "x": 0,
- "y": 0
- }
- ],
- "name": "Kubernetes / Controller Manager",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes_control_manager* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes_control_manager[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "CPU usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Goroutines",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes_control_manager* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Goroutines",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Get request p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:get * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Get Request Latency 99th Quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"2..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"3..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"4..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"5..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Kube API Request Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Post request latency p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:post * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Post Request Latency 99th Quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue latency",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "workqueue_queue_duration_seconds_bucket:kubernetes_apiservers * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Work Queue Latency",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue depth",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_depth:kubernetes_control_manager[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, name, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Work Queue Depth",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue add rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_adds_total:kubernetes_control_manager[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, name, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Work Queue Add Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg(up:controllermanager * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "UP",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593440811312,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1593440811312,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593439747779,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1593439747779,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Controller-manager-1.22.0.json b/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Controller-manager-1.22.0.json
deleted file mode 100644
index 79747e08..00000000
--- a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Controller-manager-1.22.0.json
+++ /dev/null
@@ -1,1311 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 1,
- "w": 12,
- "x": 0,
- "y": 36
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 24,
- "x": 0,
- "y": 23
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 12,
- "x": 12,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 6
- },
- {
- "h": 5,
- "panelId": 8,
- "w": 12,
- "x": 0,
- "y": 11
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 12,
- "x": 12,
- "y": 11
- },
- {
- "h": 1,
- "panelId": 10,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 11,
- "w": 12,
- "x": 0,
- "y": 1
- },
- {
- "h": 5,
- "panelId": 12,
- "w": 12,
- "x": 12,
- "y": 6
- },
- {
- "h": 5,
- "panelId": 13,
- "w": 12,
- "x": 12,
- "y": 1
- },
- {
- "h": 1,
- "panelId": 14,
- "w": 24,
- "x": 0,
- "y": 16
- },
- {
- "h": 6,
- "panelId": 15,
- "w": 12,
- "x": 0,
- "y": 17
- },
- {
- "h": 6,
- "panelId": 16,
- "w": 12,
- "x": 12,
- "y": 29
- },
- {
- "h": 6,
- "panelId": 17,
- "w": 12,
- "x": 0,
- "y": 29
- },
- {
- "h": 1,
- "panelId": 18,
- "w": 24,
- "x": 0,
- "y": 35
- },
- {
- "h": 6,
- "panelId": 19,
- "w": 12,
- "x": 12,
- "y": 36
- },
- {
- "h": 6,
- "panelId": 20,
- "w": 24,
- "x": 0,
- "y": 42
- }
- ],
- "name": "Kubernetes Controller Manager",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sysdig_container_memory_used_bytes{container_name=~\".*kube-controller-manager.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[2XX] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[2XX] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-controller-manager.*\",code=~\"2..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "[3XX] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[3XX] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-controller-manager.*\",code=~\"3..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "[4XX] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[4XX] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-controller-manager.*\",code=~\"4..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "[5XX] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[5XX] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-controller-manager.*\",code=~\"5..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube API Request Rate by Code",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[]VERB] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{verb}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "connectSolid",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(30,sum by(verb,kube_cluster_name,kube_pod_name)(rate(rest_client_request_duration_seconds_sum{container_name=~\".*kube-controller-manager.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])) / sum by(verb,kube_cluster_name,kube_pod_name)(rate(rest_client_request_duration_seconds_count{container_name=~\".*kube-controller-manager.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube Request Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_queue_duration_seconds_sum{container_name=~\".*kube-controller-manager.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]) / rate(workqueue_queue_duration_seconds_count{container_name=~\".*kube-controller-manager.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Check the latencies of the queue\n\n\ud83d\udc49 Queue latency is the time tasks spend in the queue before being processed\n\ud83d\udc49 Work latency is the time that takes to process the tasks in the queue",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Latency in Queue",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_depth{container_name=~\".*kube-controller-manager.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Check the depth of the queue. High values can indicate the saturation of the controller manager.",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Depth",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_adds_total{container_name=~\".*kube-controller-manager.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Add Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 10,
- "markdownSource": "### Work Queue",
- "name": "New Panel",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_retries_total{container_name=~\".*kube-controller-manager.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Check that there are no recurrent retries in the work queue",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Retries",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_work_duration_seconds_sum{container_name=~\".*kube-controller-manager.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]) / rate(workqueue_work_duration_seconds_count{container_name=~\".*kube-controller-manager.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Latency Processing ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_unfinished_work_seconds{container_name=~\".*kube-controller-manager.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Check that there are large values in unfinished works time. That can be a sign of stuck threads.",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Unfinished Work Time",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 14,
- "markdownSource": "### API Server Requests",
- "name": "New Panel (2)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-controller-manager.*\",code!~\"2..|3..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])) / sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-controller-manager.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube API Error Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[]REQUEST] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{request}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "connectSolid",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(30,sum by(request,kube_cluster_name,kube_pod_name)(rate(cloudprovider_aws_api_request_duration_seconds_sum{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])) / sum by(request,kube_cluster_name,kube_pod_name)(rate(cloudprovider_aws_api_request_duration_seconds_count{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "AWS API Request Latency (if AWS)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[]REQUEST] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{request}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "connectSolid",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "topk(30,sum by(request,kube_cluster_name,kube_pod_name)(rate(cloudprovider_aws_api_request_errors{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])) / sum by(request,kube_cluster_name,kube_pod_name)(rate(cloudprovider_aws_api_request_duration_seconds_count{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "AWS API Error Rate (if AWS)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 18,
- "markdownSource": "### Resources Usage",
- "name": "New Panel (3)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sysdig_container_cpu_cores_used{container_name=~\".*kube-controller-manager.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU Cores",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines{container_name=~\".*kube-controller-manager.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1644253616976,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--6139949314852700299",
- "documentTimestamp": 1644253616976,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1643798966794,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1643798966794,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1644251361757,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1644251361757,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1644253616976,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--7638853878924989689",
- "documentTimestamp": 1644253616976,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1643798966793,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1643798966793,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "label": true,
- "lastSeen": 1644251361757,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "lastSeen": 1644251361757,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.pod"
- ],
- "publicId": "kube_pod_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "isVariable": true,
- "operand": "kubernetes.pod.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---CoreDNS-1.18.0.json b/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---CoreDNS-1.18.0.json
deleted file mode 100644
index fab2f408..00000000
--- a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---CoreDNS-1.18.0.json
+++ /dev/null
@@ -1,1208 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 1,
- "w": 3,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 2,
- "w": 3,
- "x": 3,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 9,
- "x": 6,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 8,
- "x": 0,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 9,
- "x": 15,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 8,
- "x": 8,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 8,
- "x": 16,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 9,
- "x": 6,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 9,
- "x": 15,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 6,
- "x": 0,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 9,
- "x": 6,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 9,
- "x": 15,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 8,
- "x": 0,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 15,
- "w": 8,
- "x": 8,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 16,
- "w": 8,
- "x": 16,
- "y": 24
- }
- ],
- "name": "Kubernetes / CoreDNS",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "up{job=\"kube-dns\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "description": "",
- "id": 1,
- "name": "UP",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "coredns_panic_count_total{job=\"kube-dns\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Panics",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "forward {{rcode}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_forward_response_rcode_count_total{job=\"kube-dns\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (rcode)"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{rcode}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_dns_response_rcode_count_total{job=\"kube-dns\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (rcode)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "RPC rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum(rate(coredns_dns_request_type_count_total{job=\"kube-dns\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (type))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Requests (by qtype)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{server}} {{zone}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_dns_request_duration_seconds_bucket{job=\"kube-dns\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (server, zone, le))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "forward {{to}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_forward_request_duration_seconds_bucket{job=\"kube-dns\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (to, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Request duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{zone}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum(rate(coredns_dns_request_type_count_total{job=\"kube-dns\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (zone))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Requests (by zone)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{to}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum(rate(coredns_forward_request_count_total{job=\"kube-dns\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (to))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Forward Requests (by to)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum(coredns_cache_hits_total{job=\"kube-dns\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) / (sum(coredns_cache_misses_total{job=\"kube-dns\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) + sum(coredns_cache_hits_total{job=\"kube-dns\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}))"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Cached",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_cache_hits_total{job=\"kube-dns\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (type)"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "misses",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_cache_misses_total{job=\"kube-dns\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Cache hit Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(coredns_cache_size{job=\"kube-dns\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (type)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Cache Size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(sum(coredns_plugin_enabled{job=\"kube-dns\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (name))"
- }
- ],
- "description": "",
- "id": 11,
- "name": "Plugins Enabled",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "99th {{server}} {{zone}} {{proto}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_dns_request_size_bytes_bucket{job=\"kube-dns\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (server, zone, proto, le))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "50th {{server}} {{zone}} {{proto}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(rate(coredns_dns_request_size_bytes_bucket{job=\"kube-dns\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (server, zone, proto, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Request size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "99th {{server}} {{zone}} {{proto}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_dns_response_size_bytes_bucket{job=\"kube-dns\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (server, zone, proto, le))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "50th {{server}} {{zone}} {{proto}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(rate(coredns_dns_response_size_bytes_bucket{job=\"kube-dns\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (server, zone, proto, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Response size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes{job=\"kube-dns\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total{job=\"kube-dns\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines{job=\"kube-dns\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1614684885010,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1614684885010,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1614684667137,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1614684667137,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---CoreDNS-1.22.0.json b/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---CoreDNS-1.22.0.json
deleted file mode 100644
index 274f1dda..00000000
--- a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---CoreDNS-1.22.0.json
+++ /dev/null
@@ -1,1330 +0,0 @@
-{
- "dashboard": {
- "description": "CoreDNS v1.7",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 3,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 7,
- "x": 3,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 7,
- "x": 10,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 3,
- "x": 0,
- "y": 3
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 8,
- "x": 0,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 8,
- "x": 8,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 17,
- "w": 8,
- "x": 16,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 9,
- "x": 6,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 9,
- "x": 15,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 6,
- "x": 0,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 9,
- "x": 6,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 9,
- "x": 15,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 8,
- "x": 0,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 15,
- "w": 8,
- "x": 8,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 16,
- "w": 8,
- "x": 16,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 18,
- "w": 7,
- "x": 17,
- "y": 0
- }
- ],
- "name": "Kubernetes CoreDNS",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(up{job=\"kube-dns\",kube_cluster_name=~$cluster,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "UP",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(coredns_panics_total{kube_cluster_name=~$cluster,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Panics",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Code < Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{rcode}} < {{kube_pod_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_dns_responses_total{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__range])) by (kube_cluster_name,rcode,kube_pod_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Rcode rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Type < Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{type}} < {{kube_pod_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum(rate(coredns_dns_requests_total{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__range])) by (type,kube_cluster_name,kube_pod_name))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Requests (by type)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Zone < Server < Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{zone}} < {{server}} < {{kube_pod_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_dns_request_duration_seconds_bucket{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__range])) by (server, zone, le, kube_cluster_name,kube_pod_name))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Request duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Zone < Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{zone}} < {{kube_pod_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum(rate(coredns_dns_requests_total{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__range]) ) by (zone,kube_cluster_name,kube_pod_name))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Requests (by zone)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum(coredns_cache_hits_total{kube_cluster_name=~$cluster,kube_pod_name=~$pod}) / (sum(coredns_cache_misses_total{kube_cluster_name=~$cluster,kube_pod_name=~$pod}) + sum(coredns_cache_hits_total{kube_cluster_name=~$cluster,kube_pod_name=~$pod}))"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Cached",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Type < Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{type}} < {{kube_pod_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_cache_hits_total{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])) by (type,kube_cluster_name,kube_pod_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Cache hit Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Server < Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{server}} < {{kube_pod_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_cache_misses_total{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])) by(server,kube_cluster_name,kube_pod_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Cache Miss Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(sum(coredns_plugin_enabled{kube_cluster_name=~$cluster,kube_pod_name=~$pod}) by (name))"
- }
- ],
- "description": "",
- "id": 11,
- "name": "Plugins Enabled",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "99th < Zone < Protocol < Server < Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "99th < {{zone}} < {{proto}} < {{server}} < {{kube_pod_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_dns_request_size_bytes_bucket{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__range])) by (server, zone, proto, le, kube_cluster_name,kube_pod_name))"
- },
- {
- "displayInfo": {
- "displayName": "50th < Zone < Protocol < Server < Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "50th < {{zone}} < {{proto}} < {{server}} < {{kube_pod_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(rate(coredns_dns_request_size_bytes_bucket{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__range])) by (server, zone, proto, le, kube_cluster_name,kube_pod_name))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Request size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "99th < Zone < Protocol < Server < Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "99th < {{zone}} < {{proto}} < {{server}} < {{kube_pod_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_dns_response_size_bytes_bucket{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__range])) by (server, zone, proto, le, kube_cluster_name,kube_pod_name))"
- },
- {
- "displayInfo": {
- "displayName": "50th < Zone < Protocol < Server < Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "50th < {{zone}} < {{proto}} < {{server}} < {{kube_pod_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(rate(coredns_dns_response_size_bytes_bucket{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__range])) by (server, zone, proto, le, kube_cluster_name,kube_pod_name))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Response size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes{job=\"kube-dns\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total{job=\"kube-dns\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines{job=\"kube-dns\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Protocol < Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{proto}} < {{kube_pod_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum(rate(coredns_dns_requests_total{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__range]) ) by (proto,kube_cluster_name,kube_pod_name))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Requests (by protocol)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "To < Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{to}} < {{kube_pod_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_forward_request_duration_seconds_bucket{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__range])) by (to, le,kube_cluster_name,kube_pod_name))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Forward Request duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1644254253995,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--6139949314852700299",
- "documentTimestamp": 1644254253995,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1643798966794,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1643798966794,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1644251361757,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1644251361757,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1644254253995,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--7638853878924989689",
- "documentTimestamp": 1644254253995,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1643798966793,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1643798966793,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "label": true,
- "lastSeen": 1644251361757,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "lastSeen": 1644251361757,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.pod"
- ],
- "publicId": "kube_pod_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "isVariable": true,
- "operand": "kubernetes.pod.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Kubelet-1.14.0.json b/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Kubelet-1.14.0.json
deleted file mode 100644
index fea91585..00000000
--- a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Kubelet-1.14.0.json
+++ /dev/null
@@ -1,1623 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 1,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 2,
- "w": 4,
- "x": 4,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 3,
- "w": 4,
- "x": 8,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 4,
- "x": 12,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 5,
- "w": 4,
- "x": 16,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 6,
- "w": 4,
- "x": 20,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 24,
- "x": 0,
- "y": 7
- },
- {
- "h": 5,
- "panelId": 10,
- "w": 12,
- "x": 0,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 11,
- "w": 12,
- "x": 12,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 12,
- "w": 12,
- "x": 0,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 13,
- "w": 12,
- "x": 12,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 14,
- "w": 24,
- "x": 0,
- "y": 22
- },
- {
- "h": 5,
- "panelId": 15,
- "w": 12,
- "x": 0,
- "y": 27
- },
- {
- "h": 5,
- "panelId": 16,
- "w": 12,
- "x": 0,
- "y": 32
- },
- {
- "h": 5,
- "panelId": 17,
- "w": 12,
- "x": 12,
- "y": 27
- },
- {
- "h": 5,
- "panelId": 18,
- "w": 12,
- "x": 12,
- "y": 32
- },
- {
- "h": 5,
- "panelId": 19,
- "w": 24,
- "x": 0,
- "y": 37
- },
- {
- "h": 5,
- "panelId": 20,
- "w": 24,
- "x": 0,
- "y": 42
- },
- {
- "h": 6,
- "panelId": 21,
- "w": 24,
- "x": 0,
- "y": 47
- },
- {
- "h": 4,
- "panelId": 22,
- "w": 8,
- "x": 0,
- "y": 53
- },
- {
- "h": 4,
- "panelId": 23,
- "w": 8,
- "x": 8,
- "y": 53
- },
- {
- "h": 4,
- "panelId": 24,
- "w": 8,
- "x": 16,
- "y": 53
- }
- ],
- "name": "Kubernetes / Kubelet",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up:kubernetes{job=\"kubernetes-nodes\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Up",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kubelet_running_pod_count:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Running Pods",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kubelet_running_container_count:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Running Container",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(volume_manager_total_volumes:kubernetes_nodes{state=\"actual_state_of_world\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Actual Volume Count",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(volume_manager_total_volumes:desired:kubernetes_nodes{job=\"kubernetes-nodes\",state=\"desired_state_of_world\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Desired Volume Count",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_node_config_error:kubernetes_nodes[5m])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Config Error Count",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation Rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_runtime_operations_total:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (operation_type, instance, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Operation rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation Error Rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_runtime_operations_errors_total:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, operation_type, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Operation Error Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "operation_duration_seconds:kubernetes_nodes * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Operation duration 99th quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod start rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} pod",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_pod_start_duration_seconds_count:kubernetes_nodes[5m])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Worker start rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} worker",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_pod_worker_duration_seconds_count:kubernetes_nodes[5m])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Pod Start Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod start duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} pod",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "ms",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "pod_start_duration_seconds:kubernetes_nodes * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "Pod worker duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} pod",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "pod_worker_duration_seconds:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Pod Start Duration",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{operation_name}} {{volume_plugin}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(storage_operation_duration_seconds_count:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, operation_name, volume_plugin,cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Storage Operation Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation error rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{operation_name}} {{volume_plugin}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(storage_operation_errors_total:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, operation_name, volume_plugin, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Storage Operation Error Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Storage operation duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{operation_name}} {{volume_plugin}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "storage_operation_duration_seconds:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Storage Operation Duration 99th quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cgroup manager rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{operation_type}} - {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_cgroup_manager_duration_seconds_count:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, operation_type)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Cgroup manager operation rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "PLEG relist rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(pleg_relist_duration_seconds:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "PLEG relist rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cgroup manager p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "cgroup_manager_duration_seconds:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Cgroup manager 99th quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "PLEG relist interval",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "pleg_relist_interval_seconds:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "PLEG relist interval",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "PLEG relist duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "pleg_relist_duration_seconds:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "PLEG relist duration",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_2code:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_3code:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_4code:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_5code:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "RPC Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request duration p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "request_duration_seconds:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Request duration 99th quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"kubernetes-nodes\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Rate cpu",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"kubernetes-nodes\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "CPU usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Goroutines",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"kubernetes-nodes\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 24,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Goroutines",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593440813983,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1593440813983,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593439747779,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1593439747779,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Kubelet-1.22.0.json b/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Kubelet-1.22.0.json
deleted file mode 100644
index a7183e77..00000000
--- a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Kubelet-1.22.0.json
+++ /dev/null
@@ -1,1924 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 25,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 2,
- "w": 4,
- "x": 4,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 3,
- "w": 4,
- "x": 8,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 4,
- "x": 12,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 5,
- "w": 4,
- "x": 16,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 6,
- "w": 4,
- "x": 20,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 24,
- "x": 0,
- "y": 7
- },
- {
- "h": 5,
- "panelId": 10,
- "w": 12,
- "x": 0,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 11,
- "w": 12,
- "x": 12,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 26,
- "w": 12,
- "x": 0,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 13,
- "w": 12,
- "x": 12,
- "y": 22
- },
- {
- "h": 5,
- "panelId": 12,
- "w": 12,
- "x": 0,
- "y": 22
- },
- {
- "h": 5,
- "panelId": 14,
- "w": 24,
- "x": 0,
- "y": 27
- },
- {
- "h": 5,
- "panelId": 15,
- "w": 12,
- "x": 0,
- "y": 32
- },
- {
- "h": 5,
- "panelId": 17,
- "w": 12,
- "x": 12,
- "y": 32
- },
- {
- "h": 5,
- "panelId": 16,
- "w": 12,
- "x": 0,
- "y": 37
- },
- {
- "h": 5,
- "panelId": 18,
- "w": 12,
- "x": 12,
- "y": 37
- },
- {
- "h": 5,
- "panelId": 19,
- "w": 24,
- "x": 0,
- "y": 42
- },
- {
- "h": 5,
- "panelId": 20,
- "w": 24,
- "x": 0,
- "y": 47
- },
- {
- "h": 6,
- "panelId": 21,
- "w": 24,
- "x": 0,
- "y": 52
- },
- {
- "h": 5,
- "panelId": 22,
- "w": 8,
- "x": 0,
- "y": 58
- },
- {
- "h": 5,
- "panelId": 23,
- "w": 8,
- "x": 8,
- "y": 58
- },
- {
- "h": 5,
- "panelId": 24,
- "w": 8,
- "x": 16,
- "y": 58
- },
- {
- "h": 5,
- "panelId": 27,
- "w": 12,
- "x": 12,
- "y": 17
- }
- ],
- "name": "Kubernetes Kubelet",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kubelet_running_pod_count{instance=~$node, agent_tag_cluster=~$cluster} or vector(0)) +\n(sum(kubelet_running_pods{instance=~$node, agent_tag_cluster=~$cluster}) or vector(0))\n"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Running Pods",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kubelet_running_containers{instance=~$node, agent_tag_cluster=~$cluster} or vector(0)) +\n( sum(kubelet_running_container_count{instance=~$node, agent_tag_cluster=~$cluster}) or vector(0) )"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Running Containers",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(volume_manager_total_volumes{instance=~$node, agent_tag_cluster=~$cluster, state=\"actual_state_of_world\"})"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Actual Volume Count",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(volume_manager_total_volumes{instance=~$node, agent_tag_cluster=~$cluster, state=\"desired_state_of_world\"})"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Desired Volume Count",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_node_config_error{instance=~$node, agent_tag_cluster=~$cluster}[$__interval]))"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Config Error Count",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation < Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{operation_type}} < {{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_runtime_operations_total{instance=~$node ,agent_tag_cluster=~$cluster}[$__interval])) by (operation_type, instance, agent_tag_cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Operation rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation < Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{operation_type}} < {{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_runtime_operations_errors_total{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, operation_type, agent_tag_cluster) / sum(rate(kubelet_runtime_operations_total{instance=~$node ,agent_tag_cluster=~$cluster}[$__interval])) by (operation_type, instance, agent_tag_cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Operation Error Rate\u00a0 %\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation < Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{operation_type}} < {{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(kubelet_runtime_operations_duration_seconds_bucket{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, operation_type, agent_tag_cluster, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Operation duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_pod_start_duration_seconds_count{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, agent_tag_cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pod Start Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation < Volume < Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{operation_name}} < {{volume_plugin}} < {{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(storage_operation_duration_seconds_count{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, operation_name, volume_plugin,agent_tag_cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Storage Operation Rate",
- "nullValueDisplayText": "",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Operation < Volume < Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{operation_name}} < {{volume_plugin}} < {{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum(rate(storage_operation_errors_total{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, operation_name, volume_plugin, agent_tag_cluster) / sum(rate(storage_operation_status_count{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, operation_name, volume_plugin, agent_tag_cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Storage Operation Error Rate %\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Operation < Volume < Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{operation_name}} < {{volume_plugin}} < {{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(storage_operation_duration_seconds_bucket{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, operation_name, volume_plugin, le, agent_tag_cluster))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Storage Operation Duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation < Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{operation_type}} < {{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_cgroup_manager_duration_seconds_count{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, agent_tag_cluster, operation_type)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Cgroup manager operation rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, le, agent_tag_cluster))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "PLEG relist rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation < Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{operation_type}} < {{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(kubelet_cgroup_manager_duration_seconds_bucket{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, operation_type, agent_tag_cluster, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Cgroup manager 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_interval_seconds_bucket{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, agent_tag_cluster, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "PLEG relist interval",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Cluster - 2xx status codes",
- "timeSeriesDisplayNameTemplate": "{{agent_tag_cluster}} - 2xx status codes",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total{agent_tag_cluster=~$cluster, code=~\"2..\"}[$__interval])) by (agent_tag_cluster)"
- },
- {
- "displayInfo": {
- "displayName": " Cluster - 3xx status codes",
- "timeSeriesDisplayNameTemplate": "{{agent_tag_cluster}} - 3xx status codes",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total{agent_tag_cluster=~$cluster, code=~\"3..\"}[$__interval])) by (agent_tag_cluster)"
- },
- {
- "displayInfo": {
- "displayName": " Cluster - 4xx status codes",
- "timeSeriesDisplayNameTemplate": "{{agent_tag_cluster}} - 4xx status codes",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total{agent_tag_cluster=~$cluster, code=~\"4..\"}[$__interval])) by (agent_tag_cluster)"
- },
- {
- "displayInfo": {
- "displayName": " Cluster - 5xx status codes",
- "timeSeriesDisplayNameTemplate": "{{agent_tag_cluster}} - 5xx status codes",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total{agent_tag_cluster=~$cluster, code=~\"5..\"}[$__interval])) by (agent_tag_cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Requests Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Method < Url < Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{verb}} < {{url}} < {{instance}} < {{agent_tag_cluster}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, agent_tag_cluster, verb, url, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Request duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "topk(50, process_resident_memory_bytes{job=\"k8s-kubelet-default\", instance=~$node, agent_tag_cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(50, rate(process_cpu_seconds_total{job=\"k8s-kubelet-default\", instance=~$node, agent_tag_cluster=~$cluster}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(50, go_goroutines{job=\"k8s-kubelet-default\", instance=~$node, agent_tag_cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "For more info, you can go to the 'Go internals' dashboard",
- "id": 24,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": " sum(kube_node_status_condition{condition=\"Ready\", status=\"true\",node=~$node, agent_tag_cluster=~$cluster}) - (sum(up{job=\"k8s-kubelet-default\",instance=~$node, agent_tag_cluster=~$cluster}) or vector(0) )"
- }
- ],
- "description": "",
- "id": 25,
- "name": "Nodes without Kubelet",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "low",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_pod_worker_duration_seconds_count{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, agent_tag_cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 26,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Worker Start Rate\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "ms",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(kubelet_pod_start_duration_seconds_bucket{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, agent_tag_cluster, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pod Start Duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, agent_tag_cluster, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 27,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Worker Start Duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < Cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{agent_tag_cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket{instance=~$node, agent_tag_cluster=~$cluster}[$__interval])) by (instance, agent_tag_cluster, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "PLEG relist duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1644253726369,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--6139949314852700299",
- "documentTimestamp": 1644253726369,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1643798966794,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1643798966794,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1644251361757,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1644251361757,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1644253726369,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--1089814737874719027",
- "documentTimestamp": 1644253726369,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1643798966793,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1643798966793,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.node.name",
- "identity": false,
- "label": true,
- "lastSeen": 1644251361757,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.node"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.node.name",
- "identity": false,
- "lastSeen": 1644251361757,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.node"
- ],
- "publicId": "kube_node_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "node",
- "isVariable": true,
- "operand": "kubernetes.node.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Proxy-1.14.0.json b/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Proxy-1.14.0.json
deleted file mode 100644
index 1b2e79cf..00000000
--- a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Proxy-1.14.0.json
+++ /dev/null
@@ -1,873 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 24,
- "x": 0,
- "y": 11
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 7,
- "x": 0,
- "y": 8
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 17,
- "x": 7,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 10,
- "x": 4,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 10,
- "x": 14,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 12,
- "x": 12,
- "y": 4
- }
- ],
- "name": "Kubernetes / Proxy",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kube_proxy[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "CPU usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Goroutines",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Goroutines",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Get request p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:get:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Get Request Latency 99th Quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_proxy{code=~\"2..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_proxy{code=~\"3..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_proxy{code=~\"4..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_proxy{code=~\"5..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Kube API Request Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Post request latency p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:post:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Post Request Latency 99th Quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "kubeproxy_network_programming_duration_seconds_count:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Network Programming Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubeproxy_sync_proxy_rules_duration_seconds_count:kube_proxy[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Rules Sync Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "UP",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Latency",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "kubeproxy_sync_proxy_rules_duration_seconds_bucket:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Rule Sync Latency 99th Quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Network Programming Latency 99th Quantile",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "kubeproxy_network_programming_duration_seconds_bucket:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Network Programming Latency 99th Quantile",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593440814451,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1593440814451,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593439747779,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1593439747779,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Proxy-1.22.0.json b/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Proxy-1.22.0.json
deleted file mode 100644
index 55eea97d..00000000
--- a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Proxy-1.22.0.json
+++ /dev/null
@@ -1,1505 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 1,
- "panelId": 13,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 14,
- "w": 12,
- "x": 0,
- "y": 18
- },
- {
- "h": 5,
- "panelId": 15,
- "w": 12,
- "x": 12,
- "y": 18
- },
- {
- "h": 5,
- "panelId": 16,
- "w": 12,
- "x": 0,
- "y": 23
- },
- {
- "h": 5,
- "panelId": 17,
- "w": 12,
- "x": 12,
- "y": 23
- },
- {
- "h": 5,
- "panelId": 18,
- "w": 12,
- "x": 0,
- "y": 28
- },
- {
- "h": 5,
- "panelId": 19,
- "w": 12,
- "x": 12,
- "y": 28
- },
- {
- "h": 5,
- "panelId": 20,
- "w": 12,
- "x": 0,
- "y": 34
- },
- {
- "h": 5,
- "panelId": 21,
- "w": 12,
- "x": 12,
- "y": 34
- },
- {
- "h": 5,
- "panelId": 22,
- "w": 24,
- "x": 0,
- "y": 39
- },
- {
- "h": 3,
- "panelId": 23,
- "w": 24,
- "x": 0,
- "y": 1
- },
- {
- "h": 1,
- "panelId": 24,
- "w": 24,
- "x": 0,
- "y": 33
- },
- {
- "h": 1,
- "panelId": 25,
- "w": 24,
- "x": 0,
- "y": 14
- },
- {
- "h": 5,
- "panelId": 26,
- "w": 12,
- "x": 0,
- "y": 9
- },
- {
- "h": 5,
- "panelId": 27,
- "w": 12,
- "x": 12,
- "y": 9
- },
- {
- "h": 5,
- "panelId": 28,
- "w": 12,
- "x": 12,
- "y": 4
- },
- {
- "h": 5,
- "panelId": 29,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 6,
- "panelId": 30,
- "w": 12,
- "x": 0,
- "y": 45
- },
- {
- "h": 6,
- "panelId": 31,
- "w": 12,
- "x": 12,
- "y": 45
- },
- {
- "h": 6,
- "panelId": 32,
- "w": 24,
- "x": 0,
- "y": 51
- },
- {
- "h": 1,
- "panelId": 33,
- "w": 24,
- "x": 0,
- "y": 44
- },
- {
- "h": 3,
- "panelId": 34,
- "w": 24,
- "x": 0,
- "y": 15
- }
- ],
- "name": "Kubernetes Scheduler",
- "panels": [
- {
- "description": "",
- "id": 13,
- "markdownSource": "### Scheduling",
- "name": "New Panel",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_retries_total{job=~\"kube-scheduler-default\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Retries",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_unfinished_work_seconds{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Unfinished Work Time",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_queue_duration_seconds_sum{job=~\"kube-scheduler-default\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]) / rate(workqueue_queue_duration_seconds_count{job=~\"kube-scheduler-default\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Latency in Queue",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_work_duration_seconds_sum{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]) / rate(workqueue_work_duration_seconds_count{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Latency Processing ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_depth{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Depth",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_adds_total{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Add Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-scheduler.*\",code!~\"2..|3..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])) / sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube API Error Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[]VERB] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{verb}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "connectSolid",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(30,sum by(verb,kube_cluster_name,kube_pod_name)(rate(rest_client_request_duration_seconds_sum{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])) / sum by(verb,kube_cluster_name,kube_pod_name)(rate(rest_client_request_duration_seconds_count{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube Request Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[2XX] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[2XX] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-scheduler.*\",code=~\"2..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "[3XX] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[3XX] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-scheduler.*\",code=~\"3..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "[4XX] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[4XX] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-scheduler.*\",code=~\"4..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "[5XX] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[5XX] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-scheduler.*\",code=~\"5..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube API Request Rate by Code",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 23,
- "markdownSource": "\u2705 Check that the percentage of attempts to schedule pods and the number of attempts to correctly schedule a pod are low.\n* \ud83d\udc49 `unschedulable` means a pod could not be scheduled, \n* \ud83d\udc49 `error` means an internal scheduler problem.\n\n\u2705 Check that there are no pods in pending queues.\n\n\u2705 Check the latencies of end-to-end scheduling (scheduling algorithm + binding).",
- "name": "New Panel (2)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 24,
- "markdownSource": "### API Requests",
- "name": "New Panel (3)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "description": "",
- "id": 25,
- "markdownSource": "### Work Queue",
- "name": "New Panel (4)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[RESULT] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{result}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(scheduler_e2e_scheduling_duration_seconds_sum{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]) / rate(scheduler_e2e_scheduling_duration_seconds_count{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 26,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "End-to-End Scheduling Latency by Result",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[QUEUE] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{queue}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(scheduler_pending_pods{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 27,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pending Pods by Queue",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(scheduler_pod_scheduling_attempts_sum{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]) / rate(scheduler_pod_scheduling_attempts_count{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 28,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "AVG Number of Attempts to Successfully Schedule a Pod ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[RESULT] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{result}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name,result) (rate(scheduler_schedule_attempts_total{kube_cluster_name=~$cluster,kube_pod_name=~$pod,result!~\"scheduled\"}[$__interval])) / ignoring(result) group_left sum by (kube_cluster_name,kube_pod_name)(rate(scheduler_schedule_attempts_total{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 29,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "% Failed Attempts to Schedule Pods",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sysdig_container_memory_used_bytes{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 30,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sysdig_container_cpu_cores_used{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 31,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU Cores",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 32,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 33,
- "markdownSource": "### Resources Usage",
- "name": "New Panel (5)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "description": "",
- "id": 34,
- "markdownSource": "\u2705 Check that there are no recurrent retries in the work queue\n\n\u2705 Check that there are large values in unfinished works time. That can be a sign of stuck threads.\n\n\u2705 Check the latencies of the queue\n\n* \ud83d\udc49 Queue latency is the time tasks spend in the queue before being processed\n* \ud83d\udc49 Work latency is the time that takes to process the tasks in the queue\n\n\u2705 Check the depth of the queue. High values can indicate the saturation of the controller manager.",
- "name": "New Panel (6)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1644254003720,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--6139949314852700299",
- "documentTimestamp": 1644254003720,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1643798966794,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1643798966794,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1644251361757,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1644251361757,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1644254003720,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--7638853878924989689",
- "documentTimestamp": 1644254003720,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1643798966793,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1643798966793,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "label": true,
- "lastSeen": 1644251361757,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "lastSeen": 1644251361757,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.pod"
- ],
- "publicId": "kube_pod_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "isVariable": true,
- "operand": "kubernetes.pod.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Scheduler-1.14.0.json b/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Scheduler-1.14.0.json
deleted file mode 100644
index 871b8c72..00000000
--- a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Scheduler-1.14.0.json
+++ /dev/null
@@ -1,837 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 12
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 12
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 5,
- "w": 8,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 24,
- "x": 0,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 10,
- "x": 14,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 10,
- "x": 4,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 16,
- "x": 8,
- "y": 4
- }
- ],
- "name": "Kubernetes / Scheduler",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kube_scheduler[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "CPU usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Goroutines",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kube_scheduler * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Goroutines",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"2..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"3..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"4..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"5..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Kube API Request Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Get Request Latency p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:kube_scheduler{verb=\"GET\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Get Request Latency 99th Quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} e2e",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} scheduling algorithm",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "scheduler_scheduling_algorithm_duration_seconds_bucket:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} volume",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "scheduler_volume_scheduling_duration_seconds_bucket:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} binding",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "scheduler_binding_duration_seconds_bucket:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Scheduling latency 99th Quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "UP",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Scheduling Rate e2e",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} e2e",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(scheduler_e2e_scheduling_duration_seconds_count:kube_scheduler[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Scheduling Rate binding",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} binding",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(scheduler_binding_duration_seconds_count:kube_scheduler[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Scheduling Rate algorithm",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} scheduling algorithm",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(scheduler_scheduling_algorithm_duration_seconds_count:kube_scheduler[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Scheduling Rate volume",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} volume",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(scheduler_volume_scheduling_duration_seconds_count:kube_scheduler[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Scheduling Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Post Request Latency p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:kube_scheduler{verb=\"POST\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Post Request Latency 99th Quantile ",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593440815006,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1593440815006,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593439747779,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1593439747779,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Scheduler-1.22.0.json b/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Scheduler-1.22.0.json
deleted file mode 100644
index 55eea97d..00000000
--- a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---Scheduler-1.22.0.json
+++ /dev/null
@@ -1,1505 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 1,
- "panelId": 13,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 14,
- "w": 12,
- "x": 0,
- "y": 18
- },
- {
- "h": 5,
- "panelId": 15,
- "w": 12,
- "x": 12,
- "y": 18
- },
- {
- "h": 5,
- "panelId": 16,
- "w": 12,
- "x": 0,
- "y": 23
- },
- {
- "h": 5,
- "panelId": 17,
- "w": 12,
- "x": 12,
- "y": 23
- },
- {
- "h": 5,
- "panelId": 18,
- "w": 12,
- "x": 0,
- "y": 28
- },
- {
- "h": 5,
- "panelId": 19,
- "w": 12,
- "x": 12,
- "y": 28
- },
- {
- "h": 5,
- "panelId": 20,
- "w": 12,
- "x": 0,
- "y": 34
- },
- {
- "h": 5,
- "panelId": 21,
- "w": 12,
- "x": 12,
- "y": 34
- },
- {
- "h": 5,
- "panelId": 22,
- "w": 24,
- "x": 0,
- "y": 39
- },
- {
- "h": 3,
- "panelId": 23,
- "w": 24,
- "x": 0,
- "y": 1
- },
- {
- "h": 1,
- "panelId": 24,
- "w": 24,
- "x": 0,
- "y": 33
- },
- {
- "h": 1,
- "panelId": 25,
- "w": 24,
- "x": 0,
- "y": 14
- },
- {
- "h": 5,
- "panelId": 26,
- "w": 12,
- "x": 0,
- "y": 9
- },
- {
- "h": 5,
- "panelId": 27,
- "w": 12,
- "x": 12,
- "y": 9
- },
- {
- "h": 5,
- "panelId": 28,
- "w": 12,
- "x": 12,
- "y": 4
- },
- {
- "h": 5,
- "panelId": 29,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 6,
- "panelId": 30,
- "w": 12,
- "x": 0,
- "y": 45
- },
- {
- "h": 6,
- "panelId": 31,
- "w": 12,
- "x": 12,
- "y": 45
- },
- {
- "h": 6,
- "panelId": 32,
- "w": 24,
- "x": 0,
- "y": 51
- },
- {
- "h": 1,
- "panelId": 33,
- "w": 24,
- "x": 0,
- "y": 44
- },
- {
- "h": 3,
- "panelId": 34,
- "w": 24,
- "x": 0,
- "y": 15
- }
- ],
- "name": "Kubernetes Scheduler",
- "panels": [
- {
- "description": "",
- "id": 13,
- "markdownSource": "### Scheduling",
- "name": "New Panel",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_retries_total{job=~\"kube-scheduler-default\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Retries",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_unfinished_work_seconds{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Unfinished Work Time",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_queue_duration_seconds_sum{job=~\"kube-scheduler-default\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]) / rate(workqueue_queue_duration_seconds_count{job=~\"kube-scheduler-default\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Latency in Queue",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_work_duration_seconds_sum{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]) / rate(workqueue_work_duration_seconds_count{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Latency Processing ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_depth{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Depth",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[NAME] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{name}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(workqueue_adds_total{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Add Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-scheduler.*\",code!~\"2..|3..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])) / sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube API Error Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[]VERB] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{verb}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "connectSolid",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(30,sum by(verb,kube_cluster_name,kube_pod_name)(rate(rest_client_request_duration_seconds_sum{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])) / sum by(verb,kube_cluster_name,kube_pod_name)(rate(rest_client_request_duration_seconds_count{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval])))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube Request Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[2XX] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[2XX] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-scheduler.*\",code=~\"2..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "[3XX] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[3XX] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-scheduler.*\",code=~\"3..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "[4XX] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[4XX] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-scheduler.*\",code=~\"4..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "[5XX] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[5XX] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name)(rate(rest_client_requests_total{container_name=~\".*kube-scheduler.*\",code=~\"5..\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube API Request Rate by Code",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 23,
- "markdownSource": "\u2705 Check that the percentage of attempts to schedule pods and the number of attempts to correctly schedule a pod are low.\n* \ud83d\udc49 `unschedulable` means a pod could not be scheduled, \n* \ud83d\udc49 `error` means an internal scheduler problem.\n\n\u2705 Check that there are no pods in pending queues.\n\n\u2705 Check the latencies of end-to-end scheduling (scheduling algorithm + binding).",
- "name": "New Panel (2)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 24,
- "markdownSource": "### API Requests",
- "name": "New Panel (3)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "description": "",
- "id": 25,
- "markdownSource": "### Work Queue",
- "name": "New Panel (4)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[RESULT] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{result}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(scheduler_e2e_scheduling_duration_seconds_sum{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]) / rate(scheduler_e2e_scheduling_duration_seconds_count{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 26,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "End-to-End Scheduling Latency by Result",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[QUEUE] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{queue}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullZero",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(scheduler_pending_pods{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 27,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pending Pods by Queue",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(30,rate(scheduler_pod_scheduling_attempts_sum{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]) / rate(scheduler_pod_scheduling_attempts_count{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 28,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "AVG Number of Attempts to Successfully Schedule a Pod ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[RESULT] Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{result}}] {{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_pod_name,result) (rate(scheduler_schedule_attempts_total{kube_cluster_name=~$cluster,kube_pod_name=~$pod,result!~\"scheduled\"}[$__interval])) / ignoring(result) group_left sum by (kube_cluster_name,kube_pod_name)(rate(scheduler_schedule_attempts_total{kube_cluster_name=~$cluster,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 29,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "% Failed Attempts to Schedule Pods",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sysdig_container_memory_used_bytes{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 30,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sysdig_container_cpu_cores_used{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 31,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU Cores",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines{container_name=~\".*kube-scheduler.*\",kube_cluster_name=~$cluster,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 32,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 33,
- "markdownSource": "### Resources Usage",
- "name": "New Panel (5)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "description": "",
- "id": 34,
- "markdownSource": "\u2705 Check that there are no recurrent retries in the work queue\n\n\u2705 Check that there are large values in unfinished works time. That can be a sign of stuck threads.\n\n\u2705 Check the latencies of the queue\n\n* \ud83d\udc49 Queue latency is the time tasks spend in the queue before being processed\n* \ud83d\udc49 Work latency is the time that takes to process the tasks in the queue\n\n\u2705 Check the depth of the queue. High values can indicate the saturation of the controller manager.",
- "name": "New Panel (6)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1644254003720,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--6139949314852700299",
- "documentTimestamp": 1644254003720,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1643798966794,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1643798966794,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1644251361757,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1644251361757,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1644254003720,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--7638853878924989689",
- "documentTimestamp": 1644254003720,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1643798966793,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1643798966793,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "label": true,
- "lastSeen": 1644251361757,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "lastSeen": 1644251361757,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.pod"
- ],
- "publicId": "kube_pod_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "isVariable": true,
- "operand": "kubernetes.pod.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---etcd-1.14.0.json b/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---etcd-1.14.0.json
deleted file mode 100644
index 5cc27a18..00000000
--- a/resources/kubernetes-control/include/dashboard-Sysdig-Kubernetes---etcd-1.14.0.json
+++ /dev/null
@@ -1,852 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 4,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 6,
- "w": 8,
- "x": 0,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 8,
- "x": 8,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 8,
- "x": 0,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 8,
- "x": 16,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 8,
- "x": 8,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 8,
- "x": 16,
- "y": 14
- }
- ],
- "name": "Kubernetes / etcd",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg(etcd_server_has_leader * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Etcd has a leader?",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "Yes",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- },
- {
- "displayText": "Some",
- "inputFormat": "1",
- "severity": "low",
- "value": 0.4
- },
- {
- "displayText": "No",
- "inputFormat": "1",
- "severity": "high",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max(etcd_server_leader_changes_seen_total * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "The number of leader changes seen",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max(etcd_server_proposals_failed_total * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 3,
- "name": "The total number of failed proposals seen",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "RPC Rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(grpc_server_started_total{grpc_type=\"unary\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "RPC Failed Rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(grpc_server_handled_total{grpc_type=\"unary\",grpc_code!=\"OK\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "RPC Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Watch Streams",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(grpc_server_started_total{grpc_service=\"etcdserverpb.Watch\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster) - sum(grpc_server_handled_total{grpc_service=\"etcdserverpb.Watch\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Lease Streams",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(grpc_server_started_total{grpc_service=\"etcdserverpb.Lease\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster) - sum(grpc_server_handled_total{grpc_service=\"etcdserverpb.Lease\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Active Streams",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "DB size",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} DB Size",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "etcd_debugging_mvcc_db_total_size_in_bytes * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "DB Size",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Disk sync duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} WAL fsync",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(etcd_disk_wal_fsync_duration_seconds_bucket[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, le, cluster))"
- },
- {
- "displayInfo": {
- "displayName": "Disk sync duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} DB fsync",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(etcd_disk_backend_commit_duration_seconds_bucket[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, le, cluster))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Disk sync duration",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes{job=\"etcd\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Number of consensus proposals commited",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(etcd_server_proposals_committed_total[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Number of consensus proposals applied",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(etcd_server_proposals_applied_total[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "The total number of consensus proposals committed ",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total{job=\"etcd\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "CPU usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines{job=\"etcd\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Goroutines",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593440813244,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1593440813244,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593439747779,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1593439747779,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/helmfile.yaml b/resources/kubernetes-control/include/helmfile.yaml
deleted file mode 100644
index fef54124..00000000
--- a/resources/kubernetes-control/include/helmfile.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
-repositories:
- - name: prometheus-community
- url: https://prometheus-community.github.io/helm-charts
-releases:
- - name: prometheus-controlplane
- namespace: monitoring
- chart: prometheus-community/prometheus
- atomic: true
- values:
- - prometheus.yml.gotmpl
diff --git a/resources/kubernetes-control/include/prometheus-deploy.yaml b/resources/kubernetes-control/include/prometheus-deploy.yaml
deleted file mode 100644
index 1c15ac83..00000000
--- a/resources/kubernetes-control/include/prometheus-deploy.yaml
+++ /dev/null
@@ -1,1034 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: rules
- namespace: monitoring
-data:
- rules.yaml: |-
- "groups":
- - "name": "Sysdig.k8s.general.rules"
- "rules":
- - "expr": up{job=~"kubernetes-nodes|kubernetes-apiservers"}
- "record": "up:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_resident_memory_bytes{job=~"kubernetes-nodes|kubernetes-apiservers"}
- "record": "process_resident_memory_bytes:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_cpu_seconds_total{job=~"kubernetes-nodes|kubernetes-apiservers"}
- "record": "process_cpu_seconds_total:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- go_goroutines{job=~"kubernetes-nodes|kubernetes-apiservers"}
- "record": "go_goroutines:kubernetes"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.kubelet.rules"
- "rules":
- - "expr": kubelet_running_pod_count{job="kubernetes-nodes"}
- "record": "kubelet_running_pod_count:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_running_container_count{job="kubernetes-nodes"}
- "record": "kubelet_running_container_count:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": volume_manager_total_volumes{job="kubernetes-nodes"}
- "record": "volume_manager_total_volumes:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": volume_manager_total_volumes{job="kubernetes-nodes",state="desired_state_of_world"}
- "record": "volume_manager_total_volumes:desired:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_node_config_error{job="kubernetes-nodes"}
- "record": "kubelet_node_config_error:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_runtime_operations_total{job="kubernetes-nodes"}
- "record": "kubelet_runtime_operations_total:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_runtime_operations_errors_total{job="kubernetes-nodes"}
- "record": "kubelet_runtime_operations_errors_total:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_runtime_operations_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, operation_type, le))
- "record": "operation_duration_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_pod_start_duration_seconds_count{job="kubernetes-nodes"}
- "record": "kubelet_pod_start_duration_seconds_count:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_pod_worker_duration_seconds_count{job="kubernetes-nodes"}
- "record": "kubelet_pod_worker_duration_seconds_count:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pod_start_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, le))
- "record": "pod_start_duration_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, le))
- "record": "pod_worker_duration_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- storage_operation_duration_seconds_count{job="kubernetes-nodes"}
- "record": "storage_operation_duration_seconds_count:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- storage_operation_errors_total{job="kubernetes-nodes"}
- "record": "storage_operation_errors_total:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(storage_operation_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, operation_name, volume_plugin, le))
- "record": "storage_operation_duration_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_cgroup_manager_duration_seconds_count{job="kubernetes-nodes"}
- "record": "kubelet_cgroup_manager_duration_seconds_count:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_cgroup_manager_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, operation_type, le))
- "record": "cgroup_manager_duration_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_pleg_relist_duration_seconds_count{job="kubernetes-nodes"}
- "record": "kubelet_pleg_relist_duration_seconds_count:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_interval_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, le))
- "record": "pleg_relist_interval_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, le))
- "record": "pleg_relist_duration_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- rest_client_requests_total{job="kubernetes-nodes",code=~"2.."}
- "record": "rest_client_requests_total_2code:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- rest_client_requests_total{job="kubernetes-nodes",code=~"3.."}
- "record": "rest_client_requests_total_3code:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- rest_client_requests_total{job="kubernetes-nodes",code=~"4.."}
- "record": "rest_client_requests_total_4code:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- rest_client_requests_total{job="kubernetes-nodes",code=~"5.."}
- "record": "rest_client_requests_total_5code:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, verb, url, le))
- "record": "request_duration_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.scheduler.rules"
- "rules":
- - "expr": up{job="kubernetes-kube-scheduler"}
- "record": "up:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_e2e_scheduling_duration_seconds_count{job="kubernetes-kube-scheduler"}
- "record": "scheduler_e2e_scheduling_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_binding_duration_seconds_count{job="kubernetes-kube-scheduler"}
- "record": "scheduler_binding_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_scheduling_algorithm_duration_seconds_count{job="kubernetes-kube-scheduler"}
- "record": "scheduler_scheduling_algorithm_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_volume_scheduling_duration_seconds_count{job="kubernetes-kube-scheduler"}
- "record": "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_e2e_scheduling_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (instance, le))
- "record": "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_binding_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (instance, le))
- "record": "scheduler_binding_duration_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_scheduling_algorithm_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (instance, le))
- "record": "scheduler_scheduling_algorithm_duration_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_volume_scheduling_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (instance, le))
- "record": "scheduler_volume_scheduling_duration_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": rest_client_requests_total{job="kubernetes-kube-scheduler"}
- "record": "rest_client_requests_total:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_resident_memory_bytes{job="kubernetes-kube-scheduler"}
- "record": "process_resident_memory_bytes:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_cpu_seconds_total{job="kubernetes-kube-scheduler"}
- "record": "process_cpu_seconds_total:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": |
- go_goroutines{job="kubernetes-kube-scheduler"}
- "record": "go_goroutines:kube_scheduler"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.api.rules"
- "rules":
- - "expr": apiserver_request_total{job="kubernetes-apiservers"}
- "record": "apiserver_request_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(apiserver_request_duration_seconds_bucket{job="kubernetes-apiservers"}[5m])) by (verb, le))
- "record": "apiserver_request_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": workqueue_adds_total{job="kubernetes-apiservers"}
- "record": "workqueue_adds_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": workqueue_depth{job="kubernetes-apiservers"}
- "record": "workqueue_depth:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job="kubernetes-apiservers"}[5m])) by (instance, name, le))
- "record": "workqueue_queue_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": etcd_helper_cache_entry_total{job="kubernetes-apiservers"}
- "record": "etcd_helper_cache_entry_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": etcd_helper_cache_hit_total{job="kubernetes-apiservers"}
- "record": "etcd_helper_cache_hit_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": etcd_helper_cache_miss_total{job="kubernetes-apiservers"}
- "record": "etcd_helper_cache_miss_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99,sum(rate(etcd_request_cache_get_duration_seconds_bucket{job="kubernetes-apiservers"}[5m])) by (instance, le))
- "record": "etcd_request_cache_get_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99,sum(rate(etcd_request_cache_add_duration_seconds_bucket{job="kubernetes-apiservers"}[5m])) by (instance, le))
- "record": "etcd_request_cache_add_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.controller_manager.rules"
- "rules":
- - "expr": up{job="kubernetes-kube-controller-manager"}
- "record": "up:controllermanager"
- "labels":
- "sysdig": "true"
- - "expr": workqueue_adds_total{job="kubernetes-kube-controller-manager"}
- "record": "workqueue_adds_total:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": workqueue_depth{job="kubernetes-kube-controller-manager"}
- "record": "workqueue_depth:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job="kubernetes-kube-controller-manager"}[5m])) by (instance, name, le))
- "record": "workqueue_queue_duration_seconds_bucket:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-controller-manager", verb="POST"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:post"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-controller-manager", verb="GET"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:get"
- "labels":
- "sysdig": "true"
- - "expr": rest_client_requests_total{job="kubernetes-kube-controller-manager"}
- "record": "rest_client_requests_total:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_resident_memory_bytes{job="kubernetes-kube-controller-manager"}
- "record": "process_resident_memory_bytes:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_cpu_seconds_total{job="kubernetes-kube-controller-manager"}
- "record": "process_cpu_seconds_total:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": |
- go_goroutines{job="kubernetes-kube-controller-manager"}
- "record": "go_goroutines:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.kube_proxy.rules"
- "rules":
- - "expr": up{job="kubernetes-kube-proxy"}
- "record": "up:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : kubeproxy_sync_proxy_rules_duration_seconds_count{job="kubernetes-kube-proxy"}
- "record": "kubeproxy_sync_proxy_rules_duration_seconds_count:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{job="kubernetes-kube-proxy"}[5m]))
- "record": "kubeproxy_sync_proxy_rules_duration_seconds_bucket:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : kubeproxy_network_programming_duration_seconds_count{job="kubernetes-kube-proxy"}
- "record": "kubeproxy_network_programming_duration_seconds_count:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket{job="kubernetes-kube-proxy"}[5m])) by (instance, le))
- "record": "kubeproxy_network_programming_duration_seconds_bucket:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": rest_client_requests_total{job="kubernetes-kube-proxy"}
- "record": "rest_client_requests_total:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-proxy",verb="POST"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:post:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-proxy",verb="GET"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:get:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_resident_memory_bytes{job="kubernetes-kube-proxy"}
- "record": "process_resident_memory_bytes:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_cpu_seconds_total{job="kubernetes-kube-proxy"}
- "record": "process_cpu_seconds_total:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": |
- go_goroutines{job="kubernetes-kube-proxy"}
- "record": "go_goroutines:kube_proxy"
- "labels":
- "sysdig": "true"
- - name: "Sysdig.k8s.alert.rules"
- "rules":
- - "expr": |
- sum by (namespace) (
- sum by (namespace, pod) (
- max by (namespace, pod, container) (
- kube_pod_container_resource_requests_cpu_cores{job="kube-state-metrics"}
- ) * on(namespace, pod) group_left() max by (namespace, pod) (
- kube_pod_status_phase{phase=~"Pending|Running"} == 1
- )
- )
- )
- "record": "namespace:kube_pod_container_resource_requests_cpu_cores:sum"
- "labels":
- "sysdig": "true"
- - "expr": |
- kube_node_status_allocatable_cpu_cores
- "record": "kube_node_status_allocatable_cpu_cores:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- sum by (namespace) (
- sum by (namespace, pod) (
- max by (namespace, pod, container) (
- kube_pod_container_resource_requests_memory_bytes{job="kube-state-metrics"}
- ) * on(namespace, pod) group_left() max by (namespace, pod) (
- kube_pod_status_phase{phase=~"Pending|Running"} == 1
- )
- )
- )
- "record": "namespace:kube_pod_container_resource_requests_memory_bytes:sum"
- "labels":
- "sysdig": "true"
- - "expr": |
- kube_node_status_allocatable_memory_bytes
- "record": kube_node_status_allocatable_memory_bytes:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- kube_resourcequota
- "record": kube_resourcequota:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- container_cpu_cfs_throttled_periods_total
- "record": container_cpu_cfs_throttled_periods_total:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- container_cpu_cfs_periods_total
- "record": container_cpu_cfs_periods_total:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_volume_stats_available_bytes
- "record": kubelet_volume_stats_available_bytes:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_volume_stats_capacity_bytes
- "record": kubelet_volume_stats_capacity_bytes:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- kube_persistentvolume_status_phase
- "record": kube_persistentvolume_status_phase:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- kubernetes_build_info{job!~"kube-dns|coredns"}
- "record": kubernetes_build_info:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- sum(rate(rest_client_requests_total{code=~"5.."}[5m])) by (instance, job)
- "record": rest_client_requests_total:5xx:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- sum(rate(rest_client_requests_total[5m])) by (instance, job)
- "record": rest_client_requests_total:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- sum(status_class:apiserver_request_total:rate1h{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate1h{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate1h"
- - "expr": |
- sum(status_class:apiserver_request_total:rate5m{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate5m{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate5m"
- - "expr": |
- sum(status_class:apiserver_request_total:rate6h{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate6h{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate6h"
- - "expr": |
- sum(status_class:apiserver_request_total:rate30m{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate30m{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate30m"
- - "expr": |
- sum(status_class:apiserver_request_total:rate1d{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate1d{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate1d"
- - "expr": |
- sum(status_class:apiserver_request_total:rate2h{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate2h{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate2h"
- - "expr": |
- sum(status_class:apiserver_request_total:rate3d{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate3d{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate3d"
- - "expr": |
- sum(status_class:apiserver_request_total:rate6h{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate6h{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate6h"
- - "expr": |
- sum(rate(apiserver_request_duration_seconds_sum{subresource!="log",verb!~"LIST|WATCH|WATCHLIST|DELETECOLLECTION|PROXY|CONNECT"}[5m])) without(instance, pod)
- /
- sum(rate(apiserver_request_duration_seconds_count{subresource!="log",verb!~"LIST|WATCH|WATCHLIST|DELETECOLLECTION|PROXY|CONNECT"}[5m])) without(instance, pod)
- "record": "cluster:apiserver_request_duration_seconds:mean5m"
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(apiserver_request_duration_seconds_bucket{job="kube-apiserver",subresource!="log",verb!~"LIST|WATCH|WATCHLIST|DELETECOLLECTION|PROXY|CONNECT"}[5m])) without(instance, pod))
- "labels":
- "quantile": "0.99"
- "sysdig": "true"
- "record": "apiserver_client_certificate_expiration_seconds_count"
- - "expr": |
- apiserver_client_certificate_expiration_seconds_count
- "labels":
- "sysdig": "true"
- "record": apiserver_client_certificate_expiration_seconds_count:sysdig
- - "expr": |
- apiserver_client_certificate_expiration_seconds_bucket
- "labels":
- "sysdig": "true"
- "record": apiserver_client_certificate_expiration_seconds_bucket:sysdig
- - "expr": |
- aggregator_unavailable_apiservice_count
- "labels":
- "sysdig": "true"
- "record": aggregator_unavailable_apiservice_count:sysdig
- - "expr": |
- aggregator_unavailable_apiservice
- "labels":
- "sysdig": "true"
- "record": aggregator_unavailable_apiservice:sysdig
- - "expr": |
- kube_node_status_condition
- "labels":
- "sysdig": "true"
- "record": kube_node_status_condition:sysdig
- - "expr": |
- kube_node_spec_taint
- "labels":
- "sysdig": "true"
- "record": kube_node_spec_taint:sysdig
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket[5m])) by (instance, le) * on(instance) group_left(node) kubelet_node_name{job="kubelet"})
- "labels":
- "quantile": "0.99"
- "sysdig": "true"
- "record": "node_quantile:kubelet_pleg_relist_duration_seconds:histogram_quantile"
- - "expr": |
- kubelet_node_name
- "labels":
- "sysdig": "true"
- "record": kubelet_node_name:sysdig
- - "name": "Sysdig.k8s.dns.rules"
- "rules":
- - "expr": |
- coredns_panic_count_total
- "record": "coredns_panic_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_response_rcode_count_total
- "record": "coredns_dns_response_rcode_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_forward_response_rcode_count_total
- "record": "coredns_forward_response_rcode_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_request_duration_seconds_bucket
- "record": "coredns_dns_request_duration_seconds_bucket:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_request_type_count_total
- "record": "coredns_dns_request_type_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_forward_request_count_total
- "record": "coredns_forward_request_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_cache_hits_total
- "record": "coredns_cache_hits_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_cache_misses_total
- "record": "coredns_cache_misses_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_cache_size
- "record": "coredns_cache_size:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_plugin_enabled
- "record": "coredns_plugin_enabled:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_request_size_bytes_bucket
- "record": "coredns_dns_request_size_bytes_bucket:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_response_size_bytes_bucket
- "record": "coredns_dns_response_size_bytes_bucket:sysdig"
- "labels":
- "sysdig": "true"
----
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: prometheus-server
- namespace: monitoring
-data:
- prometheus.yml: |
- global:
- evaluation_interval: 1m
- scrape_interval: 1m
- scrape_timeout: 10s
- rule_files:
- - /opt/rules/rules.yaml
- - /opt/alerts/alerts.yaml
- scrape_configs:
- - job_name: prometheus
- static_configs:
- - targets:
- - localhost:9090
- - bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
- job_name: kubernetes-apiservers
- kubernetes_sd_configs:
- - role: endpoints
- relabel_configs:
- - action: keep
- regex: default;kubernetes;https
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_service_name
- - __meta_kubernetes_endpoint_port_name
- scheme: https
- tls_config:
- ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
- insecure_skip_verify: true
- - bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
- job_name: kubernetes-nodes
- kubernetes_sd_configs:
- - role: node
- relabel_configs:
- - action: labelmap
- regex: __meta_kubernetes_node_label_(.+)
- - replacement: kubernetes.default.svc:443
- target_label: __address__
- - regex: (.+)
- replacement: /api/v1/nodes/$1/proxy/metrics
- source_labels:
- - __meta_kubernetes_node_name
- target_label: __metrics_path__
- scheme: https
- tls_config:
- ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
- insecure_skip_verify: true
- - bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
- job_name: kubernetes-nodes-cadvisor
- kubernetes_sd_configs:
- - role: node
- relabel_configs:
- - action: labelmap
- regex: __meta_kubernetes_node_label_(.+)
- - replacement: kubernetes.default.svc:443
- target_label: __address__
- - regex: (.+)
- replacement: /api/v1/nodes/$1/proxy/metrics/cadvisor
- source_labels:
- - __meta_kubernetes_node_name
- target_label: __metrics_path__
- scheme: https
- tls_config:
- ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
- insecure_skip_verify: true
- - job_name: kubernetes-service-endpoints
- kubernetes_sd_configs:
- - role: endpoints
- relabel_configs:
- - action: keep
- regex: true
- source_labels:
- - __meta_kubernetes_service_annotation_prometheus_io_scrape
- - action: replace
- regex: (https?)
- source_labels:
- - __meta_kubernetes_service_annotation_prometheus_io_scheme
- target_label: __scheme__
- - action: replace
- regex: (.+)
- source_labels:
- - __meta_kubernetes_service_annotation_prometheus_io_path
- target_label: __metrics_path__
- - action: replace
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- source_labels:
- - __address__
- - __meta_kubernetes_service_annotation_prometheus_io_port
- target_label: __address__
- - action: labelmap
- regex: __meta_kubernetes_service_label_(.+)
- - action: replace
- source_labels:
- - __meta_kubernetes_namespace
- target_label: kubernetes_namespace
- - action: replace
- source_labels:
- - __meta_kubernetes_service_name
- target_label: kubernetes_name
- - action: replace
- source_labels:
- - __meta_kubernetes_pod_node_name
- target_label: kubernetes_node
- - honor_labels: true
- job_name: prometheus-pushgateway
- kubernetes_sd_configs:
- - role: service
- relabel_configs:
- - action: keep
- regex: pushgateway
- source_labels:
- - __meta_kubernetes_service_annotation_prometheus_io_probe
- - job_name: kubernetes-services
- kubernetes_sd_configs:
- - role: service
- metrics_path: /probe
- params:
- module:
- - http_2xx
- relabel_configs:
- - action: keep
- regex: true
- source_labels:
- - __meta_kubernetes_service_annotation_prometheus_io_probe
- - source_labels:
- - __address__
- target_label: __param_target
- - replacement: blackbox
- target_label: __address__
- - source_labels:
- - __param_target
- target_label: instance
- - action: labelmap
- regex: __meta_kubernetes_service_label_(.+)
- - source_labels:
- - __meta_kubernetes_namespace
- target_label: kubernetes_namespace
- - source_labels:
- - __meta_kubernetes_service_name
- target_label: kubernetes_name
- - job_name: kubernetes-pods
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- regex: true
- source_labels:
- - __meta_kubernetes_pod_annotation_prometheus_io_scrape
- - action: replace
- regex: (.+)
- source_labels:
- - __meta_kubernetes_pod_annotation_prometheus_io_path
- target_label: __metrics_path__
- - action: replace
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- source_labels:
- - __address__
- - __meta_kubernetes_pod_annotation_prometheus_io_port
- target_label: __address__
- - action: labelmap
- regex: __meta_kubernetes_pod_label_(.+)
- - action: replace
- source_labels:
- - __meta_kubernetes_namespace
- target_label: kubernetes_namespace
- - action: replace
- source_labels:
- - __meta_kubernetes_pod_name
- target_label: kubernetes_pod_name
- - job_name: kubernetes-kube-controller-manager
- honor_labels: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'kube-system/kube-controller-manager.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d+)?
- replacement: $1:10252
- - source_labels:
- - __meta_kubernetes_pod_name
- action: replace
- target_label: instance
- - action: labelmap
- regex: __meta_kubernetes_pod_label_(.+)
- - job_name: kubernetes-kube-scheduler
- honor_labels: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'kube-system/kube-scheduler.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d+)?
- replacement: $1:10251
- - source_labels:
- - __meta_kubernetes_pod_name
- action: replace
- target_label: instance
- - action: labelmap
- regex: __meta_kubernetes_pod_label_(.+)
- - job_name: kube-state-metrics
- honor_labels: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'monitoring/prometheus-kube-state-metrics.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d+)?
- replacement: $1
- - source_labels:
- - __meta_kubernetes_pod_name
- action: replace
- target_label: instance
- - action: labelmap
- regex: __meta_kubernetes_pod_label_(.+)
- - job_name: kubernetes-kube-proxy
- honor_labels: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'kube-system/kube-proxy.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d+)?
- replacement: $1:10249
- - source_labels:
- - __meta_kubernetes_pod_name
- action: replace
- target_label: instance
- - action: labelmap
- regex: __meta_kubernetes_pod_label_(.+)
- - job_name: etcd
- scheme: https
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'kube-system/etcd-manager-main.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d)?
- replacement: $1:4001
- tls_config:
- insecure_skip_verify: true
- cert_file: /opt/draios/kubernetes/prometheus/secrets/ca.crt
- key_file: /opt/draios/kubernetes/prometheus/secrets/ca.key
----
-apiVersion: extensions/v1beta1
-kind: Deployment
-metadata:
- labels:
- app: prometheus
- chart: prometheus-11.0.0
- component: server
- heritage: Helm
- release: prometheus
- name: prometheus-server
- namespace: monitoring
-spec:
- progressDeadlineSeconds: 600
- replicas: 1
- revisionHistoryLimit: 10
- selector:
- matchLabels:
- app: prometheus
- component: server
- release: prometheus
- strategy:
- type: Recreate
- template:
- metadata:
- annotations:
- prometheus.io/port: "9090"
- prometheus.io/scrape: "true"
- labels:
- app: prometheus
- chart: prometheus-11.0.0
- component: server
- heritage: Helm
- release: prometheus
- spec:
- containers:
- - args:
- - --volume-dir=/etc/config
- - --webhook-url=http://127.0.0.1:9090/-/reload
- image: jimmidyson/configmap-reload:v0.3.0
- imagePullPolicy: IfNotPresent
- name: prometheus-server-configmap-reload
- resources: {}
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- volumeMounts:
- - mountPath: /etc/config
- name: config-volume
- readOnly: true
- - mountPath: /opt/rules
- name: config-rules
- readOnly: true
- - mountPath: /opt/alerts
- name: config-alerts
- readOnly: true
- - args:
- - --storage.tsdb.retention.time=15d
- - --config.file=/etc/config/prometheus.yml
- - --storage.tsdb.path=/data
- - --web.console.libraries=/etc/prometheus/console_libraries
- - --web.console.templates=/etc/prometheus/consoles
- - --web.enable-lifecycle
- image: prom/prometheus:v2.16.0
- imagePullPolicy: IfNotPresent
- livenessProbe:
- failureThreshold: 3
- httpGet:
- path: /-/healthy
- port: 9090
- scheme: HTTP
- initialDelaySeconds: 30
- periodSeconds: 10
- successThreshold: 1
- timeoutSeconds: 30
- name: prometheus-server
- ports:
- - containerPort: 9090
- protocol: TCP
- readinessProbe:
- failureThreshold: 3
- httpGet:
- path: /-/ready
- port: 9090
- scheme: HTTP
- initialDelaySeconds: 30
- periodSeconds: 10
- successThreshold: 1
- timeoutSeconds: 30
- resources: {}
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- volumeMounts:
- - mountPath: /opt/draios/kubernetes/prometheus/secrets
- name: etcd-ca
- - mountPath: /etc/config
- name: config-volume
- - mountPath: /opt/rules
- name: config-rules
- - mountPath: /opt/alerts
- name: config-alerts
- - mountPath: /data
- name: storage-volume
- dnsPolicy: ClusterFirst
- restartPolicy: Always
- schedulerName: default-scheduler
- securityContext:
- fsGroup: 65534
- runAsGroup: 65534
- runAsNonRoot: true
- runAsUser: 65534
- serviceAccount: prometheus-server
- serviceAccountName: prometheus-server
- terminationGracePeriodSeconds: 300
- volumes:
- - name: etcd-ca
- secret:
- defaultMode: 420
- secretName: etcd-ca
- - configMap:
- defaultMode: 420
- name: prometheus-server
- name: config-volume
- - configMap:
- defaultMode: 420
- name: rules
- name: rules
- - name: storage-volume
- persistentVolumeClaim:
- claimName: prometheus-server
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/prometheus.yaml b/resources/kubernetes-control/include/prometheus.yaml
deleted file mode 100644
index ff6f39ec..00000000
--- a/resources/kubernetes-control/include/prometheus.yaml
+++ /dev/null
@@ -1,275 +0,0 @@
-scrape_configs:
-- job_name: prometheus
- static_configs:
- - targets:
- - localhost:9090
-- bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
- job_name: kubernetes-apiservers
- kubernetes_sd_configs:
- - role: endpoints
- relabel_configs:
- - action: keep
- regex: default;kubernetes;https
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_service_name
- - __meta_kubernetes_endpoint_port_name
- scheme: https
- tls_config:
- ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
- insecure_skip_verify: true
-- bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
- job_name: kubernetes-nodes
- kubernetes_sd_configs:
- - role: node
- relabel_configs:
- - action: labelmap
- regex: __meta_kubernetes_node_label_(.+)
- - replacement: kubernetes.default.svc:443
- target_label: __address__
- - regex: (.+)
- replacement: /api/v1/nodes/$1/proxy/metrics
- source_labels:
- - __meta_kubernetes_node_name
- target_label: __metrics_path__
- scheme: https
- tls_config:
- ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
- insecure_skip_verify: true
-- bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
- job_name: kubernetes-nodes-cadvisor
- kubernetes_sd_configs:
- - role: node
- relabel_configs:
- - action: labelmap
- regex: __meta_kubernetes_node_label_(.+)
- - replacement: kubernetes.default.svc:443
- target_label: __address__
- - regex: (.+)
- replacement: /api/v1/nodes/$1/proxy/metrics/cadvisor
- source_labels:
- - __meta_kubernetes_node_name
- target_label: __metrics_path__
- scheme: https
- tls_config:
- ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
- insecure_skip_verify: true
-- job_name: kubernetes-service-endpoints
- kubernetes_sd_configs:
- - role: endpoints
- relabel_configs:
- - action: keep
- regex: true
- source_labels:
- - __meta_kubernetes_service_annotation_prometheus_io_scrape
- - action: replace
- regex: (https?)
- source_labels:
- - __meta_kubernetes_service_annotation_prometheus_io_scheme
- target_label: __scheme__
- - action: replace
- regex: (.+)
- source_labels:
- - __meta_kubernetes_service_annotation_prometheus_io_path
- target_label: __metrics_path__
- - action: replace
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- source_labels:
- - __address__
- - __meta_kubernetes_service_annotation_prometheus_io_port
- target_label: __address__
- - action: labelmap
- regex: __meta_kubernetes_service_label_(.+)
- - action: replace
- source_labels:
- - __meta_kubernetes_namespace
- target_label: kubernetes_namespace
- - action: replace
- source_labels:
- - __meta_kubernetes_service_name
- target_label: kubernetes_name
- - action: replace
- source_labels:
- - __meta_kubernetes_pod_node_name
- target_label: kubernetes_node
-- honor_labels: true
- job_name: prometheus-pushgateway
- kubernetes_sd_configs:
- - role: service
- relabel_configs:
- - action: keep
- regex: pushgateway
- source_labels:
- - __meta_kubernetes_service_annotation_prometheus_io_probe
-- job_name: kubernetes-services
- kubernetes_sd_configs:
- - role: service
- metrics_path: /probe
- params:
- module:
- - http_2xx
- relabel_configs:
- - action: keep
- regex: true
- source_labels:
- - __meta_kubernetes_service_annotation_prometheus_io_probe
- - source_labels:
- - __address__
- target_label: __param_target
- - replacement: blackbox
- target_label: __address__
- - source_labels:
- - __param_target
- target_label: instance
- - action: labelmap
- regex: __meta_kubernetes_service_label_(.+)
- - source_labels:
- - __meta_kubernetes_namespace
- target_label: kubernetes_namespace
- - source_labels:
- - __meta_kubernetes_service_name
- target_label: kubernetes_name
-- job_name: kubernetes-pods
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- regex: true
- source_labels:
- - __meta_kubernetes_pod_annotation_prometheus_io_scrape
- - action: replace
- regex: (.+)
- source_labels:
- - __meta_kubernetes_pod_annotation_prometheus_io_path
- target_label: __metrics_path__
- - action: replace
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- source_labels:
- - __address__
- - __meta_kubernetes_pod_annotation_prometheus_io_port
- target_label: __address__
- - action: labelmap
- regex: __meta_kubernetes_pod_label_(.+)
- - action: replace
- source_labels:
- - __meta_kubernetes_namespace
- target_label: kubernetes_namespace
- - action: replace
- source_labels:
- - __meta_kubernetes_pod_name
- target_label: kubernetes_pod_name
-- job_name: kubernetes-kube-controller-manager
- honor_labels: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'kube-system/kube-controller-manager.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d+)?
- replacement: $1:10252
- - source_labels:
- - __meta_kubernetes_pod_name
- action: replace
- target_label: instance
- - action: labelmap
- regex: __meta_kubernetes_pod_label_(.+)
-- job_name: kubernetes-kube-scheduler
- honor_labels: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'kube-system/kube-scheduler.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d+)?
- replacement: $1:10251
- - source_labels:
- - __meta_kubernetes_pod_name
- action: replace
- target_label: instance
- - action: labelmap
- regex: __meta_kubernetes_pod_label_(.+)
-- job_name: kube-state-metrics
- honor_labels: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'monitoring/prometheus-controlplane-kube-state-metrics.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d+)?
- replacement: $1
- - source_labels:
- - __meta_kubernetes_pod_name
- action: replace
- target_label: instance
- - action: labelmap
- regex: __meta_kubernetes_pod_label_(.+)
-- job_name: kubernetes-kube-proxy
- honor_labels: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'kube-system/kube-proxy.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d+)?
- replacement: $1:10249
- - source_labels:
- - __meta_kubernetes_pod_name
- action: replace
- target_label: instance
- - action: labelmap
- regex: __meta_kubernetes_pod_label_(.+)
-- job_name: kube-dns
- honor_labels: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'kube-system/coredns.+'
- - source_labels:
- - __meta_kubernetes_pod_container_port_name
- action: keep
- regex: metrics
- - source_labels:
- - __meta_kubernetes_pod_name
- action: replace
- target_label: instance
- - action: labelmap
- regex: __meta_kubernetes_pod_label_(.+)
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/prometheus.yml.gotmpl b/resources/kubernetes-control/include/prometheus.yml.gotmpl
deleted file mode 100644
index 80a7d4c9..00000000
--- a/resources/kubernetes-control/include/prometheus.yml.gotmpl
+++ /dev/null
@@ -1,29 +0,0 @@
-alertmanager:
- enabled: false
-alertmanagerFiles:
- alertmanager.yml: ""
-kubeStateMetrics:
- enabled: true
-nodeExporter:
- enabled: false
-pushgateway:
- enabled: false
-server:
- persistentVolume:
- size: 20Gi
- statefulSet:
- enabled: true
- podAnnotations:
- prometheus.io/scrape: "true"
- prometheus.io/port: "9090"
- strategy:
- type: recreate
- global:
- evaluation_interval: 1m
- scrape_interval: 1m
- scrape_timeout: 10s
-serverFiles:
- prometheus.yml:
-{{ readFile "prometheus.yaml" | indent 4 }}
- recording_rules.yml:
-{{ readFile "recording_rules.yaml" | indent 4 }}
diff --git a/resources/kubernetes-control/include/recording_rules.yaml b/resources/kubernetes-control/include/recording_rules.yaml
deleted file mode 100644
index e1903edf..00000000
--- a/resources/kubernetes-control/include/recording_rules.yaml
+++ /dev/null
@@ -1,608 +0,0 @@
-groups:
-- name: "Sysdig.k8s.general.rules"
- rules:
- - expr: up{job=~"kubernetes-nodes|kubernetes-apiservers|etcd"}
- record: "up:kubernetes"
- labels:
- sysdig: "true"
- - expr: |
- process_resident_memory_bytes{job=~"kubernetes-nodes|kubernetes-apiservers|etcd"}
- record: "process_resident_memory_bytes:kubernetes"
- labels:
- sysdig: "true"
- - expr: |
- process_cpu_seconds_total{job=~"kubernetes-nodes|kubernetes-apiservers|etcd"}
- record: "process_cpu_seconds_total:kubernetes"
- labels:
- sysdig: "true"
- - expr: |
- go_goroutines{job=~"kubernetes-nodes|kubernetes-apiservers|etcd"}
- record: "go_goroutines:kubernetes"
- labels:
- sysdig: "true"
-
-- name: "Sysdig.k8s.kubelet.rules"
- rules:
- - expr: kubelet_running_pod_count{job="kubernetes-nodes"}
- record: "kubelet_running_pod_count:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: kubelet_running_container_count{job="kubernetes-nodes"}
- record: "kubelet_running_container_count:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: volume_manager_total_volumes{job="kubernetes-nodes"}
- record: "volume_manager_total_volumes:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: volume_manager_total_volumes{job="kubernetes-nodes",state="desired_state_of_world"}
- record: "volume_manager_total_volumes:desired:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: kubelet_node_config_error{job="kubernetes-nodes"}
- record: "kubelet_node_config_error:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: kubelet_runtime_operations_total{job="kubernetes-nodes"}
- record: "kubelet_runtime_operations_total:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: kubelet_runtime_operations_errors_total{job="kubernetes-nodes"}
- record: "kubelet_runtime_operations_errors_total:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(kubelet_runtime_operations_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, operation_type, le))
- record: "operation_duration_seconds:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- kubelet_pod_start_duration_seconds_count{job="kubernetes-nodes"}
- record: "kubelet_pod_start_duration_seconds_count:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- kubelet_pod_worker_duration_seconds_count{job="kubernetes-nodes"}
- record: "kubelet_pod_worker_duration_seconds_count:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(kubelet_pod_start_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, le))
- record: "pod_start_duration_seconds:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, le))
- record: "pod_worker_duration_seconds:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- storage_operation_duration_seconds_count{job="kubernetes-nodes"}
- record: "storage_operation_duration_seconds_count:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- storage_operation_errors_total{job="kubernetes-nodes"}
- record: "storage_operation_errors_total:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(storage_operation_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, operation_name, volume_plugin, le))
- record: "storage_operation_duration_seconds:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- kubelet_cgroup_manager_duration_seconds_count{job="kubernetes-nodes"}
- record: "kubelet_cgroup_manager_duration_seconds_count:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(kubelet_cgroup_manager_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, operation_type, le))
- record: "cgroup_manager_duration_seconds:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- kubelet_pleg_relist_duration_seconds_count{job="kubernetes-nodes"}
- record: "kubelet_pleg_relist_duration_seconds_count:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_interval_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, le))
- record: "pleg_relist_interval_seconds:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, le))
- record: "pleg_relist_duration_seconds:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- rest_client_requests_total{job="kubernetes-nodes",code=~"2.."}
- record: "rest_client_requests_total_2code:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- rest_client_requests_total{job="kubernetes-nodes",code=~"3.."}
- record: "rest_client_requests_total_3code:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- rest_client_requests_total{job="kubernetes-nodes",code=~"4.."}
- record: "rest_client_requests_total_4code:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- rest_client_requests_total{job="kubernetes-nodes",code=~"5.."}
- record: "rest_client_requests_total_5code:kubernetes_nodes"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, verb, url, le))
- record: "request_duration_seconds:kubernetes_nodes"
- labels:
- sysdig: "true"
-
-- name: "Sysdig.k8s.scheduler.rules"
- rules:
- - expr: up{job="kubernetes-kube-scheduler"}
- record: "up:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: scheduler_e2e_scheduling_duration_seconds_count{job="kubernetes-kube-scheduler"}
- record: "scheduler_e2e_scheduling_duration_seconds_count:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: scheduler_binding_duration_seconds_count{job="kubernetes-kube-scheduler"}
- record: "scheduler_binding_duration_seconds_count:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: scheduler_scheduling_algorithm_duration_seconds_count{job="kubernetes-kube-scheduler"}
- record: "scheduler_scheduling_algorithm_duration_seconds_count:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: scheduler_volume_scheduling_duration_seconds_count{job="kubernetes-kube-scheduler"}
- record: "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(scheduler_e2e_scheduling_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (instance, le))
- record: "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(scheduler_binding_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (instance, le))
- record: "scheduler_binding_duration_seconds_bucket:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(scheduler_scheduling_algorithm_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (instance, le))
- record: "scheduler_scheduling_algorithm_duration_seconds_bucket:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(scheduler_volume_scheduling_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (instance, le))
- record: "scheduler_volume_scheduling_duration_seconds_bucket:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (verb, url, le))
- record: "rest_client_request_latency_seconds_bucket:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: rest_client_requests_total{job="kubernetes-kube-scheduler"}
- record: "rest_client_requests_total:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: |
- process_resident_memory_bytes{job="kubernetes-kube-scheduler"}
- record: "process_resident_memory_bytes:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: |
- process_cpu_seconds_total{job="kubernetes-kube-scheduler"}
- record: "process_cpu_seconds_total:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: |
- go_goroutines{job="kubernetes-kube-scheduler"}
- record: "go_goroutines:kube_scheduler"
- labels:
- sysdig: "true"
-
-- name: "Sysdig.k8s.api.rules"
- rules:
- - expr: apiserver_request_total{job="kubernetes-apiservers"}
- record: "apiserver_request_total:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(apiserver_request_duration_seconds_bucket{job="kubernetes-apiservers"}[5m])) by (verb, le))
- record: "apiserver_request_duration_seconds_bucket:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: workqueue_adds_total{job="kubernetes-apiservers"}
- record: "workqueue_adds_total:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: workqueue_depth{job="kubernetes-apiservers"}
- record: "workqueue_depth:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job="kubernetes-apiservers"}[5m])) by (instance, name, le))
- record: "workqueue_queue_duration_seconds_bucket:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: etcd_helper_cache_entry_total{job="kubernetes-apiservers"}
- record: "etcd_helper_cache_entry_total:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: etcd_helper_cache_hit_total{job="kubernetes-apiservers"}
- record: "etcd_helper_cache_hit_total:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: etcd_helper_cache_miss_total{job="kubernetes-apiservers"}
- record: "etcd_helper_cache_miss_total:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99,sum(rate(etcd_request_cache_get_duration_seconds_bucket{job="kubernetes-apiservers"}[5m])) by (instance, le))
- record: "etcd_request_cache_get_duration_seconds_bucket:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99,sum(rate(etcd_request_cache_add_duration_seconds_bucket{job="kubernetes-apiservers"}[5m])) by (instance, le))
- record: "etcd_request_cache_add_duration_seconds_bucket:kubernetes_apiservers"
- labels:
- sysdig: "true"
-
-- name: "Sysdig.k8s.controller_manager.rules"
- rules:
- - expr: up{job="kubernetes-kube-controller-manager"}
- record: "up:controllermanager"
- labels:
- sysdig: "true"
- - expr: workqueue_adds_total{job="kubernetes-kube-controller-manager"}
- record: "workqueue_adds_total:kubernetes_control_manager"
- labels:
- sysdig: "true"
- - expr: workqueue_depth{job="kubernetes-kube-controller-manager"}
- record: "workqueue_depth:kubernetes_control_manager"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job="kubernetes-kube-controller-manager"}[5m])) by (instance, name, le))
- record: "workqueue_queue_duration_seconds_bucket:kubernetes_control_manager"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-controller-manager", verb="POST"}[5m])) by (verb, url, le))
- record: "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:post"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-controller-manager", verb="GET"}[5m])) by (verb, url, le))
- record: "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:get"
- labels:
- sysdig: "true"
- - expr: rest_client_requests_total{job="kubernetes-kube-controller-manager"}
- record: "rest_client_requests_total:kubernetes_control_manager"
- labels:
- sysdig: "true"
- - expr: |
- process_resident_memory_bytes{job="kubernetes-kube-controller-manager"}
- record: "process_resident_memory_bytes:kubernetes_control_manager"
- labels:
- sysdig: "true"
- - expr: |
- process_cpu_seconds_total{job="kubernetes-kube-controller-manager"}
- record: "process_cpu_seconds_total:kubernetes_control_manager"
- labels:
- sysdig: "true"
- - expr: |
- go_goroutines{job="kubernetes-kube-controller-manager"}
- record: "go_goroutines:kubernetes_control_manager"
- labels:
- sysdig: "true"
-
-- name: "Sysdig.k8s.kube_proxy.rules"
- rules:
- - expr: up{job="kubernetes-kube-proxy"}
- record: "up:kube_proxy"
- labels:
- sysdig: "true"
- - expr : kubeproxy_sync_proxy_rules_duration_seconds_count{job="kubernetes-kube-proxy"}
- record: "kubeproxy_sync_proxy_rules_duration_seconds_count:kube_proxy"
- labels:
- sysdig: "true"
- - expr : histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{job="kubernetes-kube-proxy"}[5m]))
- record: "kubeproxy_sync_proxy_rules_duration_seconds_bucket:kube_proxy"
- labels:
- sysdig: "true"
- - expr : kubeproxy_network_programming_duration_seconds_count{job="kubernetes-kube-proxy"}
- record: "kubeproxy_network_programming_duration_seconds_count:kube_proxy"
- labels:
- sysdig: "true"
- - expr : histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket{job="kubernetes-kube-proxy"}[5m])) by (instance, le))
- record: "kubeproxy_network_programming_duration_seconds_bucket:kube_proxy"
- labels:
- sysdig: "true"
- - expr: rest_client_requests_total{job="kubernetes-kube-proxy"}
- record: "rest_client_requests_total:kube_proxy"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-proxy",verb="POST"}[5m])) by (verb, url, le))
- record: "rest_client_request_latency_seconds_bucket:post:kube_proxy"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-proxy",verb="GET"}[5m])) by (verb, url, le))
- record: "rest_client_request_latency_seconds_bucket:get:kube_proxy"
- labels:
- sysdig: "true"
- - expr: |
- process_resident_memory_bytes{job="kubernetes-kube-proxy"}
- record: "process_resident_memory_bytes:kube_proxy"
- labels:
- sysdig: "true"
- - expr: |
- process_cpu_seconds_total{job="kubernetes-kube-proxy"}
- record: "process_cpu_seconds_total:kube_proxy"
- labels:
- sysdig: "true"
- - expr: |
- go_goroutines{job="kubernetes-kube-proxy"}
- record: "go_goroutines:kube_proxy"
- labels:
- sysdig: "true"
-- name: "Sysdig.k8s.alert.rules"
- rules:
- - expr: |
- sum by (namespace) (
- sum by (namespace, pod) (
- max by (namespace, pod, container) (
- kube_pod_container_resource_requests_cpu_cores{job="kube-state-metrics"}
- ) * on(namespace, pod) group_left() max by (namespace, pod) (
- kube_pod_status_phase{phase=~"Pending|Running"} == 1
- )
- )
- )
- record: "namespace:kube_pod_container_resource_requests_cpu_cores:sum"
- labels:
- sysdig: "true"
- - expr: |
- kube_node_status_allocatable_cpu_cores
- record: "kube_node_status_allocatable_cpu_cores:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- sum by (namespace) (
- sum by (namespace, pod) (
- max by (namespace, pod, container) (
- kube_pod_container_resource_requests_memory_bytes{job="kube-state-metrics"}
- ) * on(namespace, pod) group_left() max by (namespace, pod) (
- kube_pod_status_phase{phase=~"Pending|Running"} == 1
- )
- )
- )
- record: "namespace:kube_pod_container_resource_requests_memory_bytes:sum"
- labels:
- sysdig: "true"
- - expr: |
- kube_node_status_allocatable_memory_bytes
- record: kube_node_status_allocatable_memory_bytes:sysdig
- labels:
- sysdig: "true"
- - expr: |
- kube_resourcequota
- record: kube_resourcequota:sysdig
- labels:
- sysdig: "true"
- - expr: |
- container_cpu_cfs_throttled_periods_total
- record: container_cpu_cfs_throttled_periods_total:sysdig
- labels:
- sysdig: "true"
- - expr: |
- container_cpu_cfs_periods_total
- record: container_cpu_cfs_periods_total:sysdig
- labels:
- sysdig: "true"
- - expr: |
- kubelet_volume_stats_available_bytes
- record: kubelet_volume_stats_available_bytes:sysdig
- labels:
- sysdig: "true"
- - expr: |
- kubelet_volume_stats_capacity_bytes
- record: kubelet_volume_stats_capacity_bytes:sysdig
- labels:
- sysdig: "true"
- - expr: |
- kube_persistentvolume_status_phase
- record: kube_persistentvolume_status_phase:sysdig
- labels:
- sysdig: "true"
- - expr: |
- kubernetes_build_info{job!~"kube-dns|coredns"}
- record: kubernetes_build_info:sysdig
- labels:
- sysdig: "true"
- - expr: |
- sum(rate(rest_client_requests_total{code=~"5.."}[5m])) by (instance, job)
- record: rest_client_requests_total:5xx:sysdig
- labels:
- sysdig: "true"
- - expr: |
- sum(rate(rest_client_requests_total[5m])) by (instance, job)
- record: rest_client_requests_total:sysdig
- labels:
- sysdig: "true"
- - expr: |
- sum(status_class:apiserver_request_total:rate1h{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate1h{job="kube-apiserver"})
- labels:
- "job": "kube-apiserver"
- sysdig: "true"
- record: "status_class_5xx:apiserver_request_total:ratio_rate1h"
- - expr: |
- sum(status_class:apiserver_request_total:rate5m{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate5m{job="kube-apiserver"})
- labels:
- "job": "kube-apiserver"
- sysdig: "true"
- record: "status_class_5xx:apiserver_request_total:ratio_rate5m"
- - expr: |
- sum(status_class:apiserver_request_total:rate6h{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate6h{job="kube-apiserver"})
- labels:
- "job": "kube-apiserver"
- sysdig: "true"
- record: "status_class_5xx:apiserver_request_total:ratio_rate6h"
- - expr: |
- sum(status_class:apiserver_request_total:rate30m{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate30m{job="kube-apiserver"})
- labels:
- "job": "kube-apiserver"
- sysdig: "true"
- record: "status_class_5xx:apiserver_request_total:ratio_rate30m"
- - expr: |
- sum(status_class:apiserver_request_total:rate1d{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate1d{job="kube-apiserver"})
- labels:
- "job": "kube-apiserver"
- sysdig: "true"
- record: "status_class_5xx:apiserver_request_total:ratio_rate1d"
- - expr: |
- sum(status_class:apiserver_request_total:rate2h{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate2h{job="kube-apiserver"})
- labels:
- "job": "kube-apiserver"
- sysdig: "true"
- record: "status_class_5xx:apiserver_request_total:ratio_rate2h"
- - expr: |
- sum(status_class:apiserver_request_total:rate3d{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate3d{job="kube-apiserver"})
- labels:
- "job": "kube-apiserver"
- sysdig: "true"
- record: "status_class_5xx:apiserver_request_total:ratio_rate3d"
- - expr: |
- sum(status_class:apiserver_request_total:rate6h{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate6h{job="kube-apiserver"})
- labels:
- "job": "kube-apiserver"
- sysdig: "true"
- record: "status_class_5xx:apiserver_request_total:ratio_rate6h"
- - expr: |
- sum(rate(apiserver_request_duration_seconds_sum{subresource!="log",verb!~"LIST|WATCH|WATCHLIST|DELETECOLLECTION|PROXY|CONNECT"}[5m])) without(instance, pod)
- /
- sum(rate(apiserver_request_duration_seconds_count{subresource!="log",verb!~"LIST|WATCH|WATCHLIST|DELETECOLLECTION|PROXY|CONNECT"}[5m])) without(instance, pod)
- record: "cluster:apiserver_request_duration_seconds:mean5m"
- labels:
- "job": "kube-apiserver"
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(apiserver_request_duration_seconds_bucket{job="kube-apiserver",subresource!="log",verb!~"LIST|WATCH|WATCHLIST|DELETECOLLECTION|PROXY|CONNECT"}[5m])) without(instance, pod))
- labels:
- "quantile": "0.99"
- sysdig: "true"
- record: "apiserver_client_certificate_expiration_seconds_count"
- - expr: |
- apiserver_client_certificate_expiration_seconds_count
- labels:
- sysdig: "true"
- record: apiserver_client_certificate_expiration_seconds_count:sysdig
- - expr: |
- apiserver_client_certificate_expiration_seconds_bucket
- labels:
- sysdig: "true"
- record: apiserver_client_certificate_expiration_seconds_bucket:sysdig
- - expr: |
- aggregator_unavailable_apiservice_count
- labels:
- sysdig: "true"
- record: aggregator_unavailable_apiservice_count:sysdig
- - expr: |
- aggregator_unavailable_apiservice
- labels:
- sysdig: "true"
- record: aggregator_unavailable_apiservice:sysdig
- - expr: |
- kube_node_status_condition
- labels:
- sysdig: "true"
- record: kube_node_status_condition:sysdig
- - expr: |
- kube_node_spec_taint
- labels:
- sysdig: "true"
- record: kube_node_spec_taint:sysdig
- - expr: |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket[5m])) by (instance, le) * on(instance) group_left(node) kubelet_node_name{job="kubelet"})
- labels:
- "quantile": "0.99"
- sysdig: "true"
- record: "node_quantile:kubelet_pleg_relist_duration_seconds:histogram_quantile"
- - expr: |
- kubelet_node_name
- labels:
- sysdig: "true"
- record: kubelet_node_name:sysdig
-- name: "Sysdig.k8s.dns.rules"
- rules:
- - expr: |
- coredns_panic_count_total
- record: "coredns_panic_count_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_dns_response_rcode_count_total
- record: "coredns_dns_response_rcode_count_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_forward_response_rcode_count_total
- record: "coredns_forward_response_rcode_count_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_dns_request_duration_seconds_bucket
- record: "coredns_dns_request_duration_seconds_bucket:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_dns_request_type_count_total
- record: "coredns_dns_request_type_count_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_forward_request_count_total
- record: "coredns_forward_request_count_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_cache_hits_total
- record: "coredns_cache_hits_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_cache_misses_total
- record: "coredns_cache_misses_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_cache_size
- record: "coredns_cache_size:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_plugin_enabled
- record: "coredns_plugin_enabled:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_dns_request_size_bytes_bucket
- record: "coredns_dns_request_size_bytes_bucket:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_dns_response_size_bytes_bucket
- record: "coredns_dns_response_size_bytes_bucket:sysdig"
- labels:
- sysdig: "true"
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/rules.yaml b/resources/kubernetes-control/include/rules.yaml
deleted file mode 100644
index 36d8ca15..00000000
--- a/resources/kubernetes-control/include/rules.yaml
+++ /dev/null
@@ -1,615 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: rules
- namespace: monitoring
-data:
- rules.yaml: |-
- "groups":
- - "name": "Sysdig.k8s.general.rules"
- "rules":
- - "expr": up{job=~"kubernetes-nodes|kubernetes-apiservers"}
- "record": "up:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_resident_memory_bytes{job=~"kubernetes-nodes|kubernetes-apiservers"}
- "record": "process_resident_memory_bytes:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_cpu_seconds_total{job=~"kubernetes-nodes|kubernetes-apiservers"}
- "record": "process_cpu_seconds_total:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- go_goroutines{job=~"kubernetes-nodes|kubernetes-apiservers"}
- "record": "go_goroutines:kubernetes"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.kubelet.rules"
- "rules":
- - "expr": kubelet_running_pod_count{job="kubernetes-nodes"}
- "record": "kubelet_running_pod_count:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_running_container_count{job="kubernetes-nodes"}
- "record": "kubelet_running_container_count:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": volume_manager_total_volumes{job="kubernetes-nodes"}
- "record": "volume_manager_total_volumes:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": volume_manager_total_volumes{job="kubernetes-nodes",state="desired_state_of_world"}
- "record": "volume_manager_total_volumes:desired:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_node_config_error{job="kubernetes-nodes"}
- "record": "kubelet_node_config_error:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_runtime_operations_total{job="kubernetes-nodes"}
- "record": "kubelet_runtime_operations_total:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_runtime_operations_errors_total{job="kubernetes-nodes"}
- "record": "kubelet_runtime_operations_errors_total:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_runtime_operations_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, operation_type, le))
- "record": "operation_duration_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_pod_start_duration_seconds_count{job="kubernetes-nodes"}
- "record": "kubelet_pod_start_duration_seconds_count:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_pod_worker_duration_seconds_count{job="kubernetes-nodes"}
- "record": "kubelet_pod_worker_duration_seconds_count:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pod_start_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, le))
- "record": "pod_start_duration_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, le))
- "record": "pod_worker_duration_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- storage_operation_duration_seconds_count{job="kubernetes-nodes"}
- "record": "storage_operation_duration_seconds_count:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- storage_operation_errors_total{job="kubernetes-nodes"}
- "record": "storage_operation_errors_total:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(storage_operation_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, operation_name, volume_plugin, le))
- "record": "storage_operation_duration_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_cgroup_manager_duration_seconds_count{job="kubernetes-nodes"}
- "record": "kubelet_cgroup_manager_duration_seconds_count:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_cgroup_manager_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, operation_type, le))
- "record": "cgroup_manager_duration_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_pleg_relist_duration_seconds_count{job="kubernetes-nodes"}
- "record": "kubelet_pleg_relist_duration_seconds_count:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_interval_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, le))
- "record": "pleg_relist_interval_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, le))
- "record": "pleg_relist_duration_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- rest_client_requests_total{job="kubernetes-nodes",code=~"2.."}
- "record": "rest_client_requests_total_2code:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- rest_client_requests_total{job="kubernetes-nodes",code=~"3.."}
- "record": "rest_client_requests_total_3code:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- rest_client_requests_total{job="kubernetes-nodes",code=~"4.."}
- "record": "rest_client_requests_total_4code:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- rest_client_requests_total{job="kubernetes-nodes",code=~"5.."}
- "record": "rest_client_requests_total_5code:kubernetes_nodes"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-nodes"}[5m])) by (instance, verb, url, le))
- "record": "request_duration_seconds:kubernetes_nodes"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.scheduler.rules"
- "rules":
- - "expr": up{job="kubernetes-kube-scheduler"}
- "record": "up:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_e2e_scheduling_duration_seconds_count{job="kubernetes-kube-scheduler"}
- "record": "scheduler_e2e_scheduling_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_binding_duration_seconds_count{job="kubernetes-kube-scheduler"}
- "record": "scheduler_binding_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_scheduling_algorithm_duration_seconds_count{job="kubernetes-kube-scheduler"}
- "record": "scheduler_scheduling_algorithm_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_volume_scheduling_duration_seconds_count{job="kubernetes-kube-scheduler"}
- "record": "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_e2e_scheduling_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (instance, le))
- "record": "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_binding_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (instance, le))
- "record": "scheduler_binding_duration_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_scheduling_algorithm_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (instance, le))
- "record": "scheduler_scheduling_algorithm_duration_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_volume_scheduling_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (instance, le))
- "record": "scheduler_volume_scheduling_duration_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-scheduler"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": rest_client_requests_total{job="kubernetes-kube-scheduler"}
- "record": "rest_client_requests_total:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_resident_memory_bytes{job="kubernetes-kube-scheduler"}
- "record": "process_resident_memory_bytes:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_cpu_seconds_total{job="kubernetes-kube-scheduler"}
- "record": "process_cpu_seconds_total:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": |
- go_goroutines{job="kubernetes-kube-scheduler"}
- "record": "go_goroutines:kube_scheduler"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.api.rules"
- "rules":
- - "expr": apiserver_request_total{job="kubernetes-apiservers"}
- "record": "apiserver_request_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(apiserver_request_duration_seconds_bucket{job="kubernetes-apiservers"}[5m])) by (verb, le))
- "record": "apiserver_request_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": workqueue_adds_total{job="kubernetes-apiservers"}
- "record": "workqueue_adds_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": workqueue_depth{job="kubernetes-apiservers"}
- "record": "workqueue_depth:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job="kubernetes-apiservers"}[5m])) by (instance, name, le))
- "record": "workqueue_queue_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": etcd_helper_cache_entry_total{job="kubernetes-apiservers"}
- "record": "etcd_helper_cache_entry_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": etcd_helper_cache_hit_total{job="kubernetes-apiservers"}
- "record": "etcd_helper_cache_hit_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": etcd_helper_cache_miss_total{job="kubernetes-apiservers"}
- "record": "etcd_helper_cache_miss_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99,sum(rate(etcd_request_cache_get_duration_seconds_bucket{job="kubernetes-apiservers"}[5m])) by (instance, le))
- "record": "etcd_request_cache_get_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99,sum(rate(etcd_request_cache_add_duration_seconds_bucket{job="kubernetes-apiservers"}[5m])) by (instance, le))
- "record": "etcd_request_cache_add_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.controller_manager.rules"
- "rules":
- - "expr": up{job="kubernetes-kube-controller-manager"}
- "record": "up:controllermanager"
- "labels":
- "sysdig": "true"
- - "expr": workqueue_adds_total{job="kubernetes-kube-controller-manager"}
- "record": "workqueue_adds_total:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": workqueue_depth{job="kubernetes-kube-controller-manager"}
- "record": "workqueue_depth:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job="kubernetes-kube-controller-manager"}[5m])) by (instance, name, le))
- "record": "workqueue_queue_duration_seconds_bucket:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-controller-manager", verb="POST"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:post"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-controller-manager", verb="GET"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:get"
- "labels":
- "sysdig": "true"
- - "expr": rest_client_requests_total{job="kubernetes-kube-controller-manager"}
- "record": "rest_client_requests_total:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_resident_memory_bytes{job="kubernetes-kube-controller-manager"}
- "record": "process_resident_memory_bytes:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_cpu_seconds_total{job="kubernetes-kube-controller-manager"}
- "record": "process_cpu_seconds_total:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": |
- go_goroutines{job="kubernetes-kube-controller-manager"}
- "record": "go_goroutines:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.kube_proxy.rules"
- "rules":
- - "expr": up{job="kubernetes-kube-proxy"}
- "record": "up:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : kubeproxy_sync_proxy_rules_duration_seconds_count{job="kubernetes-kube-proxy"}
- "record": "kubeproxy_sync_proxy_rules_duration_seconds_count:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{job="kubernetes-kube-proxy"}[5m]))
- "record": "kubeproxy_sync_proxy_rules_duration_seconds_bucket:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : kubeproxy_network_programming_duration_seconds_count{job="kubernetes-kube-proxy"}
- "record": "kubeproxy_network_programming_duration_seconds_count:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket{job="kubernetes-kube-proxy"}[5m])) by (instance, le))
- "record": "kubeproxy_network_programming_duration_seconds_bucket:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": rest_client_requests_total{job="kubernetes-kube-proxy"}
- "record": "rest_client_requests_total:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-proxy",verb="POST"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:post:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubernetes-kube-proxy",verb="GET"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:get:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_resident_memory_bytes{job="kubernetes-kube-proxy"}
- "record": "process_resident_memory_bytes:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_cpu_seconds_total{job="kubernetes-kube-proxy"}
- "record": "process_cpu_seconds_total:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": |
- go_goroutines{job="kubernetes-kube-proxy"}
- "record": "go_goroutines:kube_proxy"
- "labels":
- "sysdig": "true"
- - name: "Sysdig.k8s.alert.rules"
- "rules":
- - "expr": |
- sum by (namespace) (
- sum by (namespace, pod) (
- max by (namespace, pod, container) (
- kube_pod_container_resource_requests_cpu_cores{job="kube-state-metrics"}
- ) * on(namespace, pod) group_left() max by (namespace, pod) (
- kube_pod_status_phase{phase=~"Pending|Running"} == 1
- )
- )
- )
- "record": "namespace:kube_pod_container_resource_requests_cpu_cores:sum"
- "labels":
- "sysdig": "true"
- - "expr": |
- kube_node_status_allocatable_cpu_cores
- "record": "kube_node_status_allocatable_cpu_cores:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- sum by (namespace) (
- sum by (namespace, pod) (
- max by (namespace, pod, container) (
- kube_pod_container_resource_requests_memory_bytes{job="kube-state-metrics"}
- ) * on(namespace, pod) group_left() max by (namespace, pod) (
- kube_pod_status_phase{phase=~"Pending|Running"} == 1
- )
- )
- )
- "record": "namespace:kube_pod_container_resource_requests_memory_bytes:sum"
- "labels":
- "sysdig": "true"
- - "expr": |
- kube_node_status_allocatable_memory_bytes
- "record": kube_node_status_allocatable_memory_bytes:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- kube_resourcequota
- "record": kube_resourcequota:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- container_cpu_cfs_throttled_periods_total
- "record": container_cpu_cfs_throttled_periods_total:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- container_cpu_cfs_periods_total
- "record": container_cpu_cfs_periods_total:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_volume_stats_available_bytes
- "record": kubelet_volume_stats_available_bytes:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_volume_stats_capacity_bytes
- "record": kubelet_volume_stats_capacity_bytes:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- kube_persistentvolume_status_phase
- "record": kube_persistentvolume_status_phase:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- kubernetes_build_info{job!~"kube-dns|coredns"}
- "record": kubernetes_build_info:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- sum(rate(rest_client_requests_total{code=~"5.."}[5m])) by (instance, job)
- "record": rest_client_requests_total:5xx:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- sum(rate(rest_client_requests_total[5m])) by (instance, job)
- "record": rest_client_requests_total:sysdig
- "labels":
- "sysdig": "true"
- - "expr": |
- sum(status_class:apiserver_request_total:rate1h{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate1h{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate1h"
- - "expr": |
- sum(status_class:apiserver_request_total:rate5m{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate5m{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate5m"
- - "expr": |
- sum(status_class:apiserver_request_total:rate6h{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate6h{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate6h"
- - "expr": |
- sum(status_class:apiserver_request_total:rate30m{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate30m{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate30m"
- - "expr": |
- sum(status_class:apiserver_request_total:rate1d{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate1d{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate1d"
- - "expr": |
- sum(status_class:apiserver_request_total:rate2h{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate2h{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate2h"
- - "expr": |
- sum(status_class:apiserver_request_total:rate3d{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate3d{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate3d"
- - "expr": |
- sum(status_class:apiserver_request_total:rate6h{job="kube-apiserver",status_class="5xx"})
- /
- sum(status_class:apiserver_request_total:rate6h{job="kube-apiserver"})
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- "record": "status_class_5xx:apiserver_request_total:ratio_rate6h"
- - "expr": |
- sum(rate(apiserver_request_duration_seconds_sum{subresource!="log",verb!~"LIST|WATCH|WATCHLIST|DELETECOLLECTION|PROXY|CONNECT"}[5m])) without(instance, pod)
- /
- sum(rate(apiserver_request_duration_seconds_count{subresource!="log",verb!~"LIST|WATCH|WATCHLIST|DELETECOLLECTION|PROXY|CONNECT"}[5m])) without(instance, pod)
- "record": "cluster:apiserver_request_duration_seconds:mean5m"
- "labels":
- "job": "kube-apiserver"
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(apiserver_request_duration_seconds_bucket{job="kube-apiserver",subresource!="log",verb!~"LIST|WATCH|WATCHLIST|DELETECOLLECTION|PROXY|CONNECT"}[5m])) without(instance, pod))
- "labels":
- "quantile": "0.99"
- "sysdig": "true"
- "record": "apiserver_client_certificate_expiration_seconds_count"
- - "expr": |
- apiserver_client_certificate_expiration_seconds_count
- "labels":
- "sysdig": "true"
- "record": apiserver_client_certificate_expiration_seconds_count:sysdig
- - "expr": |
- apiserver_client_certificate_expiration_seconds_bucket
- "labels":
- "sysdig": "true"
- "record": apiserver_client_certificate_expiration_seconds_bucket:sysdig
- - "expr": |
- aggregator_unavailable_apiservice_count
- "labels":
- "sysdig": "true"
- "record": aggregator_unavailable_apiservice_count:sysdig
- - "expr": |
- aggregator_unavailable_apiservice
- "labels":
- "sysdig": "true"
- "record": aggregator_unavailable_apiservice:sysdig
- - "expr": |
- kube_node_status_condition
- "labels":
- "sysdig": "true"
- "record": kube_node_status_condition:sysdig
- - "expr": |
- kube_node_spec_taint
- "labels":
- "sysdig": "true"
- "record": kube_node_spec_taint:sysdig
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket[5m])) by (instance, le) * on(instance) group_left(node) kubelet_node_name{job="kubelet"})
- "labels":
- "quantile": "0.99"
- "sysdig": "true"
- "record": "node_quantile:kubelet_pleg_relist_duration_seconds:histogram_quantile"
- - "expr": |
- kubelet_node_name
- "labels":
- "sysdig": "true"
- "record": kubelet_node_name:sysdig
- - "name": "Sysdig.k8s.dns.rules"
- "rules":
- - "expr": |
- coredns_panic_count_total
- "record": "coredns_panic_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_response_rcode_count_total
- "record": "coredns_dns_response_rcode_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_forward_response_rcode_count_total
- "record": "coredns_forward_response_rcode_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_request_duration_seconds_bucket
- "record": "coredns_dns_request_duration_seconds_bucket:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_request_type_count_total
- "record": "coredns_dns_request_type_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_forward_request_count_total
- "record": "coredns_forward_request_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_cache_hits_total
- "record": "coredns_cache_hits_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_cache_misses_total
- "record": "coredns_cache_misses_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_cache_size
- "record": "coredns_cache_size:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_plugin_enabled
- "record": "coredns_plugin_enabled:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_request_size_bytes_bucket
- "record": "coredns_dns_request_size_bytes_bucket:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_response_size_bytes_bucket
- "record": "coredns_dns_response_size_bytes_bucket:sysdig"
- "labels":
- "sysdig": "true"
\ No newline at end of file
diff --git a/resources/kubernetes-control/include/sysdig-agent.yaml b/resources/kubernetes-control/include/sysdig-agent.yaml
deleted file mode 100644
index 4c9782e5..00000000
--- a/resources/kubernetes-control/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,94 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: agent
-data:
- prometheus.yaml: |-
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
- scrape_configs:
- - job_name: etcd
- scheme: https
- tls_config:
- insecure_skip_verify: true
- cert_file: /etc/kubernetes/pki/etcd-manager/etcd-clients-ca.crt
- key_file: /etc/kubernetes/pki/etcd-manager/etcd-clients-ca.key
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'kube-system/etcd-manager-main.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d)?
- replacement: $1:4001
- # Holding on to pod-id and container name so we can associate the metrics
- # with the container (and cluster hierarchy)
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
-
- - job_name: control-plane
- honor_labels: true
- metrics_path: '/federate'
- params:
- 'match[]':
- - '{sysdig="true"}'
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'monitoring/prometheus-controlplane-server-0'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d)?
- replacement: $1
- # Holding on to pod-id and container name so we can associate the metrics
- # with the container (and cluster hierarchy)
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
-
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: yourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/kubernetes-control/recording-rules.yaml b/resources/kubernetes-control/recording-rules.yaml
deleted file mode 100644
index c1141dfd..00000000
--- a/resources/kubernetes-control/recording-rules.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-apiVersion: v1
-kind: RecordingRule
-app: Kubernetes control plane
-version: 1.0.0
-appVersion:
-- 1.14.0
-- 1.18.0
-configurations:
-- name: rules.yaml
- file: include/rules.yaml
-descriptionFile: RECORDING-RULES.md
diff --git a/resources/kubernetes-control/setup-guide.yaml b/resources/kubernetes-control/setup-guide.yaml
deleted file mode 100644
index 629c5844..00000000
--- a/resources/kubernetes-control/setup-guide.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-apiVersion: v1
-kind: SetupGuide
-app: Kubernetes control plane
-version: 1.0.0
-appVersion:
-- 1.14.0
-- 1.18.0
-configurations:
-- name: helmfile.yaml
- file: include/helmfile.yaml
-- name: prometheus.yml.gotmpl
- file: include/prometheus.yml.gotmpl
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
-- name: prometheus.yaml
- file: include/prometheus.yaml
-- name: recording_rules.yaml
- file: include/recording_rules.yaml
-- name: prometheus-deploy.yaml
- file: include/prometheus-deploy.yaml
-descriptionFile: INSTALL.md
diff --git a/resources/kubernetes-control/setup-guidev1.22.yaml b/resources/kubernetes-control/setup-guidev1.22.yaml
index d8aef013..8dfbe7da 100644
--- a/resources/kubernetes-control/setup-guidev1.22.yaml
+++ b/resources/kubernetes-control/setup-guidev1.22.yaml
@@ -4,7 +4,5 @@ app: Kubernetes control plane
version: 1.0.0
appVersion:
- 1.22.0
-configurations:
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
+configurations: []
descriptionFile: INSTALLv1.22.md
diff --git a/resources/memcached/INSTALL.md b/resources/memcached/INSTALL.md
index e56a38f4..ad712d5c 100644
--- a/resources/memcached/INSTALL.md
+++ b/resources/memcached/INSTALL.md
@@ -8,30 +8,3 @@ To deploy it, download the file and run:
kubectl apply -f memcached-exporter-deploy.yaml
```
> Make sure to edit the argumment `memcached.address` with the proper address name of your memcached instance
-
-# Sysdig Agent configuration
-> Requires Sysdig Agent >= v11.3
-
-In the Redis exporter Deployment use the Sysdig annotations to configure the port of the exporter as the scraping port. See the example given in the `memcached-exporter-deploy.yaml` file.
-
-Additionally, you can use the labels to add the namespace, workload type, and name of the database the exporter will take data from.
-This way, you can view the metrics associated directly with the database pods and the exporter in Sysdig Monitor.
-
-```yaml
-spec:
- template:
- metadata:
- annotations:
- promcat.sysdig.com/integration_type: memcached
- promcat.sysdig.com/port: "9150"
- # Add here the namespace, workload type (deployment, statefulset, replicaset, daemonset)
- # and workload name of the Memcached instance that the exporter will take data from
- promcat.sysdig.com/target_ns: default
- promcat.sysdig.com/target_workload_type: deployment
- promcat.sysdig.com/target_workload_name: memcached
-```
-
-After configuring the Sysdig annotations, download the sample configuration file and apply it by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
diff --git a/resources/memcached/dashboards.yaml b/resources/memcached/dashboards.yaml
index fb2be288..93989385 100644
--- a/resources/memcached/dashboards.yaml
+++ b/resources/memcached/dashboards.yaml
@@ -4,15 +4,4 @@ app: memcached
version: 1.0.0
appVersion:
- '1.6'
-configurations:
-- name: Memcached
- kind: Sysdig
- image: memcached/images/memcached-sysdig.png
- description: |
- This dashboard offers information on:
- * Connections
- * Hit and miss rate
- * Evicts and reclaims
- * Memory usage
- * Commands
- file: include/dashboard-Sysdig-Memcached.json
\ No newline at end of file
+configurations: []
\ No newline at end of file
diff --git a/resources/memcached/images/memcached-sysdig.png b/resources/memcached/images/memcached-sysdig.png
deleted file mode 100644
index 6f8926b4..00000000
Binary files a/resources/memcached/images/memcached-sysdig.png and /dev/null differ
diff --git a/resources/memcached/include/dashboard-Sysdig-Memcached.json b/resources/memcached/include/dashboard-Sysdig-Memcached.json
deleted file mode 100644
index 4a2707c2..00000000
--- a/resources/memcached/include/dashboard-Sysdig-Memcached.json
+++ /dev/null
@@ -1,1315 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 2,
- "w": 4,
- "x": 8,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 4,
- "x": 12,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 6,
- "w": 4,
- "x": 16,
- "y": 0
- },
- {
- "h": 7,
- "panelId": 9,
- "w": 8,
- "x": 0,
- "y": 11
- },
- {
- "h": 7,
- "panelId": 11,
- "w": 12,
- "x": 0,
- "y": 18
- },
- {
- "h": 7,
- "panelId": 13,
- "w": 8,
- "x": 8,
- "y": 11
- },
- {
- "h": 7,
- "panelId": 14,
- "w": 8,
- "x": 0,
- "y": 3
- },
- {
- "h": 7,
- "panelId": 15,
- "w": 12,
- "x": 12,
- "y": 18
- },
- {
- "h": 1,
- "panelId": 18,
- "w": 24,
- "x": 0,
- "y": 2
- },
- {
- "h": 1,
- "panelId": 19,
- "w": 24,
- "x": 0,
- "y": 10
- },
- {
- "h": 7,
- "panelId": 21,
- "w": 8,
- "x": 16,
- "y": 3
- },
- {
- "h": 7,
- "panelId": 20,
- "w": 8,
- "x": 8,
- "y": 3
- },
- {
- "h": 2,
- "panelId": 22,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 23,
- "w": 4,
- "x": 4,
- "y": 0
- },
- {
- "h": 7,
- "panelId": 24,
- "w": 8,
- "x": 16,
- "y": 11
- },
- {
- "h": 2,
- "panelId": 26,
- "w": 4,
- "x": 20,
- "y": 0
- }
- ],
- "name": "Memcached",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "min(memcached_uptime_seconds{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Min Uptime",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "s",
- "severity": "ok",
- "value": 3600.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "max(memcached_current_connections{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}\n / memcached_max_connections{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Max Conns Usage",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(memcached_current_items{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Total Items",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Hit - Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "Hit - {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "connectSolid",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (kube_pod_name,kube_namespace_name,kube_workload_name,kube_cluster_name)(rate (memcached_commands_total{status=\"hit\",command=\"get\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))/sum by (kube_pod_name,kube_namespace_name,kube_workload_name,kube_cluster_name)(rate(memcached_commands_total{command=\"get\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Hit Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "memcached_current_bytes{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace, kube_workload_name=~$workload,kube_pod_name=~$pod} /memcached_limit_bytes{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace, kube_workload_name=~$workload,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Memory usage compared to the memory limit of the Memcached application. Keep in mind that you can adjust that limit from the command line argument to fit the memory limit of the container. ",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Evicted - Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "Evicted - {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "connectSolid",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "rate (memcached_items_evicted_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])"
- },
- {
- "displayInfo": {
- "displayName": "Reclaimed - Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "Reclaimed - {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "rate (memcached_items_reclaimed_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Evictions: Valid items removed from cache to free memory for new items\nReclaims: Number of times an entry was stored using memory from an expired entry",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Evicts & Reclaims",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "connectSolid",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "memcached_current_connections{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}\n / memcached_max_connections{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connections Usage %",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Command < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{command}} < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "connectSolid",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_pod_name,kube_namespace_name,kube_workload_name,kube_cluster_name,command)(rate(memcached_commands_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Commands",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 18,
- "markdownSource": "## Connections",
- "name": "Connections (2)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "description": "",
- "id": 19,
- "markdownSource": "## Cache & Memory",
- "name": "Connections (3)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "connectSolid",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(memcached_connections_listener_disabled_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Reached the number of maximum connections and caused a connection error",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connections Refused",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "connectSolid",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "rate(memcached_connections_yielded_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Connection throttled because max number of requests per event process reached. When sending GETs in batch mode and the connection contains too many requests (limited by -R parameter) the connection might be throttled to prevent starvation.",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connections Throttled",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum((memcached_up{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}))"
- }
- ],
- "description": "",
- "id": 22,
- "name": "# Instances Up",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(memcached_up{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod} == 0) or vector(0)"
- }
- ],
- "description": "",
- "id": 23,
- "name": "# Instances Down",
- "nullValueDisplayText": "",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "high",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "connectSolid",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "rate (memcached_items_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Evictions: Valid items removed from cache to free memory for new items\nReclaims: Number of times an entry was stored using memory from an expired entry",
- "id": 24,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "New Items",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "max(memcached_current_bytes{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace, kube_workload_name=~$workload,kube_pod_name=~$pod} /memcached_limit_bytes{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace, kube_workload_name=~$workload,kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 26,
- "name": "Max Mem Usage",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "high",
- "value": 95.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "medium",
- "value": 80.0
- }
- ]
- },
- "type": "advancedNumber"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1637150754733,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--6139949314852700299",
- "documentTimestamp": 1637150754733,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1612202275360,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1612202275360,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1636634916082,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1636634916082,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1637150754734,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--7083949535721519842",
- "documentTimestamp": 1637150754734,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1612202275360,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1612202275360,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1636634916082,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1636634916082,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1637150754734,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--3678655470823086545",
- "documentTimestamp": 1637150754734,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1619467970842,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesWorkload",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1619467970842,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "label": true,
- "lastSeen": 1636634916082,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.workload.name"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "lastSeen": 1636634916082,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.workload.name"
- ],
- "publicId": "kube_workload_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "workload",
- "isVariable": true,
- "operand": "kubernetes.workload.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1637150754734,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--7638853878924989689",
- "documentTimestamp": 1637150754734,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1612202275360,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1612202275360,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "label": true,
- "lastSeen": 1636634916082,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "lastSeen": 1636634916082,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.pod"
- ],
- "publicId": "kube_pod_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "isVariable": true,
- "operand": "kubernetes.pod.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/memcached/include/memcached-exporter-deploy.yaml b/resources/memcached/include/memcached-exporter-deploy.yaml
index 4495f2e2..b18dc8ee 100644
--- a/resources/memcached/include/memcached-exporter-deploy.yaml
+++ b/resources/memcached/include/memcached-exporter-deploy.yaml
@@ -14,11 +14,8 @@ spec:
labels:
app: memcached-exporter
annotations:
- promcat.sysdig.com/port: "9150"
- promcat.sysdig.com/target_ns: Your-namespace-name
- promcat.sysdig.com/target_workload_type: deployment
- promcat.sysdig.com/target_workload_name: memcached
- promcat.sysdig.com/integration_type: memcached
+ prometheus.io/port: "9150"
+ prometheus.io/scrape: "true"
spec:
containers:
- name: memcached-exporter
diff --git a/resources/memcached/include/sysdig-agent-config.yaml b/resources/memcached/include/sysdig-agent-config.yaml
deleted file mode 100644
index be5abaa9..00000000
--- a/resources/memcached/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,66 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: YourClusterName
- metrics_excess_log: true
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
- snaplen: 512
- tags: role:cluster
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: memcached-default
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: "memcached"
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_promcat_sysdig_com_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_ns]
- target_label: kube_namespace_name
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_workload_type]
- target_label: kube_workload_type
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_workload_name]
- target_label: kube_workload_name
- - action: replace
- replacement: true
- target_label: sysdig_omit_source
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
\ No newline at end of file
diff --git a/resources/memcached/setup-guide.yaml b/resources/memcached/setup-guide.yaml
index 946502b5..b850f895 100644
--- a/resources/memcached/setup-guide.yaml
+++ b/resources/memcached/setup-guide.yaml
@@ -8,5 +8,3 @@ descriptionFile: INSTALL.md
configurations:
- name: memcached-deploy.yaml
file: include/memcached-exporter-deploy.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
diff --git a/resources/mongodb/INSTALL.md b/resources/mongodb/INSTALL.md
index baf025d5..8013c718 100644
--- a/resources/mongodb/INSTALL.md
+++ b/resources/mongodb/INSTALL.md
@@ -87,11 +87,3 @@ kubectl create secret generic mongodb-exporter-auth \
```
kubectl apply -f mongodb-exporter-auth-deploy.yaml
```
-
-# SYSDIG AGENT CONFIGURATION
-In the _values.yaml_ of the Helm chart, include the Prometheus annotations to configure the port of the exporter as the scraping port.
-
-You can download the sample configuration file and apply it by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
diff --git a/resources/mongodb/dashboards.yaml b/resources/mongodb/dashboards.yaml
index 07142b31..0119586e 100644
--- a/resources/mongodb/dashboards.yaml
+++ b/resources/mongodb/dashboards.yaml
@@ -5,47 +5,6 @@ version: 1.0.0
appVersion:
- '4.2'
configurations:
-- name: 'Instance Health'
- kind: Sysdig
- image: 'mongodb/images/mongodb-sysdig-instance-health.png'
- description: |
- This dashboard offers information on:
- * UP
- * Asserts (errors)
- * Memory page faults
- * Uptime
- * DBs Size
- * Memory
- * Response Time
- * Lock Queue
- * Lock Clients
- * Global Lock Ratio
- * Tickets Usage
- * Cursors Opened
- * Cursors Timed Out
- * Connections
- * Network I/O
- * Requests
- * Operations
- * Cache Size
- * Cache I/O
- * Cache Dirty Pages Rate
- * Cache Evicted Pages
- file: include/dashboard-sysdig-mongo-instance-health.json
-- name: 'Database Details'
- kind: Sysdig
- image: 'mongodb/images/mongodb-sysdig-db-detail.png'
- description: |
- This dashboard offers information on:
- * Data Size
- * Index Size
- * Documents
- * Index
- * Collections
- * Database Size
- * Objects and Indexes
- * Collections
- file: include/dashboard-sysdig-mongo-db-details.json
- name: 'Instance Health'
kind: Grafana
image: 'mongodb/images/mongodb-grafana-instance-health.png'
diff --git a/resources/mongodb/images/mongodb-sysdig-db-detail.png b/resources/mongodb/images/mongodb-sysdig-db-detail.png
deleted file mode 100644
index 491eb631..00000000
Binary files a/resources/mongodb/images/mongodb-sysdig-db-detail.png and /dev/null differ
diff --git a/resources/mongodb/images/mongodb-sysdig-instance-health.png b/resources/mongodb/images/mongodb-sysdig-instance-health.png
deleted file mode 100644
index c8153bfc..00000000
Binary files a/resources/mongodb/images/mongodb-sysdig-instance-health.png and /dev/null differ
diff --git a/resources/mongodb/include/dashboard-sysdig-mongo-db-details.json b/resources/mongodb/include/dashboard-sysdig-mongo-db-details.json
deleted file mode 100644
index 7ef0415a..00000000
--- a/resources/mongodb/include/dashboard-sysdig-mongo-db-details.json
+++ /dev/null
@@ -1,755 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 1,
- "w": 24,
- "x": 0,
- "y": 15
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 24,
- "x": 0,
- "y": 9
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 24,
- "x": 0,
- "y": 3
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 5,
- "x": 5,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 5,
- "x": 10,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 7,
- "w": 5,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 8,
- "w": 4,
- "x": 15,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 9,
- "w": 5,
- "x": 19,
- "y": 0
- }
- ],
- "name": "MongoDB - Database details",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Collections - {{db}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(mongodb_mongod_db_collections_total * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Collections",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Index - {{db}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(mongodb_mongod_db_indexes_total * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Object - {{db}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(mongodb_mongod_db_objects_total * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Objects and Indexes",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Index - {{db}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "(mongodb_mongod_db_index_size_bytes{} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Object - {{db}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "(mongodb_mongod_db_data_size_bytes{} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Database Size",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Index",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum(((mongodb_mongod_db_index_size_bytes{}) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Index Size",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum((mongodb_mongod_db_objects_total * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Documents",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum((mongodb_mongod_db_data_size_bytes{} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 7,
- "name": "Data Size",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum((mongodb_mongod_db_indexes_total * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Index",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum((mongodb_mongod_db_collections_total * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 9,
- "name": "Collections",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593512068992,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1593512068992,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593511271515,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1593511271515,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593512068992,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1593512068992,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593511628364,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1593511628364,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593512068992,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-9123524798813735958",
- "documentTimestamp": 1593512068992,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.replicaSet.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593511987523,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.replicaSet"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.replicaSet.name",
- "identity": false,
- "lastSeen": 1593511987523,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.replicaSet"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "replicaSet",
- "isVariable": true,
- "operand": "kubernetes.replicaSet.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/mongodb/include/dashboard-sysdig-mongo-instance-health.json b/resources/mongodb/include/dashboard-sysdig-mongo-instance-health.json
deleted file mode 100644
index 673c8ba1..00000000
--- a/resources/mongodb/include/dashboard-sysdig-mongo-instance-health.json
+++ /dev/null
@@ -1,1685 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 0,
- "y": 3
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 8,
- "x": 8,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 8,
- "x": 16,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 8,
- "x": 0,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 8,
- "x": 8,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 8,
- "x": 16,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 8,
- "x": 0,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 8,
- "x": 8,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 8,
- "x": 16,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 8,
- "x": 0,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 8,
- "x": 8,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 8,
- "x": 16,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 6,
- "x": 0,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 16,
- "w": 6,
- "x": 6,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 17,
- "w": 6,
- "x": 12,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 18,
- "w": 6,
- "x": 18,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 19,
- "w": 6,
- "x": 0,
- "y": 30
- },
- {
- "h": 6,
- "panelId": 20,
- "w": 6,
- "x": 6,
- "y": 30
- },
- {
- "h": 6,
- "panelId": 21,
- "w": 6,
- "x": 12,
- "y": 30
- },
- {
- "h": 6,
- "panelId": 22,
- "w": 6,
- "x": 18,
- "y": 30
- }
- ],
- "name": "MongoDB - Instance Health",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg((mongodb_up{} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "UP",
- "numberThresholds": {
- "base": {
- "displayText": "DOWN",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "OK",
- "inputFormat": "1",
- "severity": "ok",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "avg((mongodb_instance_uptime_seconds{} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Uptime",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "s",
- "severity": "ok",
- "value": 3600.0
- },
- {
- "displayText": "",
- "inputFormat": "s",
- "severity": "medium",
- "value": 1800.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Errors",
- "timeSeriesDisplayNameTemplate": "{{type}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(mongodb_asserts_total{}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Asserts (errors)",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Page Faults",
- "timeSeriesDisplayNameTemplate": " {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(mongodb_extra_info_page_faults_total{}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Memory page faults",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{db}} - {{cluster}} - {{owner_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "((mongodb_mongod_db_data_size_bytes{} + mongodb_mongod_db_index_size_bytes{}) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "DBs Size",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{type}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "MiB",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "(mongodb_memory{} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{type}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "\u00b5s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "(rate(mongodb_mongod_op_latencies_latency_total{}[$__interval]) / rate(mongodb_mongod_op_latencies_ops_total{}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Response Time",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{type}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(mongodb_mongod_global_lock_current_queue{} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Lock Queue",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{type}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(mongodb_mongod_global_lock_client{} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Lock Clients",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Ratio",
- "timeSeriesDisplayNameTemplate": " {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(100 * mongodb_mongod_global_lock_ratio * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Global Lock Ratio",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{type}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(100 * (mongodb_mongod_wiredtiger_concurrent_transactions_out_tickets{} / mongodb_mongod_wiredtiger_concurrent_transactions_total_tickets{}) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Tickets Usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{state}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(mongodb_mongod_metrics_cursor_open{state!='total'} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Cursors Opened",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Cursors",
- "timeSeriesDisplayNameTemplate": " {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(mongodb_mongod_metrics_cursor_timed_out_total{}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Cursors Timed Out",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Conns",
- "timeSeriesDisplayNameTemplate": "{{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(mongodb_connections_metrics_created_total{}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Connections",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{state}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "(rate(mongodb_network_bytes_total{}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Network I/O",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " IOPS",
- "timeSeriesDisplayNameTemplate": " {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "(rate(mongodb_network_metrics_num_requests_total{}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Requests",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{type}} - {{cluster}} - {{owner_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "(rate(mongodb_op_counters_total{}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Operations",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{type}} - {{cluster}} - {{owner_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "(mongodb_mongod_wiredtiger_cache_bytes{type!='total'} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Cache Size",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{type}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "(rate(mongodb_mongod_wiredtiger_cache_bytes_total{}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Cache I/O",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Dirty rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(100 * sum by (container_id) (mongodb_mongod_wiredtiger_cache_pages{type='dirty'}) / sum by (container_id) (mongodb_mongod_wiredtiger_cache_pages{type='total'}) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Cache Dirty Pages Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{type}} - {{cluster}} - {{owner_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(mongodb_mongod_wiredtiger_cache_evicted_total[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Cache Evicted Pages",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593512068328,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1593512068328,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593511271515,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1593511271515,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593512068328,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1593512068328,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593511628364,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1593511628364,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593512068328,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-9123524798813735958",
- "documentTimestamp": 1593512068328,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.replicaSet.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593511987523,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.replicaSet"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.replicaSet.name",
- "identity": false,
- "lastSeen": 1593511987523,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.replicaSet"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "replicaSet",
- "isVariable": true,
- "operand": "kubernetes.replicaSet.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/mongodb/include/sysdig-agent-config.yaml b/resources/mongodb/include/sysdig-agent-config.yaml
deleted file mode 100644
index 3a0f41a6..00000000
--- a/resources/mongodb/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: YourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/mongodb/setup-guide.yaml b/resources/mongodb/setup-guide.yaml
index b382c856..410cc739 100644
--- a/resources/mongodb/setup-guide.yaml
+++ b/resources/mongodb/setup-guide.yaml
@@ -10,7 +10,5 @@ configurations:
file: include/mongo-deploy.yaml
- name: mongodb-exporter-auth-deploy.yaml
file: include/mongodb-exporter-auth-deploy.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
diff --git a/resources/mssql/INSTALL.md b/resources/mssql/INSTALL.md
index 4dc12300..4b6159c6 100644
--- a/resources/mssql/INSTALL.md
+++ b/resources/mssql/INSTALL.md
@@ -14,44 +14,3 @@ target:
```
The configmap has a `custom-metrics` inside with a series of SLQ queries. You can add more queries to the configmap if required.
-
-# Sysdig Agent configuration
-Ensure that the Sysdig Agent configuration includes a job for the specific instance of MsSQL, such as the example given below. In this example, the exporter is deployed in the mssql namespace.
-
-```yaml
-scrape_configs:
-- job_name: mssql
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'mssql/mssql-exporter.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d)?
- replacement: $1:9399
- # Holding on to pod-id and container name so we can associate the metrics
- # with the container (and cluster hierarchy)
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
-```
-
-You can download the sample configuration file and apply it by:
-```bash
-kubectl apply -f sysdig-agent.yaml
-```
diff --git a/resources/mssql/dashboards.yaml b/resources/mssql/dashboards.yaml
index 17417b97..f4c70d3a 100644
--- a/resources/mssql/dashboards.yaml
+++ b/resources/mssql/dashboards.yaml
@@ -5,20 +5,6 @@ version: 1.0.0
appVersion:
- '2019'
configurations:
-- name: 'MsSQL'
- kind: Sysdig
- image: 'mssql/images/mssql-sysdig-dashboard.png'
- description: |
- This dashboard offers information on:
- * Deadlocks
- * Kill connection
- * Memory used
- * Cache hit raio
- * Connections
- * Disk Available
- * Latency
- * Transactions
- file: include/mssql-dashboard-sysdig.json
- name: 'MsSQL'
kind: Grafana
image: 'mssql/images/mssql-grafana-dashboard.png'
diff --git a/resources/mssql/images/mssql-sysdig-dashboard.png b/resources/mssql/images/mssql-sysdig-dashboard.png
deleted file mode 100644
index 29242c76..00000000
Binary files a/resources/mssql/images/mssql-sysdig-dashboard.png and /dev/null differ
diff --git a/resources/mssql/include/mssql-dashboard-sysdig.json b/resources/mssql/include/mssql-dashboard-sysdig.json
deleted file mode 100644
index ae7cbe46..00000000
--- a/resources/mssql/include/mssql-dashboard-sysdig.json
+++ /dev/null
@@ -1,1297 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 3,
- "x": 0,
- "y": 1
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 3,
- "x": 3,
- "y": 1
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 3,
- "x": 6,
- "y": 1
- },
- {
- "h": 8,
- "panelId": 4,
- "w": 12,
- "x": 0,
- "y": 24
- },
- {
- "h": 8,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 24
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 4,
- "x": 4,
- "y": 41
- },
- {
- "h": 3,
- "panelId": 7,
- "w": 4,
- "x": 0,
- "y": 41
- },
- {
- "h": 3,
- "panelId": 8,
- "w": 3,
- "x": 9,
- "y": 1
- },
- {
- "h": 8,
- "panelId": 9,
- "w": 12,
- "x": 12,
- "y": 44
- },
- {
- "h": 8,
- "panelId": 10,
- "w": 12,
- "x": 0,
- "y": 32
- },
- {
- "h": 8,
- "panelId": 11,
- "w": 12,
- "x": 12,
- "y": 32
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 12,
- "x": 12,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 15,
- "w": 4,
- "x": 4,
- "y": 11
- },
- {
- "h": 3,
- "panelId": 16,
- "w": 4,
- "x": 0,
- "y": 11
- },
- {
- "h": 6,
- "panelId": 17,
- "w": 12,
- "x": 0,
- "y": 14
- },
- {
- "h": 8,
- "panelId": 18,
- "w": 12,
- "x": 0,
- "y": 44
- },
- {
- "h": 1,
- "panelId": 19,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 20,
- "w": 24,
- "x": 0,
- "y": 4
- },
- {
- "h": 3,
- "panelId": 21,
- "w": 12,
- "x": 12,
- "y": 1
- },
- {
- "h": 1,
- "panelId": 22,
- "w": 24,
- "x": 0,
- "y": 10
- },
- {
- "h": 3,
- "panelId": 23,
- "w": 16,
- "x": 8,
- "y": 11
- },
- {
- "h": 1,
- "panelId": 24,
- "w": 24,
- "x": 0,
- "y": 20
- },
- {
- "h": 1,
- "panelId": 25,
- "w": 24,
- "x": 0,
- "y": 40
- },
- {
- "h": 3,
- "panelId": 26,
- "w": 16,
- "x": 8,
- "y": 41
- },
- {
- "h": 3,
- "panelId": 27,
- "w": 24,
- "x": 0,
- "y": 21
- }
- ],
- "name": "MsSQL",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "up{job=~$job}"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Status",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "Healthy",
- "inputFormat": "1",
- "severity": "ok",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "mssql_deadlocks{job=~$job}"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Deadlocks",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "mssql_kill_connection_errors{job=~$job}"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Kill connection error",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{db}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rate(mssql_io_stall_seconds{operation=\"read\",type=\"LOG\",job=~$job,db=~$db}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Database latency Read (LOG)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{db}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rate(mssql_io_stall_seconds{operation=\"write\",type=\"LOG\",job=~$job,db=~$db}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Database latency Write (LOG)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "mssql_memory_utilization_percentage{job=~$job}"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Memory used",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "high",
- "value": 85.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "low",
- "value": 50.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "mssql_buffer_cache_hit_ratio{job=~$job}"
- }
- ],
- "description": "",
- "id": 7,
- "name": "Cache hit ratio",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "ok",
- "value": 85.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "medium",
- "value": 50.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(mssql_connections{job=~$job})"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Connections",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{db}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rate(mssql_transactions_total{job=~$job,db=~$db}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Transactions",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{db}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rate(mssql_io_stall_seconds{operation=\"read\",type=\"ROWS\",job=~$job,db=~$db}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Database latency Read (ROWS)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{db}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rate(mssql_io_stall_seconds{operation=\"write\", type=\"ROWS\",job=~$job,db=~$db}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Database latency Write (ROWS)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{db}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by (db)(mssql_disk_space_used_database_bytes_total{job=~$job,db=~$db})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Space used by DB",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(mssql_disk_space_avaiable_bytes_total{job=~$job})"
- }
- ],
- "description": "",
- "id": 15,
- "name": "Disk available",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum(mssql_disk_space_avaiable_bytes_total{job=~$job})/sum(mssql_disk_space_total_bytes_total{job=~$job}) "
- }
- ],
- "description": "",
- "id": 16,
- "name": "% of Disk available",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "ok",
- "value": 25.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{db}} > {{obj_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "mssql_table_used_size_bytes_total{job=~$job,db=~$db}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Space used by table",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{job}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "mssql_buffer_cache_hit_ratio{job=~$job}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Cache hit ratio",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 19,
- "markdownSource": "# Availability",
- "name": "New Panel",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{db}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "mssql_connections"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connections by db",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 21,
- "markdownSource": "### General availability of your MsSQL servers. \n\n\u2714 Check that you have **Healthy** your server. \n\n\u2714 Check that **deadlocks** are low, and close to 0. If the deadlocks increase dramatically your application will receive a lot of errors from the database.\n\n\u2714 Also, check the connections and kill connections if you get a lot of kill connections you may have a problem.\n\n\u2605 **Tip**: Filter by job and database to narrow down the result and identify the server with problems. ",
- "name": "New Panel (2)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 22,
- "markdownSource": "# Disk",
- "name": "New Panel (3)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 23,
- "markdownSource": "### Free space and usage by server\n\u2691 Running **out of disk** is a general problem in databases.\n\n* \u2714 Check that instance has **enough free disk**.\n * \u261b If your instance is running out of disk, you should adjust it and add more disk via PVC or manually.\n * \u261b You can select the job to study which database is using more disks than others.\n* \u261b You also can see which table is using more disk",
- "name": "New Panel (4)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 24,
- "markdownSource": "# Latency",
- "name": "New Panel (5)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "#\u00a0Stall",
- "id": 25,
- "markdownSource": "# Other",
- "name": "New Panel (6)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 26,
- "markdownSource": "### Other metrics you have to take a look\n\u2691 The **cache ratio** should be close to 100%.\n\n\u2691 The memory used could be 100% if the instance is running in Docker or Kubernetes.\n\n* \u2714 Check the transaction time.\n * \u261b If the transaction time has increased or it is too high maybe you have a problem in yoursdatabase. \n",
- "name": "New Panel (7)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "Stall",
- "id": 27,
- "markdownSource": "### Latency or Stall of your MsSQL servers. \nSeeing high latency or stall in your operations may or may not be a problem but sometimes can be a problem\n\n\u2714 Maybe your IO system is not handling the load right\n\n\u2714 Maybe you are doing too much in TempDB",
- "name": "New Panel (8)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "job",
- "documentId": "job",
- "documentTimestamp": 1611574306514,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "job",
- "identity": false,
- "metricType": "tag",
- "name": "job",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "job",
- "isVariable": true,
- "operand": "job",
- "operator": "in",
- "value": [
- "mssql"
- ],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "db",
- "documentId": "db",
- "documentTimestamp": 1611574306514,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "db",
- "identity": false,
- "metricType": "tag",
- "name": "db",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "db",
- "isVariable": true,
- "operand": "db",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/mssql/include/sysdig-agent.yaml b/resources/mssql/include/sysdig-agent.yaml
deleted file mode 100644
index 3a0f41a6..00000000
--- a/resources/mssql/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: YourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/mssql/setup-guide.yaml b/resources/mssql/setup-guide.yaml
index 8e5661c9..f572ca6b 100644
--- a/resources/mssql/setup-guide.yaml
+++ b/resources/mssql/setup-guide.yaml
@@ -7,6 +7,4 @@ appVersion:
configurations:
- name: mssql-exporter-deployment.yaml
file: include/mssql-exporter-deployment.yaml
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
descriptionFile: INSTALL.md
diff --git a/resources/mysql/INSTALL.md b/resources/mysql/INSTALL.md
index 06965cb2..ec373f1e 100644
--- a/resources/mysql/INSTALL.md
+++ b/resources/mysql/INSTALL.md
@@ -45,8 +45,3 @@ ssl-cert=/lib/cert/client-cert.pem
To install the exporter, you can use the example files provided below.
Use `mysql-exporter.yaml` for basic authentication and `mysql-exporter-ssl.yaml` for ssl authentication.
-
-# Sysdig Agent configuration
-The default configuration of the Sysdig agent will detect the Prometheus annotated pod of the exporter and scrape it automatically.
-
-Also, in the `sysdig-agent-config.yaml` file you can find an example of the minimum configuration needed in the agent.
diff --git a/resources/mysql/README.md b/resources/mysql/README.md
index acad9c6c..bbb46a94 100644
--- a/resources/mysql/README.md
+++ b/resources/mysql/README.md
@@ -3,7 +3,7 @@
This integration uses the the [MySQL exporter](https://github.com/prometheus/mysqld_exporter) and supports the following versions:
- MySQL: >= 5.6
-- MaríaDB: >= 10.2
+- MariaDB: >= 10.2
It also support both on-prem databases and cloud managed services like AWS-RDS.
@@ -14,7 +14,7 @@ The exporter generates ~800 time series per instance.
For further information, see [the documentations of the exporter and its different collectors](https://github.com/prometheus/mysqld_exporter).
# Attributions
-The configuration files and Sysdig dashboard are maintained by [Sysdig team](https://sysdig.com/) under GPL3 license.
+The configuration files and dashboards are maintained by [Sysdig team](https://sysdig.com/) under GPL3 license.
Grafana dashboards are based on [Mysql exporter mixins](https://github.com/prometheus/mysqld_exporter) with Apache License 2.0.
diff --git a/resources/mysql/dashboards.yaml b/resources/mysql/dashboards.yaml
index 8d67f0fc..fd7f9e3f 100644
--- a/resources/mysql/dashboards.yaml
+++ b/resources/mysql/dashboards.yaml
@@ -5,32 +5,6 @@ version: 1.0.0
appVersion:
- '5.7to8.0'
configurations:
-- name: 'MySQL'
- kind: Sysdig
- image: 'mysql/images/dashboard-sysdig-mysql.png'
- description: |
- This dashboard offers information on:
- * % Servers Running
- * Min. Uptime
- * Connections Usage
- * Connection Errors by Type
- * Connection Error Rate
- * MySQL Aborted Connections
- * Slow Queries
- * MySQL InnoDB log writes stalling
- * Pool Hit Rate
- * Pool Utilization
- * Open Files Usage
- * Table Open Cache Hit Ratio
- * MySQL Sorts
- * MySQL Table Locks
- * MySQL Select Types
- * MySQL Questions
- * MySQL Thread Cache
- * Network Traffic
- * MySQL Internal Memory Overview
- * Top Command Counters
- file: include/dashboard-sysdig-mysql.json
- name: 'MySQL Mixins'
kind: Grafana
image: 'mysql/images/dashboard-grafana-mysql.png'
diff --git a/resources/mysql/images/dashboard-sysdig-mysql.png b/resources/mysql/images/dashboard-sysdig-mysql.png
deleted file mode 100644
index 23127a2e..00000000
Binary files a/resources/mysql/images/dashboard-sysdig-mysql.png and /dev/null differ
diff --git a/resources/mysql/include/dashboard-sysdig-mysql.json b/resources/mysql/include/dashboard-sysdig-mysql.json
deleted file mode 100644
index 1c404211..00000000
--- a/resources/mysql/include/dashboard-sysdig-mysql.json
+++ /dev/null
@@ -1,2063 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 1,
- "w": 12,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 2,
- "w": 12,
- "x": 12,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 12,
- "x": 12,
- "y": 11
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 12,
- "x": 12,
- "y": 5
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 24,
- "x": 0,
- "y": 2
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 12,
- "x": 0,
- "y": 5
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 11
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 24,
- "x": 0,
- "y": 17
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 8,
- "x": 0,
- "y": 21
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 8,
- "x": 0,
- "y": 27
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 8,
- "x": 8,
- "y": 21
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 8,
- "x": 8,
- "y": 27
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 12,
- "x": 12,
- "y": 33
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 8,
- "x": 16,
- "y": 21
- },
- {
- "h": 3,
- "panelId": 15,
- "w": 24,
- "x": 0,
- "y": 39
- },
- {
- "h": 6,
- "panelId": 16,
- "w": 8,
- "x": 16,
- "y": 42
- },
- {
- "h": 6,
- "panelId": 17,
- "w": 12,
- "x": 0,
- "y": 33
- },
- {
- "h": 6,
- "panelId": 18,
- "w": 8,
- "x": 8,
- "y": 42
- },
- {
- "h": 6,
- "panelId": 19,
- "w": 8,
- "x": 0,
- "y": 42
- },
- {
- "h": 6,
- "panelId": 20,
- "w": 8,
- "x": 16,
- "y": 27
- },
- {
- "h": 6,
- "panelId": 21,
- "w": 12,
- "x": 0,
- "y": 48
- },
- {
- "h": 6,
- "panelId": 22,
- "w": 12,
- "x": 12,
- "y": 48
- },
- {
- "h": 6,
- "panelId": 23,
- "w": 24,
- "x": 0,
- "y": 54
- }
- ],
- "name": "MySQL",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg(mysql_up{job =~ $job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "% Servers Running",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-1",
- "severity": "ok",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "min(mysql_global_status_uptime{job =~ $job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Min. Uptime",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "m",
- "severity": "ok",
- "value": 60.0
- },
- {
- "displayText": "",
- "inputFormat": "m",
- "severity": "medium",
- "value": 30.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Open connections] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg by (cluster,namespace,instance) (mysql_global_status_threads_connected{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) / avg by (cluster,namespace,instance) (mysql_global_variables_max_connections{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- },
- {
- "displayInfo": {
- "displayName": "[Running connections] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg by (cluster,namespace,instance) (mysql_global_status_threads_running{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) / avg by (cluster,namespace,instance) (mysql_global_variables_max_connections{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connections Usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[ERROR] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "[{{error}}] {{instance}} < {{namespace}} < {{cluster}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (instance,error,namespace,cluster) (rate(mysql_global_status_connection_errors_total{job=~$job}[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connection Errors by Type",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 5,
- "markdownSource": "# Connection errors\nIf there are connection errors in an instance, you can identify first the type of error in the first panel. \n\nIf the error is related to the number of **maximum connections reached**, you can inspect the second panel to evaluate the usage of connections. \n- \u261b Typically, the usage of open connections should be under 80% and the running connections under 60%\n\n\u26a0 Beware that **increasing the max number of connections will affect the number of open files** that the system keeps open. To see the usage of open files, consult the panel below. ",
- "name": "New Panel",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (instance,namespace,cluster) (rate(mysql_global_status_connection_errors_total{job=~$job}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) / avg by (instance,namespace,cluster) (mysql_global_status_threads_connected{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connection Error Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Aborted Connects (attempts)] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,instance) (rate(mysql_global_status_aborted_connects{job=~$job}[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- },
- {
- "displayInfo": {
- "displayName": "[Aborted Clients (timeout)] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,instance)(rate(mysql_global_status_aborted_clients{job=~$job}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "MySQL Aborted Connections",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 8,
- "markdownSource": "# Performance\nFor the correct tuning of the performance of the MySQL database, it is important to correctly adjust the cache to the use of the database. \n- \u261b **Degraded performance can be detected with the Slow Queries log**.\n\nTo increase the performance of the database, MySQL offers Cache. \n* A **high hit ratio will make queries faster** but increasing the pool size is not trivial. \n* Before **increasing the cache size to improve the cache hit ratio** , you need to take into account the available memory and open files. \n* Also, an **infra-utilized cache** can be a sign of oversized memory in the node. \n \n\u26a0 Beware that **increasing the table open cache will affect the number of open files** that the system keeps open. To see the usage of open files, consult the panel below. ",
- "name": "New Panel (2)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(mysql_global_status_slow_queries{job=~$job}[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Slow Queries",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(mysql_global_status_innodb_log_waits{job=~$job}[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "MySQL innodb log writes stalling",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "((rate(mysql_global_status_innodb_buffer_pool_read_requests{job=~$job}[$__interval]) - rate(mysql_global_status_innodb_buffer_pool_reads{job=~$job}[$__interval])) / rate(mysql_global_status_innodb_buffer_pool_read_requests{job=~$job}[$__interval])) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pool Hit Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,instance)(mysql_global_status_buffer_pool_pages{state=\"data\",job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) / sum by (cluster,namespace,instance)(mysql_global_status_buffer_pool_pages{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pool Utilization",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg by (cluster, namespace, instance) (mysql_global_variables_innodb_open_files{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) / avg by (cluster, namespace, instance)(mysql_global_variables_open_files_limit{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Open Files Usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(rate(mysql_global_status_table_open_cache_hits{job=~$job}[$__interval]) / (rate(mysql_global_status_table_open_cache_hits{job=~$job}[$__interval]) + rate(mysql_global_status_table_open_cache_misses{job=~$job}[$__interval]))) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Table Open Cache Hit Ratio",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 15,
- "markdownSource": "# Database Usage\nHere you will find information on: \n* How the database is using network traffic and the split-up of the usage of memory. This can help you evaluate the need to **increase network bandwidth or memory in your node**. \n* The kind of *select* and *sort* queries that may affect the response time of the database. The **high usage of non-optimized queries can cause high response time**. ",
- "name": "New Panel (3)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Sort Rows] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster, namespace, instance) (rate(mysql_global_status_sort_rows{job=~$job}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": "[Sort Range] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster, namespace, instance) (rate(mysql_global_status_sort_range{job=~$job}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": "[Sort Merge Passes] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster, namespace, instance) (rate(mysql_global_status_sort_merge_passes{job=~$job}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": "[Sort Scan] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster, namespace, instance) (rate(mysql_global_status_sort_scan{job=~$job}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "MySQL Sorts",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Table Locks Immediate] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster, namespace, instance) (rate(mysql_global_status_table_locks_immediate{job=~$job}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": "[Table Locks Waited] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster, namespace, instance) (rate(mysql_global_status_table_locks_waited{job=~$job}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "MySQL Table Locks",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Select Full Join] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster, namespace, instance) (rate(mysql_global_status_select_full_join{job=~$job}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": "[Select Full Range Join] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster, namespace, instance) (rate(mysql_global_status_select_full_range_join{job=~$job}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": "[Select Range] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster, namespace, instance) (rate(mysql_global_status_sort_merge_passes{job=~$job}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": "[Select Range Check] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster, namespace, instance) (rate(mysql_global_status_select_range_check{job=~$job}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": "[Select Scan] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster, namespace, instance) (rate(mysql_global_status_select_scan{job=~$job}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "MySQL Select Types",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(mysql_global_status_questions{job=~$job}[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "MySQL Questions",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Thread Cache Size] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster, namespace, instance) (mysql_global_variables_thread_cache_size{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": "[Threads Cached] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster, namespace, instance) (mysql_global_status_threads_cached{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": "[Threads Created] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "{{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster, namespace, instance) (rate(mysql_global_status_threads_created{job=~$job}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "MySQL Thread Cache",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Received] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "\u2798 {{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullZero",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,instance) (rate(mysql_global_status_bytes_received{job=~$job}[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- },
- {
- "displayInfo": {
- "displayName": "[Sent] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "\u279a {{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullZero",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,instance) (rate(mysql_global_status_bytes_sent{job=~$job}[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Network Traffic",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[InnoDB Buffer Pool Data] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "[InnoDB Buffer Pool Data] {{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullZero",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,instance) ((mysql_global_status_innodb_page_size{job=~$job} * on (instance, container_id) mysql_global_status_buffer_pool_pages{job=~$job, state=\"data\"}) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- },
- {
- "displayInfo": {
- "displayName": "[InnoDB Log Buffer Size] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "[InnoDB Log Buffer Size] {{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullZero",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,instance) (mysql_global_variables_innodb_log_buffer_size{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- },
- {
- "displayInfo": {
- "displayName": "[InnoDB Additional Memory Pool Size] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "[InnoDB Additional Memory Pool Size] {{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullZero",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,instance) (mysql_global_variables_innodb_additional_mem_pool_size{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- },
- {
- "displayInfo": {
- "displayName": "[InnoDB Dictionary Size] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "[InnoDB Dictionary Size] {{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullZero",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,instance) (mysql_global_status_innodb_mem_dictionary{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- },
- {
- "displayInfo": {
- "displayName": "[Key Buffer Size] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "[Key Buffer Size] {{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullZero",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,instance) (mysql_global_variables_key_buffer_size{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- },
- {
- "displayInfo": {
- "displayName": "[Query Cache Size] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "[Query Cache Size] {{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullZero",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,instance) (mysql_global_variables_query_cache_size{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- },
- {
- "displayInfo": {
- "displayName": "[Adaptive Hash Index Size] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "[Adaptive Hash Index Size] {{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullZero",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,instance) (mysql_global_status_innodb_mem_adaptive_hash{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- },
- {
- "displayInfo": {
- "displayName": "[TokuDB Cache Size] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "[TokuDB Cache Size] {{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullZero",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,instance) (mysql_global_variables_tokudb_cache_size{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- },
- {
- "displayInfo": {
- "displayName": "[TokuDB Cache Size] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "[TokuDB Cache Size] {{instance}} < {{namespace}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullZero",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,namespace,instance) (mysql_global_variables_tokudb_cache_size{job=~$job} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "MySQL Internal Memory Overview",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Command] Instance < ns < cluster",
- "timeSeriesDisplayNameTemplate": "[{{command}}] {{instance}} < {{namespace}} < {{cluster}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(10, rate(mysql_global_status_commands_total{job=~$job}[$__interval])>0)* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Top Command Counters",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1612518187446,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1612518187446,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1612517888835,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1612517888835,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1612518187446,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1612518187446,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1612517888835,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1612517888835,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "job",
- "documentId": "job",
- "documentTimestamp": 1612518187456,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "job",
- "identity": false,
- "metricType": "tag",
- "name": "job",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "job",
- "isVariable": true,
- "operand": "job",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/mysql/include/sysdig-agent-config.yaml b/resources/mysql/include/sysdig-agent-config.yaml
deleted file mode 100644
index 3a0f41a6..00000000
--- a/resources/mysql/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: YourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/mysql/setup-guide.yaml b/resources/mysql/setup-guide.yaml
index 433731f6..adb0099e 100644
--- a/resources/mysql/setup-guide.yaml
+++ b/resources/mysql/setup-guide.yaml
@@ -9,6 +9,4 @@ configurations:
file: include/mysql-exporter.yaml
- name: mysql-exporter-ssl.yaml
file: include/mysql-exporter-ssl.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
descriptionFile: INSTALL.md
diff --git a/resources/nginx-ingress/INSTALL.md b/resources/nginx-ingress/INSTALL.md
index 3d621169..e8551e37 100644
--- a/resources/nginx-ingress/INSTALL.md
+++ b/resources/nginx-ingress/INSTALL.md
@@ -12,27 +12,3 @@ controller:
prometheus.io/port: "10254"
prometheus.io/scrape: "true"
```
-
-# Sysdig Agent configuration
-For the Sysdig Agent to discover and scrape the ngnix ingress controller automatically, enable the `use_promscrape` option in the agent configuration.
-
-```yaml
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: YourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
-```
-An example of the Sysdig Agent configuration file is given below.
diff --git a/resources/nginx-ingress/dashboards.yaml b/resources/nginx-ingress/dashboards.yaml
index de47ef35..f1501c38 100644
--- a/resources/nginx-ingress/dashboards.yaml
+++ b/resources/nginx-ingress/dashboards.yaml
@@ -5,19 +5,6 @@ version: 1.0.0
appVersion:
- '2.7.0'
configurations:
-- name: Nginx App Overview
- kind: Sysdig
- image: nginx-ingress/images/nginx-sysdig-ingress-overview.png
- description: |
- This dashboard offers information on:
- - requests
- - nginx_process_connections
- - request_size_sum
- - response_size_sum
- - nginx_process_resident_memory_bytes
- - nginx_process_cpu_seconds_total
- - ssl_expire_time_seconds
- file: include/dashboard-Sysdig-Nginx-Ingress-Controller.json
- name: Nginx App Overview
kind: Grafana
image: nginx-ingress/images/nginx-grafana-ingress-overview.png
diff --git a/resources/nginx-ingress/images/nginx-sysdig-ingress-overview.png b/resources/nginx-ingress/images/nginx-sysdig-ingress-overview.png
deleted file mode 100644
index d7f5880d..00000000
Binary files a/resources/nginx-ingress/images/nginx-sysdig-ingress-overview.png and /dev/null differ
diff --git a/resources/nginx-ingress/include/dashboard-Sysdig-Nginx-Ingress-Controller.json b/resources/nginx-ingress/include/dashboard-Sysdig-Nginx-Ingress-Controller.json
deleted file mode 100644
index b41aa087..00000000
--- a/resources/nginx-ingress/include/dashboard-Sysdig-Nginx-Ingress-Controller.json
+++ /dev/null
@@ -1,1088 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 5,
- "panelId": 1,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 2,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 3,
- "w": 6,
- "x": 12,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 4,
- "w": 6,
- "x": 18,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 5,
- "w": 12,
- "x": 0,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 6,
- "w": 12,
- "x": 12,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 8,
- "x": 0,
- "y": 10
- },
- {
- "h": 5,
- "panelId": 8,
- "w": 8,
- "x": 8,
- "y": 10
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 8,
- "x": 16,
- "y": 10
- },
- {
- "h": 7,
- "panelId": 10,
- "w": 24,
- "x": 0,
- "y": 15
- }
- ],
- "name": "Nginx Kubernetes ingress controller",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request per second",
- "timeSeriesDisplayNameTemplate": "{{controller_class}}<{{controller_namespace}}<{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "round(sum by (cluster,controller_namespace,controller_pod,controller_class)(irate(nginx_ingress_controller_requests{controller_pod=~$controller_pod,controller_class=~$controller_class,controller_namespace=~$namespace}[$__interval])* on (container_id,host_mac) group_left(cluster) sysdig_container_info{cluster=~$cluster}), 0.001)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Controller Request Volume",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Number of connections",
- "timeSeriesDisplayNameTemplate": "{{controller_class}}<{{controller_namespace}}<{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(cluster,controller_namespace,controller_pod,controller_class)(avg_over_time(nginx_ingress_controller_nginx_process_connections{controller_pod=~$controller_pod,controller_class=~$controller_class,controller_namespace=~$namespace}[$__interval])* on (container_id,host_mac) group_left(cluster) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Controller Connections",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Non 4xx/5xx requests",
- "timeSeriesDisplayNameTemplate": "{{controller_namespace}}<{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,controller_namespace,controller_controller,controller_pod)(rate(nginx_ingress_controller_requests{status!~\"[4-5].*\",controller_pod=~$controller_pod,controller_class=~$controller_class,controller_namespace=~$namespace}[$__interval])* on (container_id,host_mac) group_left(cluster) sysdig_container_info{cluster=~$cluster}) / sum by (cluster,controller_namespace,controller_controller,controller_pod)(rate(nginx_ingress_controller_requests{controller_pod=~$controller_pod,controller_class=~$controller_class,controller_namespace=~$namespace}[$__interval])* on (container_id,host_mac) group_left(cluster) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Controller Success Rate (non-4|5xx responses)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "nginx_ingress_controller_success",
- "documentTimestamp": 1608060571765,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "nginx_ingress_controller_success",
- "identity": false,
- "metricType": "counter",
- "name": "nginx_ingress_controller_success",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "timeAvg",
- "sum"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "nginx_ingress_controller_success",
- "sorting": null,
- "timeAggregation": "sum"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- }
- }
- ],
- "description": "",
- "id": 4,
- "name": "Config Reloads",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "useDefaults": null,
- "values": []
- },
- "type": "basicNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request volumen by Ingress",
- "timeSeriesDisplayNameTemplate": "{{ingress}}<{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "round(sum(irate(nginx_ingress_controller_requests{ingress!=\"\",controller_pod=~$controller_pod,controller_class=~$controller_class,controller_namespace=~$namespace}[$__interval])* on (container_id,host_mac) group_left(cluster) sysdig_container_info{cluster=~$cluster}) by (ingress,cluster), 0.001)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Ingress Request Volume",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Controller request by Ingress",
- "timeSeriesDisplayNameTemplate": "{{ingress}}<{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum(rate(nginx_ingress_controller_requests{status!~\"[4-5].*\",controller_pod=~$controller_pod,controller_class=~$controller_class,controller_namespace=~$namespace}[$__interval])* on (container_id,host_mac) group_left(cluster) sysdig_container_info{cluster=~$cluster}) by (ingress,cluster)/ sum(rate(nginx_ingress_controller_requests{controller_pod=~$controller_pod,controller_class=~$controller_class,controller_namespace=~$namespace}[$__interval])* on (container_id,host_mac) group_left(cluster) sysdig_container_info{cluster=~$cluster}) by (ingress,cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Ingress Success Rate (non-4|5xx responses)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Received",
- "timeSeriesDisplayNameTemplate": "{{controller_class}}<{{controller_namespace}}<{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by(cluster,controller_namespace,controller_class,controller_pod) (irate (nginx_ingress_controller_request_size_sum{controller_pod=~$controller_pod,controller_class=~$controller_class,controller_namespace=~$namespace}[$__interval])* on (container_id,host_mac) group_left(cluster) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "Sent",
- "timeSeriesDisplayNameTemplate": "{{controller_class}}<{{controller_namespace}}<{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by(cluster,controller_namespace,controller_class,controller_pod) (irate (nginx_ingress_controller_response_size_sum{controller_pod=~$controller_pod,controller_class=~$controller_class,controller_namespace=~$namespace}[$__interval])* on (container_id,host_mac) group_left(cluster) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Network I/O pressure",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "nginx memory",
- "timeSeriesDisplayNameTemplate": "{{controller_class}}<{{controller_namespace}}<{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "avg by (controller_class,controller_namespace,cluster)(nginx_ingress_controller_nginx_process_resident_memory_bytes{controller_pod=~$controller_pod,controller_class=~$controller_class,controller_namespace=~$namespace}* on (container_id,host_mac) group_left(cluster) sysdig_container_info{cluster=~$cluster}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Average Memory Usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Nginx cpu cores usage",
- "timeSeriesDisplayNameTemplate": "{{controller_class}}<{{controller_namespace}}<{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (controller_class,controller_namespace,cluster) (rate (nginx_ingress_controller_nginx_process_cpu_seconds_total{controller_pod=~$controller_pod,controller_class=~$controller_class,controller_namespace=~$namespace}[$__interval])* on (container_id,host_mac) group_left(cluster) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Average CPU Usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{host}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "d",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "avg(nginx_ingress_controller_ssl_expire_time_seconds* on (container_id,host_mac) group_left(cluster) sysdig_container_info{cluster=~$cluster}) by (host) - time()"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Ingress Certificate Expiry",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1608060571749,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1608060571749,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1608058089485,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1608058089485,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "controller_namespace",
- "documentId": "controller_namespace",
- "documentTimestamp": 1608060571765,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "controller_namespace",
- "identity": false,
- "metricType": "tag",
- "name": "controller_namespace",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "controller_namespace",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "controller_class",
- "documentId": "controller_class",
- "documentTimestamp": 1608060571765,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "controller_class",
- "identity": false,
- "metricType": "tag",
- "name": "controller_class",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "controller_class",
- "isVariable": true,
- "operand": "controller_class",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "controller_pod",
- "documentId": "controller_pod",
- "documentTimestamp": 1608060571765,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "controller_pod",
- "identity": false,
- "metricType": "tag",
- "name": "controller_pod",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "controller_pod",
- "isVariable": true,
- "operand": "controller_pod",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/nginx-ingress/include/sysdig-agent.yaml b/resources/nginx-ingress/include/sysdig-agent.yaml
deleted file mode 100644
index a6487bc9..00000000
--- a/resources/nginx-ingress/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,54 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: nginx-ingress-default
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
- regex: true
- - action: keep
- source_labels:
- - __meta_kubernetes_pod_container_name
- regex: 'controller'
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: YourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/nginx-ingress/setup-guide.yaml b/resources/nginx-ingress/setup-guide.yaml
index 3396738e..54f1b1f3 100644
--- a/resources/nginx-ingress/setup-guide.yaml
+++ b/resources/nginx-ingress/setup-guide.yaml
@@ -5,6 +5,4 @@ version: 1.0.0
appVersion:
- '2.7.0'
descriptionFile: INSTALL.md
-configurations:
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent.yaml
+configurations: []
diff --git a/resources/nginx/INSTALL.md b/resources/nginx/INSTALL.md
index ed51c2ca..64be7442 100644
--- a/resources/nginx/INSTALL.md
+++ b/resources/nginx/INSTALL.md
@@ -28,9 +28,6 @@ spec:
template:
metadata:
annotations:
- promcat.sysdig.com/integration_type: nginx
- promcat.sysdig.com/port: "9113"
+ prometheus.io/scrape: "true"
+ prometheus.io/port: "9222"
```
-
-# Sysdig Agent configuration
-Below you can find the configuration for the sysdig agent.
\ No newline at end of file
diff --git a/resources/nginx/dashboards.yaml b/resources/nginx/dashboards.yaml
index 107a5845..d08bc938 100644
--- a/resources/nginx/dashboards.yaml
+++ b/resources/nginx/dashboards.yaml
@@ -5,18 +5,6 @@ version: 1.0.0
appVersion:
- '1.17'
configurations:
-- name: Nginx App Overview
- kind: Sysdig
- image: nginx/images/nginx-sysdig-app-overview.png
- description: |
- This dashboard offers information on:
- * Instances Up
- * HTTP Request per instance
- * Waiting connections per instance
- * Not Handled connections per instance
- * Active, reading and writing connections
- * Accepted and handled connections
- file: include/dashboard-Sysdig-Nginx-App-Overview-1.17.json
- name: Nginx App Overview
kind: Grafana
image: nginx/images/nginx-grafana-app-overview.png
diff --git a/resources/nginx/images/nginx-sysdig-app-overview.png b/resources/nginx/images/nginx-sysdig-app-overview.png
deleted file mode 100644
index 7c44cbdc..00000000
Binary files a/resources/nginx/images/nginx-sysdig-app-overview.png and /dev/null differ
diff --git a/resources/nginx/include/configuration.yaml b/resources/nginx/include/configuration.yaml
index 56121773..64d1b54e 100644
--- a/resources/nginx/include/configuration.yaml
+++ b/resources/nginx/include/configuration.yaml
@@ -12,8 +12,8 @@ spec:
labels:
app: nginx-A
annotations:
- promcat.sysdig.com/integration_type: nginx
- promcat.sysdig.com/port: "9113"
+ prometheus.io/scrape: "true"
+ prometheus.io/port: "9113"
spec:
containers:
- name: nginx
diff --git a/resources/nginx/include/dashboard-Sysdig-Nginx-App-Overview-1.17.json b/resources/nginx/include/dashboard-Sysdig-Nginx-App-Overview-1.17.json
deleted file mode 100644
index c5840171..00000000
--- a/resources/nginx/include/dashboard-Sysdig-Nginx-App-Overview-1.17.json
+++ /dev/null
@@ -1,758 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 1,
- "w": 12,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 2,
- "w": 12,
- "x": 12,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 12,
- "x": 0,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 12,
- "x": 12,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 12,
- "x": 0,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 12,
- "x": 12,
- "y": 12
- }
- ],
- "name": "NGINX App Overview",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Instances",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum((nginx_up{} * on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet} or vector(0))\n"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Instances Up",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Container - ReplicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "{{container_id}} - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(nginx_http_requests_total{}[$__interval])\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "HTTP Request per instance",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Container - ReplicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "{{container_id}} - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(nginx_connections_waiting{} * on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}\n\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Waiting connections per instance",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Container - ReplicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "{{container_id}} - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(((rate(nginx_connections_accepted{}[$__interval])) - (rate(nginx_connections_handled{}[$__interval])))\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Not Handled connections per instance",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Active: ReplicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "Active: {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,owner_name)((nginx_connections_active{} * on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- },
- {
- "displayInfo": {
- "displayName": " Reading: ReplicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "Reading: {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,owner_name)((nginx_connections_reading{} * on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})\n"
- },
- {
- "displayInfo": {
- "displayName": " Writing: ReplicaSet - Cluster",
- "timeSeriesDisplayNameTemplate": "Writing: {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,owner_name)((nginx_connections_writing{} * on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Active, reading and writing connections",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Accepted: ReplicaSet - Cluster ",
- "timeSeriesDisplayNameTemplate": "Accepted: {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,owner_name)((rate(nginx_connections_accepted{}[$__interval])* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})\n"
- },
- {
- "displayInfo": {
- "displayName": " Handled: ReplicaSet - Cluster ",
- "timeSeriesDisplayNameTemplate": "Handled: {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (cluster,owner_name)((rate(nginx_connections_handled{}[$__interval])* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Accepted and handled connections",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593761167568,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1593761167568,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593759013409,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1593759013409,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593761167568,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1593761167568,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593760937408,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1593760937408,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593761167568,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-9123524798813735958",
- "documentTimestamp": 1593761167568,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.replicaSet.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593761025080,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.replicaSet"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.replicaSet.name",
- "identity": false,
- "lastSeen": 1593761025080,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.replicaSet"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "replicaSet",
- "isVariable": true,
- "operand": "kubernetes.replicaSet.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/nginx/include/sysdig-agent-config.yaml b/resources/nginx/include/sysdig-agent-config.yaml
deleted file mode 100644
index 2072fbbf..00000000
--- a/resources/nginx/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,51 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: nginx-default
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: "nginx"
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_promcat_sysdig_com_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: YourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/nginx/setup-guide.yaml b/resources/nginx/setup-guide.yaml
index 9f0cee51..a551ec00 100644
--- a/resources/nginx/setup-guide.yaml
+++ b/resources/nginx/setup-guide.yaml
@@ -8,5 +8,3 @@ descriptionFile: INSTALL.md
configurations:
- name: configuration.yaml
file: include/configuration.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
diff --git a/resources/ntp/INSTALL.md b/resources/ntp/INSTALL.md
index 1261adb2..1a95957d 100644
--- a/resources/ntp/INSTALL.md
+++ b/resources/ntp/INSTALL.md
@@ -2,7 +2,7 @@
To install the [NTP exporter](https://github.com/sapcc/ntp_exporter) below there is an example of a deployment:
-En the args, just replace the server for the one you are using
+In the args, just replace the server for the one you are using
```
args: [
diff --git a/resources/ntp/dashboards.yaml b/resources/ntp/dashboards.yaml
index 0656ce19..5fa70f43 100644
--- a/resources/ntp/dashboards.yaml
+++ b/resources/ntp/dashboards.yaml
@@ -4,11 +4,4 @@ app: 'NTP'
version: 1.0.0
appVersion:
- '4'
-configurations:
-- name: 'Instance Health'
- kind: Sysdig
- image: 'ntp/images/ntp.png'
- description: |
- This dashboard offers information on:
- * Drift per node
- file: include/ntp.json
+configurations: []
diff --git a/resources/ntp/images/ntp.png b/resources/ntp/images/ntp.png
deleted file mode 100644
index 3a74484b..00000000
Binary files a/resources/ntp/images/ntp.png and /dev/null differ
diff --git a/resources/ntp/include/ntp-deploy.yaml b/resources/ntp/include/ntp-deploy.yaml
index bc0b099f..5bad7a65 100644
--- a/resources/ntp/include/ntp-deploy.yaml
+++ b/resources/ntp/include/ntp-deploy.yaml
@@ -12,6 +12,9 @@ spec:
metadata:
labels:
k8s-app: ntp-exporter
+ annotations:
+ prometheus.io/scrape: "true"
+ prometheus.io/port: "9559"
spec:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
diff --git a/resources/ntp/include/ntp.json b/resources/ntp/include/ntp.json
deleted file mode 100644
index 27333753..00000000
--- a/resources/ntp/include/ntp.json
+++ /dev/null
@@ -1,555 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 7,
- "panelId": 2,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 11,
- "panelId": 1,
- "w": 24,
- "x": 0,
- "y": 7
- }
- ],
- "name": "NTP",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Node < NTP server",
- "timeSeriesDisplayNameTemplate": "{{kube_node_name}} > {{server}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "ntp_drift_seconds{_sysdig_datasource=\"agent\",kube_cluster_name=~$cluster,kube_node_name=~$node}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "NTP drift",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "displayedValue": null,
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "description": "",
- "documentId": "prometheus.ntp_drift_seconds",
- "documentTimestamp": 1652364230019,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "ntp_drift_seconds",
- "identity": false,
- "lastSeen": 1652357943000,
- "legacyId": "ntp_drift_seconds",
- "metricType": "gauge",
- "name": "ntp_drift_seconds",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "publicId": "ntp_drift_seconds",
- "scale": 1000000000.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "relativeTime"
- },
- "groupAggregation": "avg",
- "id": "ntp_drift_seconds",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kube_cluster_name",
- "documentId": "kube_cluster_name",
- "documentTimestamp": 1652364230019,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_cluster_name",
- "identity": false,
- "metricType": "tag",
- "name": "kube_cluster_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "id": "kube_cluster_name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kube_node_name",
- "documentId": "kube_node_name",
- "documentTimestamp": 1652364230019,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_node_name",
- "identity": false,
- "metricType": "tag",
- "name": "kube_node_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_node_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "node",
- "id": "kube_node_name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "server",
- "documentId": "server",
- "documentTimestamp": 1652364230019,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "server",
- "identity": false,
- "metricType": "tag",
- "name": "server",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "server",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "server",
- "id": "server",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 2,
- "name": "New Panel",
- "nullValueDisplayText": null,
- "type": "basicTable"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kube_cluster_name",
- "documentId": "kube_cluster_name",
- "documentTimestamp": 1652364230019,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_cluster_name",
- "identity": false,
- "metricType": "tag",
- "name": "kube_cluster_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kube_cluster_name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kube_node_name",
- "documentId": "kube_node_name",
- "documentTimestamp": 1652364230019,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kube_node_name",
- "identity": false,
- "metricType": "tag",
- "name": "kube_node_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_node_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "node",
- "isVariable": true,
- "operand": "kube_node_name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/opa/INSTALL.md b/resources/opa/INSTALL.md
index 70174198..cda1a525 100644
--- a/resources/opa/INSTALL.md
+++ b/resources/opa/INSTALL.md
@@ -9,6 +9,3 @@ kubectl -n gatekeeper-system patch deploy gatekeeper-controller-manager -p '{"sp
kubectl -n gatekeeper-system patch deploy gatekeeper-audit -p '{"spec":{"template":{"metadata":{"annotations":{"prometheus.io/scrape": "true", "prometheus.io/port": "8888"}}}}}'
```
-# Sysdig Agent configuration
-
-If you have configured your Prometheus server or your [Sysdig agent for Prometheus metric collection](https://docs.sysdig.com/en/integrate-prometheus-metrics.html), you should be already ingesting your Gatekeeper metrics.
diff --git a/resources/opa/dashboards.yaml b/resources/opa/dashboards.yaml
index 027fcec0..464b0401 100644
--- a/resources/opa/dashboards.yaml
+++ b/resources/opa/dashboards.yaml
@@ -5,21 +5,6 @@ version: 1.0.0
appVersion:
- 0.20.4
configurations:
-- name: OPA Gatekeeper
- kind: Sysdig
- image: opa/images/opa-sysdig.png
- description: |
- This dashboard offers information on:
- * Time since last audit
- * Requests rate routed to webhook
- * Latency of Gatekeeper per action
- * Violations rate per constraint
- * Current number of known constraints
- * Observed constraint templates rate
- * Latency of audit operation
- * Constraint template ingestion actions rate
- * Latency of constraint template ingestion
- file: include/dashboard-Sysdig-OPA-Gatekeeper-0.20.4.json
- name: OPA Gatekeeper
kind: Grafana
image: opa/images/opa-grafana.png
diff --git a/resources/opa/images/opa-sysdig.png b/resources/opa/images/opa-sysdig.png
deleted file mode 100644
index 81ff6c7d..00000000
Binary files a/resources/opa/images/opa-sysdig.png and /dev/null differ
diff --git a/resources/opa/include/dashboard-Sysdig-OPA-Gatekeeper-0.20.4.json b/resources/opa/include/dashboard-Sysdig-OPA-Gatekeeper-0.20.4.json
deleted file mode 100644
index c9fd8b14..00000000
--- a/resources/opa/include/dashboard-Sysdig-OPA-Gatekeeper-0.20.4.json
+++ /dev/null
@@ -1,719 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "layout": [
- {
- "h": 2,
- "panelId": 1,
- "w": 4,
- "x": 12,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 2,
- "w": 12,
- "x": 0,
- "y": 15
- },
- {
- "h": 4,
- "panelId": 3,
- "w": 12,
- "x": 0,
- "y": 11
- },
- {
- "h": 4,
- "panelId": 4,
- "w": 12,
- "x": 12,
- "y": 7
- },
- {
- "h": 4,
- "panelId": 5,
- "w": 12,
- "x": 0,
- "y": 3
- },
- {
- "h": 4,
- "panelId": 6,
- "w": 12,
- "x": 0,
- "y": 7
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 12,
- "x": 12,
- "y": 11
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 15
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 12,
- "x": 12,
- "y": 2
- },
- {
- "h": 3,
- "panelId": 10,
- "w": 3,
- "x": 0,
- "y": 0
- }
- ],
- "name": "OPA Gatekeeper",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "time()-gatekeeper_audit_last_run_time"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Time since last audit",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{status}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "irate(gatekeeper_constraint_template_ingestion_count[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Constraint template ingestion actions rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{status}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "irate(gatekeeper_constraint_templates[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Observed constraint templates rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{enforcement_action}} > {{status}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "gatekeeper_constraints"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Current number of known constraints",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{admission_status}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "irate(gatekeeper_request_count[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Requests rate routed to webhook",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{enforcement_action}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "irate(gatekeeper_violations[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Violations rate per constraint",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "p99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, rate(gatekeeper_audit_duration_seconds_bucket[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "p90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, rate(gatekeeper_audit_duration_seconds_bucket[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "p50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "s",
- "inputFormat": "ns",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, rate(gatekeeper_audit_duration_seconds_bucket[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Latency of audit operation",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "p99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, rate(gatekeeper_constraint_template_ingestion_duration_seconds_bucket[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "p90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, rate(gatekeeper_constraint_template_ingestion_duration_seconds_bucket[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "p50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "s",
- "inputFormat": "ns",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, rate(gatekeeper_constraint_template_ingestion_duration_seconds_bucket[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Latency of constraint template ingestion",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{admission_status}} p99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, rate(gatekeeper_request_duration_seconds_bucket[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{admission_status}} p90",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.90, rate(gatekeeper_request_duration_seconds_bucket[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{admission_status}} p50",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "s",
- "inputFormat": "ns",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, rate(gatekeeper_request_duration_seconds_bucket[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "layout": "table",
- "position": "right",
- "showCurrent": true
- },
- "name": "Latency of Gatekeeper per action",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "up{kubernetes_service_name='gatekeeper-webhook-service'}"
- }
- ],
- "description": "",
- "id": 10,
- "name": "Gatekeeper",
- "numberThresholds": {
- "base": {
- "displayText": "Down",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "Up",
- "inputFormat": "1",
- "severity": "ok",
- "value": 0.1
- }
- ]
- },
- "type": "advancedNumber"
- }
- ],
- "schema": 3,
- "scopeExpressionList": []
- }
-}
diff --git a/resources/opa/include/sysdig-agent.yaml b/resources/opa/include/sysdig-agent.yaml
deleted file mode 100644
index 3a0f41a6..00000000
--- a/resources/opa/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: YourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/opa/setup-guide.yaml b/resources/opa/setup-guide.yaml
index a183634d..5bc1a48a 100644
--- a/resources/opa/setup-guide.yaml
+++ b/resources/opa/setup-guide.yaml
@@ -5,8 +5,6 @@ version: 1.0.0
appVersion:
- 0.20.4
configurations:
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
- name: configuration.yaml
file: include/configuration.yaml
descriptionFile: INSTALL.md
diff --git a/resources/openshift-haproxy-router/dashboards.yaml b/resources/openshift-haproxy-router/dashboards.yaml
index 69451a44..03911644 100644
--- a/resources/openshift-haproxy-router/dashboards.yaml
+++ b/resources/openshift-haproxy-router/dashboards.yaml
@@ -6,47 +6,6 @@ appVersion:
- "3.11"
- "4.7"
configurations:
-- name: 'HAProxy OC Ingress Overview'
- kind: Sysdig
- image: 'openshift-haproxy-router/images/HAProxy_OC_Ingress_Overview-sysdig-dashboard-v4.7.png'
- description: |
- This dashboard offers information on:
- * Up Time
- * Instances
- * Backends OK
- * Response Errors rate
- * Down Time
- * Connections error rate
- * Failed health checks
- * Current Queue
- * Avg Response Latency
- * Frontend sessions rate
- * CPU
- * Virtual Memory
- * Virtual Memory
- * Max open File Descriptors
- * Frontend Bytes In
- * Frontend Connections
- * Frontend Bytes Out
- * Frontend HTTP Requests
- file: include/HAProxy_OC_Ingress_Overview-sysdig-dashboard-v4.7.json
-- name: 'HAProxy OC Service Golden Signals'
- kind: Sysdig
- image: 'openshift-haproxy-router/images/HAProxy_OC_Service_Golden_Signals-sysdig-dashboard-v4.7.png'
- description: |
- This dashboard offers information on:
- * Servers
- * HTTP Error rate
- * Check Failures
- * Downtime By Pod
- * Connection Errors by Pod
- * Average response latency
- * Queue
- * Connections
- * Responses OK
- * Bytes Inbound
- * Bytes Outbound
- file: include/HAProxy_OC_Service_Golden_Signals-sysdig-dashboard-v4.7.json
- name: 'HAProxy OC Ingress Overview'
kind: Grafana
image: 'openshift-haproxy-router/images/HAProxy_OC_Ingress_Overview-grafana-dashboard.png'
diff --git a/resources/openshift-haproxy-router/images/HAProxy_OC_Ingress_Overview-sysdig-dashboard-v4.7.png b/resources/openshift-haproxy-router/images/HAProxy_OC_Ingress_Overview-sysdig-dashboard-v4.7.png
deleted file mode 100644
index 37fb7f3d..00000000
Binary files a/resources/openshift-haproxy-router/images/HAProxy_OC_Ingress_Overview-sysdig-dashboard-v4.7.png and /dev/null differ
diff --git a/resources/openshift-haproxy-router/images/HAProxy_OC_Service_Golden_Signals-sysdig-dashboard-v4.7.png b/resources/openshift-haproxy-router/images/HAProxy_OC_Service_Golden_Signals-sysdig-dashboard-v4.7.png
deleted file mode 100644
index a27cc3da..00000000
Binary files a/resources/openshift-haproxy-router/images/HAProxy_OC_Service_Golden_Signals-sysdig-dashboard-v4.7.png and /dev/null differ
diff --git a/resources/openshift-haproxy-router/include/HAProxy_OC_Ingress_Overview-sysdig-dashboard-v4.7.json b/resources/openshift-haproxy-router/include/HAProxy_OC_Ingress_Overview-sysdig-dashboard-v4.7.json
deleted file mode 100644
index a8b5d142..00000000
--- a/resources/openshift-haproxy-router/include/HAProxy_OC_Ingress_Overview-sysdig-dashboard-v4.7.json
+++ /dev/null
@@ -1,2130 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 1,
- "w": 12,
- "x": 12,
- "y": 7
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 6,
- "x": 0,
- "y": 1
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 6,
- "x": 0,
- "y": 4
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 24,
- "x": 0,
- "y": 20
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 12,
- "x": 0,
- "y": 27
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 33
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 12,
- "x": 0,
- "y": 7
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 12,
- "x": 12,
- "y": 14
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 12,
- "x": 12,
- "y": 33
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 12,
- "x": 12,
- "y": 27
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 24,
- "x": 0,
- "y": 52
- },
- {
- "h": 6,
- "panelId": 15,
- "w": 12,
- "x": 0,
- "y": 40
- },
- {
- "h": 6,
- "panelId": 16,
- "w": 12,
- "x": 0,
- "y": 46
- },
- {
- "h": 6,
- "panelId": 17,
- "w": 12,
- "x": 12,
- "y": 40
- },
- {
- "h": 6,
- "panelId": 18,
- "w": 12,
- "x": 12,
- "y": 46
- },
- {
- "h": 6,
- "panelId": 19,
- "w": 9,
- "x": 15,
- "y": 1
- },
- {
- "h": 6,
- "panelId": 20,
- "w": 9,
- "x": 6,
- "y": 1
- },
- {
- "h": 6,
- "panelId": 21,
- "w": 12,
- "x": 0,
- "y": 14
- },
- {
- "h": 1,
- "panelId": 22,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 1,
- "panelId": 23,
- "w": 24,
- "x": 0,
- "y": 13
- },
- {
- "h": 1,
- "panelId": 24,
- "w": 24,
- "x": 0,
- "y": 26
- },
- {
- "h": 1,
- "panelId": 25,
- "w": 24,
- "x": 0,
- "y": 39
- }
- ],
- "name": "OpenShift HAProxy Ingress Overview",
- "panels": [
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "(min(time() - haproxy_process_start_time_seconds{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})) "
- }
- ],
- "description": "",
- "id": 2,
- "name": "Min UpTime",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "s",
- "severity": "ok",
- "value": 3600.0
- },
- {
- "displayText": "",
- "inputFormat": "s",
- "severity": "medium",
- "value": 300.0
- },
- {
- "displayText": "",
- "inputFormat": "s",
- "severity": "high",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(haproxy_process_start_time_seconds{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Instances",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- },
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "high",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "displayedValue": null,
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "description": "",
- "documentId": "prometheus.haproxy_backend_up",
- "documentTimestamp": 1657549748020,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_backend_up",
- "identity": false,
- "lastSeen": 1657544526000,
- "legacyId": "haproxy_backend_up",
- "metricType": "gauge",
- "name": "haproxy_backend_up",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "publicId": "haproxy_backend_up",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "haproxy_backend_up",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1657549748020,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Cluster",
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1657549748020,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Namespace",
- "id": "kubernetes.namespace.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.workload.name",
- "documentId": "kubernetes.workload.name",
- "documentTimestamp": 1657549748020,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.workload.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_workload_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Workload",
- "id": "kubernetes.workload.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "route",
- "documentId": "route",
- "documentTimestamp": 1657549748020,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "route",
- "identity": false,
- "metricType": "tag",
- "name": "route",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "route",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "route",
- "sorting": null
- }
- ],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "HTTP response Latency",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "displayedValue": null,
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "description": "",
- "documentId": "prometheus.haproxy_backend_http_average_response_latency_milliseconds",
- "documentTimestamp": 1657549748020,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_backend_http_average_response_latency_milliseconds",
- "identity": false,
- "lastSeen": 1657544526000,
- "legacyId": "haproxy_backend_http_average_response_latency_milliseconds",
- "metricType": "gauge",
- "name": "haproxy_backend_http_average_response_latency_milliseconds",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "publicId": "haproxy_backend_http_average_response_latency_milliseconds",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "haproxy_backend_http_average_response_latency_milliseconds",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "HTTP Connect latency",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "displayedValue": null,
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "description": "",
- "documentId": "prometheus.haproxy_backend_http_average_connect_latency_milliseconds",
- "documentTimestamp": 1657549748021,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_backend_http_average_connect_latency_milliseconds",
- "identity": false,
- "lastSeen": 1657544526000,
- "legacyId": "haproxy_backend_http_average_connect_latency_milliseconds",
- "metricType": "gauge",
- "name": "haproxy_backend_http_average_connect_latency_milliseconds",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "publicId": "haproxy_backend_http_average_connect_latency_milliseconds",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "haproxy_backend_http_average_connect_latency_milliseconds",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "HTTP queue latency",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "displayedValue": null,
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "description": "",
- "documentId": "prometheus.haproxy_backend_http_average_queue_latency_milliseconds",
- "documentTimestamp": 1657549748021,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_backend_http_average_queue_latency_milliseconds",
- "identity": false,
- "lastSeen": 1657544526000,
- "legacyId": "haproxy_backend_http_average_queue_latency_milliseconds",
- "metricType": "gauge",
- "name": "haproxy_backend_http_average_queue_latency_milliseconds",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "publicId": "haproxy_backend_http_average_queue_latency_milliseconds",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "haproxy_backend_http_average_queue_latency_milliseconds",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 7,
- "name": "Backends Latency",
- "nullValueDisplayText": null,
- "type": "basicTable"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Cluster < Namespace < Workload < Pod",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}} < {{kube_namespace_name}} < {{kube_workload_name}} < {{kube_pod_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "haproxy_process_resident_memory_bytes{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Resident memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Cluster < Namespace < Workload < Pod",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}} < {{kube_namespace_name}} < {{kube_workload_name}} < {{kube_pod_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "haproxy_process_max_fds{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Max open File Descriptors",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Cluster < Namespace < Workload < Pod",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}} < {{kube_namespace_name}} < {{kube_workload_name}} < {{kube_pod_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rate(haproxy_process_cpu_seconds_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Cluster < Namespace < Workload < Pod",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}} < {{kube_namespace_name}} < {{kube_workload_name}} < {{kube_pod_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "haproxy_process_virtual_memory_bytes{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Virtual Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Cluster < Namespace < Workload < Pod < Frontend",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}} < {{kube_namespace_name}} < {{kube_workload_name}} < {{kube_pod_name}}: {{frontend}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "haproxy_frontend_current_session_rate{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Frontend sessions rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Frontend: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{frontend}}: {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (frontend,kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name) (rate(haproxy_frontend_bytes_in_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Frontend Bytes In",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Frontend: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{frontend}}: {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (frontend,kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name) (rate(haproxy_frontend_bytes_out_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Frontend Bytes Out",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Frontend: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{frontend}}: Pod < Workload < Namespace < Cluster",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (frontend,kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name) (rate(haproxy_frontend_connections_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Frontend Connections",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Frontend-Code: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{frontend}}-{{code}}: {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (frontend,code,kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name)(rate(haproxy_frontend_http_responses_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Frontend HTTP Requests",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Route: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{route}}: {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "topk(15,rate(haproxy_server_check_failures_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Failed health checks",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "topk(15,rate(haproxy_server_downtime_seconds_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Down Time",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Route < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{route}} < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "haproxy_server_http_average_response_latency_milliseconds{service!=\"\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Avg Response Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 22,
- "markdownSource": "## Health & Errors",
- "name": "New Panel",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "description": "",
- "id": 23,
- "markdownSource": "## Latency",
- "name": "New Panel (2)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "description": "",
- "id": 24,
- "markdownSource": "## Resource Usage",
- "name": "New Panel (3)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "description": "",
- "id": 25,
- "markdownSource": "## Networking",
- "name": "New Panel (4)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Frontend: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{frontend}}: {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "rate(haproxy_frontend_http_responses_total{code=~\"4xx|5xx\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}[$__interval]) / rate(haproxy_frontend_http_responses_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "% Response Errors rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Route: Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{route}}: {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "rate(haproxy_server_connections_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}[$__interval]) - rate(haproxy_server_connection_errors_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "% Connections error rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "topk(15,haproxy_server_current_queue{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "% Current Queue usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1657549748021,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1657549748021,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.workload.name",
- "documentId": "kubernetes.workload.name",
- "documentTimestamp": 1657549748021,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.workload.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_workload_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "workload",
- "isVariable": true,
- "operand": "kubernetes.workload.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/openshift-haproxy-router/include/HAProxy_OC_Ingress_Overview-sysdig-dashboard.json b/resources/openshift-haproxy-router/include/HAProxy_OC_Ingress_Overview-sysdig-dashboard.json
deleted file mode 100644
index 0861e479..00000000
--- a/resources/openshift-haproxy-router/include/HAProxy_OC_Ingress_Overview-sysdig-dashboard.json
+++ /dev/null
@@ -1,4369 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 4,
- "panelId": 1,
- "w": 6,
- "x": 18,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 2,
- "w": 3,
- "x": 0,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 4,
- "w": 3,
- "x": 3,
- "y": 0
- },
- {
- "h": 8,
- "panelId": 7,
- "w": 12,
- "x": 6,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 6,
- "x": 6,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 6,
- "x": 18,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 6,
- "x": 18,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 6,
- "x": 6,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 13,
- "w": 6,
- "x": 12,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 14,
- "w": 6,
- "x": 18,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 15,
- "w": 12,
- "x": 0,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 16,
- "w": 12,
- "x": 0,
- "y": 20
- },
- {
- "h": 4,
- "panelId": 17,
- "w": 12,
- "x": 12,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 18,
- "w": 12,
- "x": 12,
- "y": 20
- },
- {
- "h": 4,
- "panelId": 19,
- "w": 6,
- "x": 0,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 20,
- "w": 6,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 21,
- "w": 6,
- "x": 12,
- "y": 8
- }
- ],
- "name": " HAProxy OC Ingress Overview",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{route}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(100 * (rate(haproxy_server_connections_total[$__interval]) - rate(haproxy_server_connection_errors_total[$__interval])) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connections error rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "(max(time() - haproxy_process_start_time_seconds * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})) "
- }
- ],
- "description": "",
- "id": 2,
- "name": "Up Time",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count((haproxy_process_start_time_seconds * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}))"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Instances",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "haproxy_backend_up",
- "documentTimestamp": 1602596910615,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_backend_up",
- "identity": false,
- "metricType": "gauge",
- "name": "haproxy_backend_up",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "haproxy_backend_up",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "kubernetes.namespace.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "route",
- "documentId": "route",
- "documentTimestamp": 1602596910615,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "route",
- "identity": false,
- "metricType": "tag",
- "name": "route",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "route",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 7,
- "name": "Backends OK",
- "type": "basicTable"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "haproxy_process_resident_memory_bytes",
- "documentTimestamp": 1602596910615,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_process_resident_memory_bytes",
- "identity": false,
- "metricType": "gauge",
- "name": "haproxy_process_resident_memory_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "haproxy_process_resident_memory_bytes",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.namespace.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "container",
- "createdAt": 1589570925000,
- "deferred": false,
- "description": "",
- "documentId": "null-null-container.id",
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.container.ContainerId",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "container.id",
- "identity": false,
- "metricType": "tag",
- "name": "",
- "namespaces": [
- "host.container"
- ],
- "scale": 1.0,
- "scopes": [
- "container",
- "host"
- ],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "container.id",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Resident memory",
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "haproxy_process_max_fds",
- "documentTimestamp": 1602596910616,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_process_max_fds",
- "identity": false,
- "metricType": "gauge",
- "name": "haproxy_process_max_fds",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "haproxy_process_max_fds",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.namespace.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "container",
- "createdAt": 1589570925000,
- "deferred": false,
- "description": "",
- "documentId": "null-null-container.id",
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.container.ContainerId",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "container.id",
- "identity": false,
- "metricType": "tag",
- "name": "",
- "namespaces": [
- "host.container"
- ],
- "scale": 1.0,
- "scopes": [
- "container",
- "host"
- ],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "container.id",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Max open File Descriptors",
- "type": "basicTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{frontend}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(100 * rate(haproxy_frontend_http_responses_total{code=~\"4xx|5xx\"}[$__interval]) / rate(haproxy_frontend_http_responses_total[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Response Errors rate",
- "type": "advancedTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "haproxy_server_current_queue",
- "documentTimestamp": 1602596910616,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_server_current_queue",
- "identity": false,
- "metricType": "gauge",
- "name": "haproxy_server_current_queue",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "haproxy_server_current_queue",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.namespace.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "route",
- "documentId": "route",
- "documentTimestamp": 1602596910616,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "route",
- "identity": false,
- "metricType": "tag",
- "name": "route",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "route",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Current Queue",
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "haproxy_process_cpu_seconds_total",
- "documentTimestamp": 1602596910616,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_process_cpu_seconds_total",
- "identity": false,
- "metricType": "counter",
- "name": "haproxy_process_cpu_seconds_total",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1000000000.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "timeAvg",
- "sum"
- ],
- "type": "relativeTime"
- },
- "groupAggregation": "avg",
- "id": "haproxy_process_cpu_seconds_total",
- "sorting": null,
- "timeAggregation": "timeAvg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.namespace.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "container",
- "createdAt": 1589570925000,
- "deferred": false,
- "description": "",
- "documentId": "null-null-container.id",
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.container.ContainerId",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "container.id",
- "identity": false,
- "metricType": "tag",
- "name": "",
- "namespaces": [
- "host.container"
- ],
- "scale": 1.0,
- "scopes": [
- "container",
- "host"
- ],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "container.id",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU",
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "haproxy_process_virtual_memory_bytes",
- "documentTimestamp": 1602596910616,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_process_virtual_memory_bytes",
- "identity": false,
- "metricType": "gauge",
- "name": "haproxy_process_virtual_memory_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "haproxy_process_virtual_memory_bytes",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.namespace.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "container",
- "createdAt": 1589570925000,
- "deferred": false,
- "description": "",
- "documentId": "null-null-container.id",
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.container.ContainerId",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "container.id",
- "identity": false,
- "metricType": "tag",
- "name": "",
- "namespaces": [
- "host.container"
- ],
- "scale": 1.0,
- "scopes": [
- "container",
- "host"
- ],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "container.id",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Virtual Memory",
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "haproxy_frontend_current_session_rate",
- "documentTimestamp": 1602596910616,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_frontend_current_session_rate",
- "identity": false,
- "metricType": "gauge",
- "name": "haproxy_frontend_current_session_rate",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "haproxy_frontend_current_session_rate",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.namespace.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "frontend",
- "documentId": "frontend",
- "documentTimestamp": 1602596910616,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "frontend",
- "identity": false,
- "metricType": "tag",
- "name": "frontend",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "frontend",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Frontend sessions rate",
- "type": "basicTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{frontend}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (frontend) ((rate(haproxy_frontend_bytes_in_total[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Frontend Bytes In",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{frontend}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (frontend) ((rate(haproxy_frontend_bytes_out_total[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Frontend Bytes Out",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{frontend}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (frontend) ((rate(haproxy_frontend_connections_total[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Frontend Connections",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{frontend}}:{{code}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (frontend,code)((rate(haproxy_frontend_http_responses_total[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Frontend HTTP Requests",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Route > pod",
- "timeSeriesDisplayNameTemplate": "{{route}} > {{pod}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(haproxy_server_check_failures_total[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Failed health checks",
- "type": "advancedTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "haproxy_server_downtime_seconds_total",
- "documentTimestamp": 1602596910616,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_server_downtime_seconds_total",
- "identity": false,
- "metricType": "gauge",
- "name": "haproxy_server_downtime_seconds_total",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1000000000.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "relativeTime"
- },
- "groupAggregation": "avg",
- "id": "haproxy_server_downtime_seconds_total",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.namespace.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "route",
- "documentId": "route",
- "documentTimestamp": 1602596910616,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "route",
- "identity": false,
- "metricType": "tag",
- "name": "route",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "route",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Down Time",
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "haproxy_server_http_average_response_latency_milliseconds",
- "documentTimestamp": 1602596910616,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_server_http_average_response_latency_milliseconds",
- "identity": false,
- "metricType": "gauge",
- "name": "haproxy_server_http_average_response_latency_milliseconds",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "haproxy_server_http_average_response_latency_milliseconds",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.namespace.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "route",
- "documentId": "route",
- "documentTimestamp": 1602596910617,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "route",
- "identity": false,
- "metricType": "tag",
- "name": "route",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "route",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Avg Response Latency",
- "type": "basicTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "container",
- "createdAt": 1589570925000,
- "deferred": false,
- "description": "",
- "documentId": "null-null-container.image",
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.container.ContainerImage",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "container.image",
- "identity": false,
- "metricType": "tag",
- "name": "",
- "namespaces": [
- "host.container"
- ],
- "scale": 1.0,
- "scopes": [
- "container",
- "host"
- ],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "isVariable": false,
- "operand": "container.image",
- "operator": "contains",
- "value": [
- "openshift/origin-haproxy-router"
- ],
- "variable": false
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596910602,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1602596910602,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/openshift-haproxy-router/include/HAProxy_OC_Service_Golden_Signals-sysdig-dashboard-v4.7.json b/resources/openshift-haproxy-router/include/HAProxy_OC_Service_Golden_Signals-sysdig-dashboard-v4.7.json
deleted file mode 100644
index cdb31ca1..00000000
--- a/resources/openshift-haproxy-router/include/HAProxy_OC_Service_Golden_Signals-sysdig-dashboard-v4.7.json
+++ /dev/null
@@ -1,2421 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 5,
- "panelId": 1,
- "w": 24,
- "x": 0,
- "y": 13
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 12,
- "x": 0,
- "y": 19
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 7
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 1
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 12,
- "x": 0,
- "y": 37
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 12,
- "x": 12,
- "y": 37
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 12,
- "x": 12,
- "y": 1
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 12,
- "x": 12,
- "y": 7
- },
- {
- "h": 6,
- "panelId": 15,
- "w": 12,
- "x": 12,
- "y": 19
- },
- {
- "h": 6,
- "panelId": 16,
- "w": 12,
- "x": 0,
- "y": 31
- },
- {
- "h": 6,
- "panelId": 17,
- "w": 12,
- "x": 12,
- "y": 31
- },
- {
- "h": 5,
- "panelId": 18,
- "w": 24,
- "x": 0,
- "y": 25
- },
- {
- "h": 1,
- "panelId": 19,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 1,
- "panelId": 20,
- "w": 24,
- "x": 0,
- "y": 18
- },
- {
- "h": 1,
- "panelId": 21,
- "w": 24,
- "x": 0,
- "y": 30
- }
- ],
- "name": "OpenShift HAProxy Ingress service details",
- "panels": [
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "status",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "displayedValue": null,
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "description": "",
- "documentId": "prometheus.haproxy_server_up",
- "documentTimestamp": 1657549748357,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_server_up",
- "identity": false,
- "lastSeen": 1657544526000,
- "legacyId": "haproxy_server_up",
- "metricType": "gauge",
- "name": "haproxy_server_up",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "publicId": "haproxy_server_up",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "haproxy_server_up",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1657549748357,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Cluster",
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1657549748357,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Namespace",
- "id": "kubernetes.namespace.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.workload.name",
- "documentId": "kubernetes.workload.name",
- "documentTimestamp": 1657549748357,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.workload.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_workload_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Workload",
- "id": "kubernetes.workload.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.pod.name",
- "documentId": "kubernetes.pod.name",
- "documentTimestamp": 1657549748357,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.pod.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_pod_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Pod",
- "id": "kubernetes.pod.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "service",
- "documentId": "service",
- "documentTimestamp": 1657549748357,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "service",
- "identity": false,
- "metricType": "tag",
- "name": "service",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "service",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Service",
- "id": "service",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 1,
- "name": "Servers",
- "nullValueDisplayText": null,
- "type": "basicTable"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Service < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{service}} < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "haproxy_server_http_average_response_latency_milliseconds{service!=\"\",kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Average response latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Service < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{service}} < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rate(haproxy_server_downtime_seconds_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod,service=~$service}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Downtime By Pod",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullZero",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name) (rate(haproxy_server_http_responses_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod,service=~$service,code!=\"2xx\"}[$__interval])) / sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name) (rate(haproxy_server_http_responses_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod,service=~$service}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "HTTP Error rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Service < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{service}} < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(haproxy_server_bytes_in_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod,service=~$service}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Bytes Inbound",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Service < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{service}} < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(haproxy_server_bytes_out_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod,service=~$service}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Bytes Outbound",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Service < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{service}} < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_workload_name,kube_pod_name, service)(rate(haproxy_server_check_failures_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod,service=~$service}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Check Failures",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Service < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{service}} < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(haproxy_server_connection_errors_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod,service=~$service}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connection Errors by Pod",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kubernetes.pod.name}} < {{kubernetes.workload.name}} < {{kubernetes.namespace.name}} < {{kubernetes.cluster.name}}",
- "type": "lines"
- },
- "displayedValue": null,
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "description": "",
- "documentId": "prometheus.haproxy_server_current_queue",
- "documentTimestamp": 1657549748357,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_server_current_queue",
- "identity": false,
- "lastSeen": 1657544526000,
- "legacyId": "haproxy_server_current_queue",
- "metricType": "gauge",
- "name": "haproxy_server_current_queue",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "publicId": "haproxy_server_current_queue",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "haproxy_server_current_queue",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1657549748357,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1657549748357,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.namespace.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.workload.name",
- "documentId": "kubernetes.workload.name",
- "documentTimestamp": 1657549748357,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.workload.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_workload_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.workload.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.pod.name",
- "documentId": "kubernetes.pod.name",
- "documentTimestamp": 1657549748357,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.pod.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_pod_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "kubernetes.pod.name",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Queue",
- "nullValueDisplayText": null,
- "type": "basicTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Service < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{service}} < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(haproxy_server_connections_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod,service=~$service}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connections",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " Service < Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{service}} < {{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(haproxy_server_http_responses_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload,kube_pod_name=~$pod,code=\"2xx\",service=~$service}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Responses OK",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Latency",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "displayedValue": null,
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "description": "",
- "documentId": "prometheus.haproxy_server_http_average_response_latency_milliseconds",
- "documentTimestamp": 1657549748358,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_server_http_average_response_latency_milliseconds",
- "identity": false,
- "lastSeen": 1657544526000,
- "legacyId": "haproxy_server_http_average_response_latency_milliseconds",
- "metricType": "gauge",
- "name": "haproxy_server_http_average_response_latency_milliseconds",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "publicId": "haproxy_server_http_average_response_latency_milliseconds",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "haproxy_server_http_average_response_latency_milliseconds",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1657549748358,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Cluster",
- "id": "kubernetes.cluster.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1657549748358,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Namespace",
- "id": "kubernetes.namespace.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.workload.name",
- "documentId": "kubernetes.workload.name",
- "documentTimestamp": 1657549748358,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.workload.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_workload_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Workload",
- "id": "kubernetes.workload.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.pod.name",
- "documentId": "kubernetes.pod.name",
- "documentTimestamp": 1657549748358,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.pod.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_pod_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Pod",
- "id": "kubernetes.pod.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "service",
- "documentId": "service",
- "documentTimestamp": 1657549748358,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "service",
- "identity": false,
- "metricType": "tag",
- "name": "service",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "service",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Service",
- "id": "service",
- "sorting": null
- }
- ],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Queue",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "displayedValue": null,
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "description": "",
- "documentId": "prometheus.haproxy_server_current_queue",
- "documentTimestamp": 1657549748358,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_server_current_queue",
- "identity": false,
- "lastSeen": 1657544526000,
- "legacyId": "haproxy_server_current_queue",
- "metricType": "gauge",
- "name": "haproxy_server_current_queue",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "publicId": "haproxy_server_current_queue",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "haproxy_server_current_queue",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Sessions",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "displayedValue": null,
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "description": "",
- "documentId": "prometheus.haproxy_server_current_sessions",
- "documentTimestamp": 1657549748358,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_server_current_sessions",
- "identity": false,
- "lastSeen": 1657544526000,
- "legacyId": "haproxy_server_current_sessions",
- "metricType": "gauge",
- "name": "haproxy_server_current_sessions",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "publicId": "haproxy_server_current_sessions",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "haproxy_server_current_sessions",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 18,
- "name": "Latency & Queue",
- "nullValueDisplayText": null,
- "type": "basicTable"
- },
- {
- "description": "",
- "id": 19,
- "markdownSource": "### Health & Errors",
- "name": "New Panel",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "description": "",
- "id": 20,
- "markdownSource": "### Latency & Queue",
- "name": "New Panel (2)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "description": "",
- "id": 21,
- "markdownSource": "### Traffic & Connections",
- "name": "New Panel (3)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1657549748358,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1657549748358,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.workload.name",
- "documentId": "kubernetes.workload.name",
- "documentTimestamp": 1657549748358,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.workload.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_workload_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "workload",
- "isVariable": true,
- "operand": "kubernetes.workload.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.pod.name",
- "documentId": "kubernetes.pod.name",
- "documentTimestamp": 1657549748358,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.pod.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_pod_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "isVariable": true,
- "operand": "kubernetes.pod.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "service",
- "documentId": "service",
- "documentTimestamp": 1657549748358,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "service",
- "identity": false,
- "metricType": "tag",
- "name": "service",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "service",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "service",
- "isVariable": true,
- "operand": "service",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/openshift-haproxy-router/include/HAProxy_OC_Service_Golden_Signals-sysdig-dashboard.json b/resources/openshift-haproxy-router/include/HAProxy_OC_Service_Golden_Signals-sysdig-dashboard.json
deleted file mode 100644
index 64cfc211..00000000
--- a/resources/openshift-haproxy-router/include/HAProxy_OC_Service_Golden_Signals-sysdig-dashboard.json
+++ /dev/null
@@ -1,1568 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 5,
- "panelId": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 8,
- "x": 16,
- "y": 11
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 8,
- "x": 0,
- "y": 11
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 5
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 12,
- "x": 0,
- "y": 23
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 12,
- "x": 12,
- "y": 23
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 12,
- "x": 12,
- "y": 5
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 8,
- "x": 8,
- "y": 11
- },
- {
- "h": 6,
- "panelId": 15,
- "w": 8,
- "x": 0,
- "y": 17
- },
- {
- "h": 6,
- "panelId": 16,
- "w": 8,
- "x": 8,
- "y": 17
- },
- {
- "h": 6,
- "panelId": 17,
- "w": 8,
- "x": 16,
- "y": 17
- }
- ],
- "name": " HAProxy OC Service Golden Signals",
- "panels": [
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "status",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "haproxy_server_up",
- "documentTimestamp": 1602596911520,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_server_up",
- "identity": false,
- "metricType": "gauge",
- "name": "haproxy_server_up",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "haproxy_server_up",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "server",
- "documentId": "server",
- "documentTimestamp": 1602596911520,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "server",
- "identity": false,
- "metricType": "tag",
- "name": "server",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "server",
- "id": "server",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "pod",
- "documentId": "pod",
- "documentTimestamp": 1602596911520,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "pod",
- "identity": false,
- "metricType": "tag",
- "name": "pod",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "id": "pod",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "service",
- "documentId": "service",
- "documentTimestamp": 1602596911520,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "service",
- "identity": false,
- "metricType": "tag",
- "name": "service",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "service",
- "id": "service",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 1,
- "name": "Servers",
- "type": "basicTable"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Service",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "haproxy_server_http_average_response_latency_milliseconds",
- "documentTimestamp": 1602596911520,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_server_http_average_response_latency_milliseconds",
- "identity": false,
- "metricType": "gauge",
- "name": "haproxy_server_http_average_response_latency_milliseconds",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "haproxy_server_http_average_response_latency_milliseconds",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "service",
- "documentId": "service",
- "documentTimestamp": 1602596911520,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "service",
- "identity": false,
- "metricType": "tag",
- "name": "service",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "service",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Average response latency",
- "type": "basicTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Service > Pod",
- "timeSeriesDisplayNameTemplate": "{{service}} > {{pod}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg by (pod,service)(rate(haproxy_server_downtime_seconds_total{service=~$service}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Downtime By Pod",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod",
- "timeSeriesDisplayNameTemplate": "{{pod}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * (sum by (pod) (rate(haproxy_server_http_responses_total{service=~$service,code!=\"2xx\"}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) / sum by (pod) (rate(haproxy_server_http_responses_total{service=~$service}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "HTTP Error rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Service > Pod",
- "timeSeriesDisplayNameTemplate": "{{service}} > {{pod}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (service,pod)(rate(haproxy_server_bytes_in_total{service=~$service}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Bytes Inbound",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Service > Pod ",
- "timeSeriesDisplayNameTemplate": "{{service}} > {{pod}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "sum by (pod, service)(rate(haproxy_server_bytes_out_total{service=~$service}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Bytes Outbound",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Service > Pod",
- "timeSeriesDisplayNameTemplate": "{{service}} > {{pod}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg by (pod, service)(rate(haproxy_server_check_failures_total{service=~$service}[$__interval])* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Check Failures",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Service > Pod",
- "timeSeriesDisplayNameTemplate": "{{service}} > {{pod}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg by (pod,service)(rate(haproxy_server_connection_errors_total{service=~$service}[$__interval] )* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connection Errors by Pod",
- "type": "advancedTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "haproxy_server_current_queue",
- "documentTimestamp": 1602596911520,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "haproxy_server_current_queue",
- "identity": false,
- "metricType": "gauge",
- "name": "haproxy_server_current_queue",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "haproxy_server_current_queue",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "pod",
- "documentId": "pod",
- "documentTimestamp": 1602596911520,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "pod",
- "identity": false,
- "metricType": "tag",
- "name": "pod",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "pod",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Queue",
- "type": "basicTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Pod",
- "timeSeriesDisplayNameTemplate": "{{pod}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(haproxy_server_connections_total{service=~$service}[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connections",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Service > Pod",
- "timeSeriesDisplayNameTemplate": "{{service}} > {{pod}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by(service,pod)(rate(haproxy_server_http_responses_total{code=\"2xx\",service=~$service}[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Responses OK",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596911498,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1602596911498,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1602596911498,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1602596911498,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1602594130928,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1602594130928,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "service",
- "documentId": "service",
- "documentTimestamp": 1602596911520,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "service",
- "identity": false,
- "metricType": "tag",
- "name": "service",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "service",
- "isVariable": true,
- "operand": "service",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/openshift-state-metrics/INSTALL.md b/resources/openshift-state-metrics/INSTALL.md
index a0b84419..47995463 100644
--- a/resources/openshift-state-metrics/INSTALL.md
+++ b/resources/openshift-state-metrics/INSTALL.md
@@ -1,5 +1,5 @@
# Gather the metrics from the prometheus deployed by Openshift
-Metrics are automatically gathered by Prometheus Cluster Monitoring, you can query them in the Prometheus built-in console
+Metrics are automatically gathered by Prometheus Cluster Monitoring, you can query them in the Prometheus built-in console.
diff --git a/resources/openshift-state-metrics/README.md b/resources/openshift-state-metrics/README.md
index 8067360a..8b402478 100644
--- a/resources/openshift-state-metrics/README.md
+++ b/resources/openshift-state-metrics/README.md
@@ -1,9 +1,5 @@
# Openshift-state-metrics
-Red Hat® OpenShift® state metrics is a expansion upon kube-state-metrics adding specific OpenShift® resource metrics
-
-Openshift provides a prometheus with Openshift-state-metrics but doesn't provide any dashboard with this information.
-You can gather the metrics with our agent and show all metrics in our dashboards or even in the grafana dashboards with
-the Sysdig datasource as a Prometheus datasource.
+Red Hat® OpenShift® state metrics is a expansion upon kube-state-metrics adding specific OpenShift® resource metrics.
# Metrics
The metrics gives you the information about the following:
diff --git a/resources/openshift-state-metrics/dashboards.yaml b/resources/openshift-state-metrics/dashboards.yaml
index 2fbb078e..f368e65d 100644
--- a/resources/openshift-state-metrics/dashboards.yaml
+++ b/resources/openshift-state-metrics/dashboards.yaml
@@ -4,18 +4,4 @@ app: openshift-state-metrics
version: 1.0.0
appVersion:
- '4.7'
-configurations:
-- name: 'OpenShift-state-metrics dashboard'
- kind: Sysdig
- image: 'openshift-state-metrics/images/openshift-state-metrics-v4.png'
- description: |
- This dashboard offers information on:
- * CPU Used vs Request Quotas
- * CPU Used vs Limit Quotas
- * Memory Used vs Request Quotas
- * Memory Used vs Limit Quotas
- * Route list
- * Routes with issues
- * Builds
- * Builds Processes with issues
- file: 'include/openshift-state-metrics-v4.json'
\ No newline at end of file
+configurations: []
\ No newline at end of file
diff --git a/resources/openshift-state-metrics/images/openshift-state-metrics-v4.png b/resources/openshift-state-metrics/images/openshift-state-metrics-v4.png
deleted file mode 100644
index dccbaa62..00000000
Binary files a/resources/openshift-state-metrics/images/openshift-state-metrics-v4.png and /dev/null differ
diff --git a/resources/openshift-state-metrics/include/openshift-state-metrics-v4.json b/resources/openshift-state-metrics/include/openshift-state-metrics-v4.json
deleted file mode 100644
index b5d9c78b..00000000
--- a/resources/openshift-state-metrics/include/openshift-state-metrics-v4.json
+++ /dev/null
@@ -1,1020 +0,0 @@
-{
- "dashboard": {
- "description": "Dashboard for openshift-state-metrics",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 1,
- "panelId": 9,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 10,
- "w": 12,
- "x": 12,
- "y": 2
- },
- {
- "h": 1,
- "panelId": 11,
- "w": 24,
- "x": 0,
- "y": 13
- },
- {
- "h": 1,
- "panelId": 12,
- "w": 24,
- "x": 0,
- "y": 21
- },
- {
- "h": 7,
- "panelId": 13,
- "w": 12,
- "x": 0,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 14,
- "w": 12,
- "x": 0,
- "y": 2
- },
- {
- "h": 1,
- "panelId": 15,
- "w": 24,
- "x": 0,
- "y": 1
- },
- {
- "h": 4,
- "panelId": 3,
- "w": 12,
- "x": 12,
- "y": 5
- },
- {
- "h": 4,
- "panelId": 4,
- "w": 12,
- "x": 0,
- "y": 5
- },
- {
- "h": 4,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 9
- },
- {
- "h": 4,
- "panelId": 6,
- "w": 12,
- "x": 0,
- "y": 9
- },
- {
- "h": 8,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 22
- },
- {
- "h": 7,
- "panelId": 2,
- "w": 12,
- "x": 12,
- "y": 14
- },
- {
- "h": 8,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 22
- }
- ],
- "name": "OpenShift v4 State Metrics",
- "panels": [
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (name, kube_cluster_name)(openshift_clusterresourcequota_usage{resource=\"limits.cpu\", type=\"used\", kube_cluster_name=$cluster}) / sum by (name, kube_cluster_name)(openshift_clusterresourcequota_usage{resource=\"limits.cpu\", type=\"hard\", kube_cluster_name=$cluster}) > 0"
- }
- ],
- "description": "",
- "id": 3,
- "name": "% CPU used vs limit quota",
- "nullValueDisplayText": null,
- "type": "advancedToplist"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (name, kube_cluster_name) (openshift_clusterresourcequota_usage{resource=\"requests.cpu\", type=\"used\", kube_cluster_name=$cluster}) / sum by (name, kube_cluster_name) (openshift_clusterresourcequota_usage{resource=\"requests.cpu\", type=\"hard\", kube_cluster_name=$cluster}) > 0"
- }
- ],
- "description": "",
- "id": 4,
- "name": "% CPU used vs request quota",
- "nullValueDisplayText": "There aren't ClusterResourceQuotas in this cluster",
- "type": "advancedToplist"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (name, kube_cluster_name)(openshift_clusterresourcequota_usage{resource=\"limits.memory\", type=\"used\", kube_cluster_name=$cluster}) / sum by (name, kube_cluster_name)(openshift_clusterresourcequota_usage{resource=\"limits.memory\", type=\"hard\", kube_cluster_name=$cluster}) > 0"
- }
- ],
- "description": "",
- "id": 5,
- "name": "% Memory used vs limit quota",
- "nullValueDisplayText": null,
- "type": "advancedToplist"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum by (name, kube_cluster_name)(openshift_clusterresourcequota_usage{resource=\"requests.memory\", type=\"used\", kube_cluster_name=$cluster}) / sum by (name, kube_cluster_name)(openshift_clusterresourcequota_usage{resource=\"requests.memory\", type=\"hard\", kube_cluster_name=$cluster}) > 0"
- }
- ],
- "description": "",
- "id": 6,
- "name": "% Memory used vs request quota",
- "nullValueDisplayText": null,
- "type": "advancedToplist"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{build_phase}} < {{build}} < {{buildconfig}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "time() - (openshift_build_created_timestamp_seconds) * on (build) group_left(build_phase) (openshift_build_status_phase_total{build_phase=\"new\"} == 1)"
- }
- ],
- "description": "",
- "id": 7,
- "name": "New Builds processing",
- "nullValueDisplayText": null,
- "type": "advancedToplist"
- },
- {
- "description": "",
- "id": 9,
- "markdownSource": "Resource quotas",
- "name": "Resource quotas",
- "nullValueDisplayText": null,
- "panelTitleVisible": true,
- "textAutosized": true,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "description": "",
- "id": 10,
- "markdownSource": "**Quota limits**\n\nThese panels show the limits established by each resource quota.\n\n- \ud83d\udd08 Limits are normally higher than the requests. \n- \u26a0\ufe0f If your limits are too close to 100%, you might face scheduling issues. The **[Pod Scheduling Troubleshooting dashboard](#/dashboard-template/view.kubernetes.cluster.schedulingTroubleshooting)** might help you to troubleshoot this scenario.\n- \ud83d\ude34 If limit usage is too low, the resource quota could be rightsized.",
- "name": "Quota limits",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "description": "",
- "id": 11,
- "markdownSource": "Routes",
- "name": "Routes",
- "nullValueDisplayText": null,
- "panelTitleVisible": true,
- "textAutosized": true,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "description": "",
- "id": 12,
- "markdownSource": "Builds",
- "name": "Builds",
- "nullValueDisplayText": null,
- "panelTitleVisible": true,
- "textAutosized": true,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "displayedValue": "latest",
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "description": "",
- "documentId": "prometheus.openshift_route_status",
- "documentTimestamp": 1660039395470,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "openshift_route_status",
- "identity": false,
- "lastSeen": 1660039128000,
- "legacyId": "openshift_route_status",
- "metricType": "gauge",
- "name": "openshift_route_status",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "publicId": "openshift_route_status",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "max",
- "id": "openshift_route_status",
- "sorting": null,
- "timeAggregation": "max"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "route",
- "documentId": "route",
- "documentTimestamp": 1660039395470,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "route",
- "identity": false,
- "metricType": "tag",
- "name": "route",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "route",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Name",
- "id": "route",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1660039395470,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Namespace",
- "id": "kubernetes.namespace.name",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "host",
- "documentId": "host",
- "documentTimestamp": 1660039395470,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "host",
- "identity": false,
- "metricType": "tag",
- "name": "host",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "host",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Host",
- "id": "host",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.persistentvolumeclaim.condition.type",
- "documentId": "kubernetes.persistentvolumeclaim.condition.type",
- "documentTimestamp": 1660039395470,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.persistentvolumeclaim.condition.type",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.persistentvolumeclaim.condition.type",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "type",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Type",
- "id": "kubernetes.persistentvolumeclaim.condition.type",
- "sorting": null
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.persistentvolumeclaim.condition.status",
- "documentId": "kubernetes.persistentvolumeclaim.condition.status",
- "documentTimestamp": 1660039395470,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.persistentvolumeclaim.condition.status",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.persistentvolumeclaim.condition.status",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "status",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Status",
- "id": "kubernetes.persistentvolumeclaim.condition.status",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 13,
- "name": "Route List",
- "nullValueDisplayText": "There aren't routes on this namespace",
- "type": "basicTable"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "status < route < namespace < cluster",
- "timeSeriesDisplayNameTemplate": "{{status}} < {{route}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "openshift_route_status{status != 'True', kube_cluster_name=$cluster,kube_namespace_name=~$namespace} > 0"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Routes with issues",
- "nullValueDisplayText": "All routes have a True status \u2705 ",
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 14,
- "markdownSource": "**Quota requests**\n\nThese panels show your request capacity for each resource quota.\n- \u26a0\ufe0f If your requests are near 100%, you can use the **[\nPod Rightsizing & Workload Capacity Optimization dashboard](#/dashboard-template/view.kubernetes.cluster.rightsizing)** to fix it. You can also talk to your cluster administrator to check your resource quota.\n\n- \ud83d\ude34 If your requests are too low, the resource quota could be rightsized.",
- "name": "Quota requests",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{build}} < {{buildconfig}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (build, buildconfig, kube_namespace_name, kube_cluster_name) (openshift_build_status_phase_total{build_phase=~\"failed|error\"}) > 0"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Build processes with issues",
- "nullValueDisplayText": "No build configs with errors \u2705",
- "type": "advancedToplist"
- },
- {
- "description": "",
- "id": 15,
- "markdownSource": "This section helps you to plan your work based on the Resource Quotas established on the cluster. You also can check the **[Cluster Capacity Planning dashboard](#/dashboard-template/view.kubernetes.cluster.capacityPlanning)**",
- "name": "Disclaimer capacity planning",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": true,
- "type": "text"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1660039395470,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "equals",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1660039395470,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "buildconfig",
- "documentId": "buildconfig",
- "documentTimestamp": 1660039395471,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "buildconfig",
- "identity": false,
- "metricType": "tag",
- "name": "buildconfig",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "buildconfig",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "buildconfig",
- "isVariable": true,
- "operand": "buildconfig",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/openshift/INSTALL.md b/resources/openshift/INSTALL.md
deleted file mode 100644
index c07b513d..00000000
--- a/resources/openshift/INSTALL.md
+++ /dev/null
@@ -1,33 +0,0 @@
-# Gather the metrics from the prometheus deployed by Openshift
-
-You can either follow the steps given below or just download the script that includes all the commands and execute:
-```sh
-sh installation.sh
-```
-
-The Prometheus is behind an oauth proxy so you have to create the secret with the token:
-
-1. Get the token:
- ```sh
- export SECRET=`oc get secret -n openshift-monitoring | grep prometheus-k8s-token | head -n 1 | awk '{ print $1 }'`
-
- export TOKEN=`echo $(oc get secret $SECRET -n openshift-monitoring -o json | jq -r '.data.token') | base64 -d`
- ```
-2. Create the secret in `sysdig-agent` namespace:
- ```sh
- oc -n sysdig-agent create secret generic prometheus-k8s-token --from-literal=token=$TOKEN
- ```
-3. Edit the daemonset of sysdig to mount the secret:
- ```sh
- oc -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"volumes":[{"name":"prometheus-k8s-token","secret":{"defaultMode":420,"secretName":"prometheus-k8s-token"}}]}}}}'
-
- oc -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"containers":[{"name":"sysdig-agent","volumeMounts": [{"mountPath": "/opt/draios/kubernetes/prometheus/secrets","name": "prometheus-k8s-token"}]}]}}}}'
- ```
-4. Apply the recording rules:
- ```sh
- oc apply -f rules.yaml
- ```
-5. Apply the sysdig configuration:
- ```
- oc edit cm sysdig-agent
- ```
diff --git a/resources/openshift/RECORDING-RULES.md b/resources/openshift/RECORDING-RULES.md
deleted file mode 100644
index 70a99221..00000000
--- a/resources/openshift/RECORDING-RULES.md
+++ /dev/null
@@ -1,4 +0,0 @@
-The recording rules for Sysdig, just download it and apply it.
- ```
- kubectl apply -f rules.yaml
- ```
diff --git a/resources/openshift/images/api_sysdig.png b/resources/openshift/images/api_sysdig.png
deleted file mode 100644
index 1e7fc166..00000000
Binary files a/resources/openshift/images/api_sysdig.png and /dev/null differ
diff --git a/resources/openshift/images/controller_manager_sysdig.png b/resources/openshift/images/controller_manager_sysdig.png
deleted file mode 100644
index c713171e..00000000
Binary files a/resources/openshift/images/controller_manager_sysdig.png and /dev/null differ
diff --git a/resources/openshift/images/coreDNS_sysdig.png b/resources/openshift/images/coreDNS_sysdig.png
deleted file mode 100644
index a3a69f59..00000000
Binary files a/resources/openshift/images/coreDNS_sysdig.png and /dev/null differ
diff --git a/resources/openshift/images/etcd_sysdig.png b/resources/openshift/images/etcd_sysdig.png
deleted file mode 100644
index 289adb1a..00000000
Binary files a/resources/openshift/images/etcd_sysdig.png and /dev/null differ
diff --git a/resources/openshift/images/kubelet_sysdig.png b/resources/openshift/images/kubelet_sysdig.png
deleted file mode 100644
index 9de160f4..00000000
Binary files a/resources/openshift/images/kubelet_sysdig.png and /dev/null differ
diff --git a/resources/openshift/images/scheduler_sysdig.png b/resources/openshift/images/scheduler_sysdig.png
deleted file mode 100644
index b63019ac..00000000
Binary files a/resources/openshift/images/scheduler_sysdig.png and /dev/null differ
diff --git a/resources/openshift/include/dashboard-Sysdig-Ocp3---Api-3.11.json b/resources/openshift/include/dashboard-Sysdig-Ocp3---Api-3.11.json
deleted file mode 100644
index 1491bace..00000000
--- a/resources/openshift/include/dashboard-Sysdig-Ocp3---Api-3.11.json
+++ /dev/null
@@ -1,1020 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 9,
- "x": 0,
- "y": 17
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 9,
- "y": 17
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 7,
- "x": 17,
- "y": 17
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 7,
- "x": 17,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 8,
- "x": 9,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 9,
- "x": 0,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 24,
- "x": 0,
- "y": 10
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 4
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 10,
- "x": 14,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 10,
- "x": 4,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 4,
- "x": 0,
- "y": 0
- }
- ],
- "name": "Ocp3 / API server",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"apiserver\",cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"apiserver\",cluster=~$cluster}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"apiserver\",cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "ETCD get",
- "timeSeriesDisplayNameTemplate": "{{instance}} get",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "etcd_request_cache_get_duration_seconds_bucket:kubernetes_apiservers{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "ETCD add",
- "timeSeriesDisplayNameTemplate": "{{instance}} miss",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "etcd_request_cache_add_duration_seconds_bucket:kubernetes_apiservers{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "ETCD Cache Duration 99th Quantile ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "ETCD hit",
- "timeSeriesDisplayNameTemplate": "{{instance}} hit",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(etcd_helper_cache_hit_total:kubernetes_apiservers{cluster=~$cluster}[$__interval])) by (instance)"
- },
- {
- "displayInfo": {
- "displayName": "ETCD miss",
- "timeSeriesDisplayNameTemplate": "{{instance}} miss",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(etcd_helper_cache_miss_total:kubernetes_apiservers{cluster=~$cluster}[$__interval])) by (instance)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "ETCD Cache Hit/Miss Rate ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "ETCD cache entry",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(etcd_helper_cache_entry_total:kubernetes_apiservers{cluster=~$cluster}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "ETCD Cache Entry Total ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue latency",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "workqueue_queue_duration_seconds_bucket:kubernetes_control_manager{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue depth",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_depth:kubernetes_control_manager{cluster=~$cluster}[$__interval])) by (instance, name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Depth",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_adds_total:kubernetes_control_manager{cluster=~$cluster}[$__interval])) by (instance, name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Add Rate ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request duration",
- "timeSeriesDisplayNameTemplate": "{{verb}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "apiserver_request_duration_seconds_bucket:kubernetes_apiservers{verb!=\"WATCH\",cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Request duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Api request",
- "timeSeriesDisplayNameTemplate": "2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"2..\",cluster=~$cluster}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "Api request",
- "timeSeriesDisplayNameTemplate": "3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"3..\",cluster=~$cluster}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "Api request",
- "timeSeriesDisplayNameTemplate": "4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"4..\",cluster=~$cluster}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "Api request",
- "timeSeriesDisplayNameTemplate": "5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"5..\",cluster=~$cluster}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "RPC Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up:kubernetes{job=\"apiserver\",cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 12,
- "name": "Up",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1611766749722,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1611766749722,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1611765427392,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1611765427392,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [
- "default"
- ],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/openshift/include/dashboard-Sysdig-Ocp3---Controller-manager-3.11.json b/resources/openshift/include/dashboard-Sysdig-Ocp3---Controller-manager-3.11.json
deleted file mode 100644
index e4bd44a3..00000000
--- a/resources/openshift/include/dashboard-Sysdig-Ocp3---Controller-manager-3.11.json
+++ /dev/null
@@ -1,846 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 18
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 18
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 18
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 24,
- "x": 0,
- "y": 15
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 7,
- "x": 0,
- "y": 12
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 17,
- "x": 7,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 24,
- "x": 0,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 24,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 20,
- "x": 4,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 4,
- "x": 0,
- "y": 0
- }
- ],
- "name": "Ocp3 / Controller Manager",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"kube-controllers\",cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"kube-controllers\",cluster=~$cluster}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Goroutines",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"kube-controllers\",cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Get request p99",
- "timeSeriesDisplayNameTemplate": "{{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:get{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Get Request Latency 99th Quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_code:kubelet{code=~\"2..\",cluster=~$cluster}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_code:kubelet{code=~\"3..\",cluster=~$cluster}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_code:kubelet{code=~\"4..\",cluster=~$cluster}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_code:kubelet{code=~\"5..\",cluster=~$cluster}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube API Request Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Post request latency p99",
- "timeSeriesDisplayNameTemplate": "{{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:post{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Post Request Latency 99th Quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue latency",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "workqueue_queue_duration_seconds_bucket:kubernetes_control_manager{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue depth",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_depth:kubernetes_control_manager{cluster=~$cluster}[$__interval])) by (instance, name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Depth",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue add rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_adds_total:kubernetes_control_manager{cluster=~$cluster}[$__interval])) by (instance, name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Add Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up:controllermanager{job=\"kube-controllers\",cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "UP",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1611766490610,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1611766490610,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1611765427392,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1611765427392,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [
- "default"
- ],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/openshift/include/dashboard-Sysdig-Ocp3---Kubelet-3.11.json b/resources/openshift/include/dashboard-Sysdig-Ocp3---Kubelet-3.11.json
deleted file mode 100644
index e0a5c36c..00000000
--- a/resources/openshift/include/dashboard-Sysdig-Ocp3---Kubelet-3.11.json
+++ /dev/null
@@ -1,1500 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 1,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 2,
- "w": 4,
- "x": 4,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 3,
- "w": 4,
- "x": 8,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 4,
- "x": 12,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 5,
- "w": 4,
- "x": 16,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 6,
- "w": 4,
- "x": 20,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 24,
- "x": 0,
- "y": 7
- },
- {
- "h": 5,
- "panelId": 10,
- "w": 12,
- "x": 0,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 11,
- "w": 12,
- "x": 12,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 12,
- "w": 12,
- "x": 0,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 13,
- "w": 12,
- "x": 12,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 14,
- "w": 24,
- "x": 0,
- "y": 22
- },
- {
- "h": 5,
- "panelId": 15,
- "w": 12,
- "x": 0,
- "y": 27
- },
- {
- "h": 5,
- "panelId": 17,
- "w": 12,
- "x": 12,
- "y": 27
- },
- {
- "h": 5,
- "panelId": 20,
- "w": 24,
- "x": 0,
- "y": 32
- },
- {
- "h": 6,
- "panelId": 21,
- "w": 24,
- "x": 0,
- "y": 37
- },
- {
- "h": 4,
- "panelId": 22,
- "w": 8,
- "x": 0,
- "y": 43
- },
- {
- "h": 4,
- "panelId": 23,
- "w": 8,
- "x": 8,
- "y": 43
- },
- {
- "h": 4,
- "panelId": 24,
- "w": 8,
- "x": 16,
- "y": 43
- }
- ],
- "name": "Ocp3 / Kubelet",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up:kubernetes{job=\"kubelet\",cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Up",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kubelet_running_pod_count:kubelet{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Running Pods",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kubelet_running_container_count:kubelet{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Running Container",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(volume_manager_total_volumes:kubelet{state=\"actual_state_of_world\",cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Actual Volume Count",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(volume_manager_total_volumes:desired:kubelet{job=\"kubelet\",state=\"desired_state_of_world\",cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Desired Volume Count",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_node_config_error:kubelet{cluster=~$cluster}[$__interval]))"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Config Error Count",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation Rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_runtime_operations_total:kubelet[$__interval])) by (operation_type, instance)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Operation rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation Error Rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_runtime_operations_errors_total:kubelet[$__interval])) by (instance, operation_type)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Operation Error Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation duration",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "operation_duration_seconds:kubelet"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Operation duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod start rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} pod",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_pod_start_duration_seconds_count:kubelet[$__interval])) by (instance)"
- },
- {
- "displayInfo": {
- "displayName": "Worker start rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} pod",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_pod_worker_duration_seconds_count:kubelet[$__interval])) by (instance)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Pod Start Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod start duration",
- "timeSeriesDisplayNameTemplate": "{{instance}} pod",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "ms",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "pod_start_duration_seconds:kubelet"
- },
- {
- "displayInfo": {
- "displayName": "Pod worker duration",
- "timeSeriesDisplayNameTemplate": "{{instance}} pod",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "pod_worker_duration_seconds:kubelet"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Pod Start Duration",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{operation_name}} {{volume_plugin}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(storage_operation_duration_seconds_count:kubelet[$__interval])) by (instance, operation_name, volume_plugin)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Storage Operation Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation error rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{operation_name}} {{volume_plugin}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(storage_operation_errors_total:kubelet[$__interval])) by (instance, operation_name, volume_plugin)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Storage Operation Error Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Storage operation duration",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{operation_name}} {{volume_plugin}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "storage_operation_duration_seconds:kubelet"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Storage Operation Duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cgroup manager rate",
- "timeSeriesDisplayNameTemplate": "{{operation_type}} - {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_cgroup_manager_duration_seconds_count:kubelet[$__interval])) by (instance, operation_type)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Cgroup manager operation rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cgroup manager p99",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "cgroup_manager_duration_seconds:kubelet"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Cgroup manager 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_code:kubelet{code=~\"2..\"}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_code:kubelet{code=~\"3..\"}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_code:kubelet{code=~\"4..\"}[$__interval]))"
- },
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_code:kubelet{code=~\"5..\"}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "RPC Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request duration p99",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "request_duration_seconds:kubelet"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Request duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"kubelet\"}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Rate cpu",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"kubelet\"}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Goroutines",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"kubelet\"}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 24,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1611766488706,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1611766488706,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1611765427392,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1611765427392,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [
- "default"
- ],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/openshift/include/dashboard-Sysdig-Ocp4---Api-4.3.json b/resources/openshift/include/dashboard-Sysdig-Ocp4---Api-4.3.json
deleted file mode 100644
index 39a84178..00000000
--- a/resources/openshift/include/dashboard-Sysdig-Ocp4---Api-4.3.json
+++ /dev/null
@@ -1,757 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 9,
- "x": 0,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 9,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 7,
- "x": 17,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 24,
- "x": 0,
- "y": 10
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 4
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 10,
- "x": 14,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 10,
- "x": 4,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 4,
- "x": 0,
- "y": 0
- }
- ],
- "name": "Ocp4 / API server",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"apiserver\"} * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"apiserver\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"apiserver\"} * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue latency",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "workqueue_queue_duration_seconds_bucket:kubernetes_apiservers * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Latency",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue depth",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_depth:kubernetes_apiservers[$__interval]) * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance, name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Depth",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_adds_total:kubernetes_apiservers[$__interval]) * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance, name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Add Rate ",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request duration",
- "timeSeriesDisplayNameTemplate": "{{verb}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "apiserver_request_duration_seconds_bucket:kubernetes_apiservers{verb!=\"WATCH\"} * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Request duration 99th quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Api request",
- "timeSeriesDisplayNameTemplate": "2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"2..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "Api request",
- "timeSeriesDisplayNameTemplate": "3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"3..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "Api request",
- "timeSeriesDisplayNameTemplate": "4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"4..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "Api request",
- "timeSeriesDisplayNameTemplate": "5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"5..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "RPC Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up:kubernetes{job=\"apiserver\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 12,
- "name": "Up",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1600966390690,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1600966390690,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1600962907945,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1600962907945,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/openshift/include/dashboard-Sysdig-Ocp4---Controller-manager-4.3.json b/resources/openshift/include/dashboard-Sysdig-Ocp4---Controller-manager-4.3.json
deleted file mode 100644
index 8634a4ca..00000000
--- a/resources/openshift/include/dashboard-Sysdig-Ocp4---Controller-manager-4.3.json
+++ /dev/null
@@ -1,825 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 18
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 18
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 18
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 24,
- "x": 0,
- "y": 15
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 7,
- "x": 0,
- "y": 12
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 17,
- "x": 7,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 24,
- "x": 0,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 24,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 20,
- "x": 4,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 4,
- "x": 0,
- "y": 0
- }
- ],
- "name": "Ocp4 / Controller Manager",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"controller-manager\"} * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"controller-manager\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Goroutines",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"controller-manager\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Get request p99",
- "timeSeriesDisplayNameTemplate": "{{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:get * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Get Request Latency 99th Quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"2..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"3..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"4..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"5..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube API Request Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Post request latency p99",
- "timeSeriesDisplayNameTemplate": "{{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:post * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Post Request Latency 99th Quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue latency",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "workqueue_queue_duration_seconds_bucket:kubernetes_apiservers * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Latency",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue depth",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_depth:kubernetes_control_manager[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance, name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Depth",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue add rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_adds_total:kubernetes_control_manager[$__interval]) * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance, name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Add Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up:controllermanager{job=\"kube-controller-manager\"} * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "UP",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1600966392196,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1600966392196,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1600962907945,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1600962907945,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/openshift/include/dashboard-Sysdig-Ocp4---CoreDNS-4.3.json b/resources/openshift/include/dashboard-Sysdig-Ocp4---CoreDNS-4.3.json
deleted file mode 100644
index 6e2f8bb7..00000000
--- a/resources/openshift/include/dashboard-Sysdig-Ocp4---CoreDNS-4.3.json
+++ /dev/null
@@ -1,1177 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 1,
- "w": 3,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 2,
- "w": 3,
- "x": 3,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 9,
- "x": 6,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 8,
- "x": 0,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 9,
- "x": 15,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 8,
- "x": 8,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 8,
- "x": 16,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 9,
- "x": 6,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 9,
- "x": 15,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 6,
- "x": 0,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 9,
- "x": 6,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 9,
- "x": 15,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 8,
- "x": 0,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 15,
- "w": 8,
- "x": 8,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 16,
- "w": 8,
- "x": 16,
- "y": 24
- }
- ],
- "name": "Ocp4 / CoreDNS",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(up:kubernetes{job=\"dns-default\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "UP",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(coredns_panic_count_total:sysdig{job=\"dns-default\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Panics",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "forward {{rcode}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_forward_response_rcode_count_total:sysdig{job=\"dns-default\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (rcode)"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{rcode}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_dns_response_rcode_count_total:sysdig{job=\"dns-default\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (rcode)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "RPC rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum(rate(coredns_dns_request_type_count_total:sysdig{job=\"dns-default\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (type))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Requests (by qtype)",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{server}} {{zone}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_dns_request_duration_seconds_bucket:sysdig{job=\"dns-default\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (server, zone, le))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "forward {{to}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_forward_request_duration_seconds_bucket:sysdig{job=\"dns-default\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (to, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Request duration 99th quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{zone}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum(rate(coredns_dns_request_type_count_total:sysdig{job=\"dns-default\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (zone))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Requests (by zone)",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{to}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum(rate(coredns_forward_request_count_total:sysdig{job=\"dns-default\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (to))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Forward Requests (by to)",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum(coredns_cache_hits_total:sysdig{job=\"dns-default\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) / (sum(coredns_cache_misses_total:sysdig{job=\"dns-default\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) + sum(coredns_cache_hits_total:sysdig{job=\"dns-default\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}))"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Cached",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_cache_hits_total:sysdig{job=\"dns-default\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (type)"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "misses",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_cache_misses_total:sysdig{job=\"dns-default\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Cache hit Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(coredns_cache_size:sysdig{job=\"dns-default\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (type)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Cache Size",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(sum(coredns_plugin_enabled:sysdig{job=\"dns-default\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (name))"
- }
- ],
- "description": "",
- "id": 11,
- "name": "Plugins Enabled",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "99th {{server}} {{zone}} {{proto}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_dns_request_size_bytes_bucket:sysdig{job=\"dns-default\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (server, zone, proto, le))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "50th {{server}} {{zone}} {{proto}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(rate(coredns_dns_request_size_bytes_bucket:sysdig{job=\"dns-default\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (server, zone, proto, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Request size",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "99th {{server}} {{zone}} {{proto}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_dns_response_size_bytes_bucket:sysdig{job=\"dns-default\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (server, zone, proto, le))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "50th {{server}} {{zone}} {{proto}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(rate(coredns_dns_response_size_bytes_bucket:sysdig{job=\"dns-default\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (server, zone, proto, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Response size",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"dns-default\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"dns-default\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"dns-default\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1600966395730,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1600966395730,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1600962907945,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1600962907945,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [
- "david-lorite-minikube"
- ],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/openshift/include/dashboard-Sysdig-Ocp4---Kubelet-4.3.json b/resources/openshift/include/dashboard-Sysdig-Ocp4---Kubelet-4.3.json
deleted file mode 100644
index c984842c..00000000
--- a/resources/openshift/include/dashboard-Sysdig-Ocp4---Kubelet-4.3.json
+++ /dev/null
@@ -1,1659 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 1,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 2,
- "w": 4,
- "x": 4,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 3,
- "w": 4,
- "x": 8,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 4,
- "x": 12,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 5,
- "w": 4,
- "x": 16,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 6,
- "w": 4,
- "x": 20,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 24,
- "x": 0,
- "y": 7
- },
- {
- "h": 5,
- "panelId": 10,
- "w": 12,
- "x": 0,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 11,
- "w": 12,
- "x": 12,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 12,
- "w": 12,
- "x": 0,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 13,
- "w": 12,
- "x": 12,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 14,
- "w": 24,
- "x": 0,
- "y": 22
- },
- {
- "h": 5,
- "panelId": 15,
- "w": 12,
- "x": 0,
- "y": 27
- },
- {
- "h": 5,
- "panelId": 16,
- "w": 12,
- "x": 0,
- "y": 32
- },
- {
- "h": 5,
- "panelId": 17,
- "w": 12,
- "x": 12,
- "y": 27
- },
- {
- "h": 5,
- "panelId": 18,
- "w": 12,
- "x": 12,
- "y": 32
- },
- {
- "h": 5,
- "panelId": 19,
- "w": 24,
- "x": 0,
- "y": 37
- },
- {
- "h": 5,
- "panelId": 20,
- "w": 24,
- "x": 0,
- "y": 42
- },
- {
- "h": 6,
- "panelId": 21,
- "w": 24,
- "x": 0,
- "y": 47
- },
- {
- "h": 4,
- "panelId": 22,
- "w": 8,
- "x": 0,
- "y": 53
- },
- {
- "h": 4,
- "panelId": 23,
- "w": 8,
- "x": 8,
- "y": 53
- },
- {
- "h": 4,
- "panelId": 24,
- "w": 8,
- "x": 16,
- "y": 53
- }
- ],
- "name": "Ocp4 / Kubelet",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up:kubernetes{job=\"kubelet\",metrics_path=\"/metrics/cadvisor\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Up",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kubelet_running_pod_count:kubelet * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Running Pods",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kubelet_running_container_count:kubelet * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Running Container",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(volume_manager_total_volumes:kubelet{state=\"actual_state_of_world\"} * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Actual Volume Count",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(volume_manager_total_volumes:desired:kubelet{job=\"kubelet\",state=\"desired_state_of_world\"} * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Desired Volume Count",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_node_config_error:kubelet[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Config Error Count",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation Rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_runtime_operations_total:kubelet[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (operation_type, instance)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Operation rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation Error Rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_runtime_operations_errors_total:kubelet[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance, operation_type)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Operation Error Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation duration",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "operation_duration_seconds:kubelet * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Operation duration 99th quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod start rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} pod",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_pod_start_duration_seconds_count:kubelet[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance)"
- },
- {
- "displayInfo": {
- "displayName": "Worker start rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} pod",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_pod_worker_duration_seconds_count:kubelet[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Pod Start Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod start duration",
- "timeSeriesDisplayNameTemplate": "{{instance}} pod",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "ms",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "pod_start_duration_seconds:kubelet * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "Pod worker duration",
- "timeSeriesDisplayNameTemplate": "{{instance}} pod",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "pod_worker_duration_seconds:kubelet * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Pod Start Duration",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{operation_name}} {{volume_plugin}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(storage_operation_duration_seconds_count:kubelet[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance, operation_name, volume_plugin)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Storage Operation Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation error rate",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{operation_name}} {{volume_plugin}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(storage_operation_errors_total:kubelet[$__interval]) * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance, operation_name, volume_plugin)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Storage Operation Error Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Storage operation duration",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{operation_name}} {{volume_plugin}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "storage_operation_duration_seconds:kubelet * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Storage Operation Duration 99th quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cgroup manager rate",
- "timeSeriesDisplayNameTemplate": "{{operation_type}} - {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_cgroup_manager_duration_seconds_count:kubelet[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance, operation_type)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Cgroup manager operation rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "PLEG relist rate",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(pleg_relist_duration_seconds:kubelet[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "PLEG relist rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cgroup manager p99",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "cgroup_manager_duration_seconds:kubelet * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Cgroup manager 99th quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "PLEG relist interval",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "pleg_relist_interval_seconds:kubelet * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "PLEG relist interval",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "PLEG relist duration",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "pleg_relist_duration_seconds:kubelet * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "PLEG relist duration",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_code:kubelet{code=~\"2..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_code:kubelet{code=~\"3..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_code:kubelet{code=~\"4..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_code:kubelet{code=~\"5..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "RPC Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request duration p99",
- "timeSeriesDisplayNameTemplate": "{{instance}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "request_duration_seconds:kubelet * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Request duration 99th quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"kubelet\"} * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Rate cpu",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"kubelet\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Goroutines",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"kubelet\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 24,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1600966394050,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1600966394050,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1600962907945,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1600962907945,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/openshift/include/dashboard-Sysdig-Ocp4---Scheduler-4.3.json b/resources/openshift/include/dashboard-Sysdig-Ocp4---Scheduler-4.3.json
deleted file mode 100644
index 9a215369..00000000
--- a/resources/openshift/include/dashboard-Sysdig-Ocp4---Scheduler-4.3.json
+++ /dev/null
@@ -1,853 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 12
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 12
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 5,
- "w": 8,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 24,
- "x": 0,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 10,
- "x": 14,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 10,
- "x": 4,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 16,
- "x": 8,
- "y": 4
- }
- ],
- "name": "Ocp4 / Scheduler",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"scheduler\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"scheduler\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Goroutines",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"scheduler\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"2..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"3..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"4..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"5..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube API Request Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Get Request Latency p99",
- "timeSeriesDisplayNameTemplate": "{{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:kube_scheduler{verb=\"GET\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Get Request Latency 99th Quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}} e2e",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}} scheduling algorithm",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "scheduler_scheduling_algorithm_duration_seconds_bucket:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}} volume",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "scheduler_volume_scheduling_duration_seconds_bucket:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}} binding",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "scheduler_binding_duration_seconds_bucket:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Scheduling latency 99th Quantile",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up:kubernetes{job=\"scheduler\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "UP",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Scheduling Rate e2e",
- "timeSeriesDisplayNameTemplate": "{{instance}} e2e",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(scheduler_e2e_scheduling_duration_seconds_count:kube_scheduler[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance)"
- },
- {
- "displayInfo": {
- "displayName": "Scheduling Rate binding",
- "timeSeriesDisplayNameTemplate": "{{instance}} binding",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(scheduler_binding_duration_seconds_count:kube_scheduler[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance)"
- },
- {
- "displayInfo": {
- "displayName": "Scheduling Rate algorithm",
- "timeSeriesDisplayNameTemplate": "{{instance}} scheduling algorithm",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(scheduler_scheduling_algorithm_duration_seconds_count:kube_scheduler[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance)"
- },
- {
- "displayInfo": {
- "displayName": "Scheduling Rate volume",
- "timeSeriesDisplayNameTemplate": "{{instance}} volume",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(scheduler_volume_scheduling_duration_seconds_count:kube_scheduler[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Scheduling Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Post Request Latency p99",
- "timeSeriesDisplayNameTemplate": "{{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:kube_scheduler{verb=\"POST\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Post Request Latency 99th Quantile ",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1600966391287,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1600966391287,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1600962907945,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1600962907945,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/openshift/include/dashboard-Sysdig-Ocp4---etcd-4.3.json b/resources/openshift/include/dashboard-Sysdig-Ocp4---etcd-4.3.json
deleted file mode 100644
index 39aeb8e4..00000000
--- a/resources/openshift/include/dashboard-Sysdig-Ocp4---etcd-4.3.json
+++ /dev/null
@@ -1,868 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 4,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 6,
- "w": 8,
- "x": 0,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 8,
- "x": 8,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 8,
- "x": 0,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 8,
- "x": 16,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 8,
- "x": 8,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 8,
- "x": 16,
- "y": 14
- }
- ],
- "name": "Ocp4 / etcd",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg(etcd_server_has_leader:sysdig * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Etcd has a leader?",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "Yes",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- },
- {
- "displayText": "Some",
- "inputFormat": "1",
- "severity": "low",
- "value": 0.4
- },
- {
- "displayText": "No",
- "inputFormat": "1",
- "severity": "high",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max(etcd_server_leader_changes_seen_total:sysdig * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "The number of leader changes seen",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max(etcd_server_proposals_failed_total:sysdig * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 3,
- "name": "The total number of failed proposals seen",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "RPC Rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(grpc_server_started_total:sysdig{grpc_type=\"unary\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "RPC Failed Rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(grpc_server_handled_total:sysdig{grpc_type=\"unary\",grpc_code!=\"OK\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "RPC Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Watch Streams",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(grpc_server_started_total:sysdig{grpc_service=\"etcdserverpb.Watch\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (cluster) - sum(grpc_server_handled_total:sysdig{grpc_service=\"etcdserverpb.Watch\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Lease Streams",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(grpc_server_started_total:sysdig{grpc_service=\"etcdserverpb.Lease\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (cluster) - sum(grpc_server_handled_total:sysdig{grpc_service=\"etcdserverpb.Lease\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Active Streams",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "DB size",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} DB Size",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "etcd_debugging_mvcc_db_total_size_in_bytes:sysdig * on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "DB Size",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Disk sync duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} WAL fsync",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(etcd_disk_wal_fsync_duration_seconds_bucket:sysdig[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance, le, cluster))"
- },
- {
- "displayInfo": {
- "displayName": "Disk sync duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} DB fsync",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(etcd_disk_backend_commit_duration_seconds_bucket:sysdig[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (instance, le, cluster))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk sync duration",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"etcd\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Number of consensus proposals commited",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(etcd_server_proposals_committed_total:sysdig[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Number of consensus proposals applied",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(etcd_server_proposals_applied_total:sysdig[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "The total number of consensus proposals committed ",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"etcd\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"etcd\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1600966394939,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1600966394939,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1600962907945,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1600962907945,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/openshift/include/installation-v3.11.sh b/resources/openshift/include/installation-v3.11.sh
deleted file mode 100755
index e2ae3bf7..00000000
--- a/resources/openshift/include/installation-v3.11.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-export SECRET=`oc get secret -n openshift-monitoring | grep prometheus-k8s-token | head -n 1 | awk '{ print $1 }'`
-export TOKEN=`echo $(oc get secret $SECRET -n openshift-monitoring -o json | jq -r '.data.token') | base64 -d`
-oc -n sysdig-agent create secret generic prometheus-k8s-token --from-literal=token=$TOKEN
-oc -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"volumes":[{"name":"prometheus-k8s-token","secret":{"defaultMode":420,"secretName":"prometheus-k8s-token"}}]}}}}'
-oc -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"containers":[{"name":"sysdig-agent","volumeMounts": [{"mountPath": "/opt/draios/kubernetes/prometheus/secrets","name": "prometheus-k8s-token"}]}]}}}}'
-wget 'https://raw.githubusercontent.com/sysdiglabs/promcat-resources/master/resources/openshift/include/rules-v3.11.yaml'
-oc apply -f rules-v3.11.yaml
diff --git a/resources/openshift/include/installation-v4.3.sh b/resources/openshift/include/installation-v4.3.sh
deleted file mode 100755
index 6e4f0ec1..00000000
--- a/resources/openshift/include/installation-v4.3.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-export SECRET=`oc get secret -n openshift-monitoring | grep prometheus-k8s-token | head -n 1 | awk '{ print $1 }'`
-export TOKEN=`echo $(oc get secret $SECRET -n openshift-monitoring -o json | jq -r '.data.token') | base64 -d`
-oc -n sysdig-agent create secret generic prometheus-k8s-token --from-literal=token=$TOKEN
-oc -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"volumes":[{"name":"prometheus-k8s-token","secret":{"defaultMode":420,"secretName":"prometheus-k8s-token"}}]}}}}'
-oc -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"containers":[{"name":"sysdig-agent","volumeMounts": [{"mountPath": "/opt/draios/kubernetes/prometheus/secrets","name": "prometheus-k8s-token"}]}]}}}}'
-wget 'https://raw.githubusercontent.com/sysdiglabs/promcat-resources/master/resources/openshift/include/rules-v4.3.yaml'
-oc apply -f rules-v4.3.yaml
diff --git a/resources/openshift/include/rules-v3.11.yaml b/resources/openshift/include/rules-v3.11.yaml
deleted file mode 100644
index 2ef560f8..00000000
--- a/resources/openshift/include/rules-v3.11.yaml
+++ /dev/null
@@ -1,308 +0,0 @@
-apiVersion: monitoring.coreos.com/v1
-kind: PrometheusRule
-metadata:
- name: prometheus-sysdig-k8s-rules
- namespace: openshift-monitoring
- labels:
- prometheus: k8s
- role: alert-rules
-spec:
- "groups":
- - "name": "Sysdig.k8s.general.rules"
- "rules":
- - "expr": up{job=~"kubelet|apiserver|kube-controllers|scheduler"}
- "record": "up:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_resident_memory_bytes{job=~"kubelet|apiserver|kube-controllers|scheduler"}
- "record": "process_resident_memory_bytes:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_cpu_seconds_total{job=~"kubelet|apiserver|kube-controllers|scheduler"}
- "record": "process_cpu_seconds_total:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- go_goroutines{job=~"kubelet|apiserver|kube-controllers|scheduler"}
- "record": "go_goroutines:kubernetes"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.kubelet.rules"
- "rules":
- - "expr": kubelet_running_pod_count{job="kubelet"}
- "record": "kubelet_running_pod_count:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_running_container_count{job="kubelet"}
- "record": "kubelet_running_container_count:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": volume_manager_total_volumes{job="kubelet"}
- "record": "volume_manager_total_volumes:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": volume_manager_total_volumes{job="kubelet",state="desired_state_of_world"}
- "record": "volume_manager_total_volumes:desired:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_node_config_error{job="kubelet"}
- "record": "kubelet_node_config_error:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_runtime_operations{job="kubelet"}
- "record": "kubelet_runtime_operations_total:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_runtime_operations_errors{job="kubelet"}
- "record": "kubelet_runtime_operations_errors_total:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- sum(rate(kubelet_runtime_operations_latency_microseconds{job="kubelet"}[5m])) by (instance, operation_type, quantile)
- "record": "operation_duration_seconds:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_pod_start_latency_microseconds_count{job="kubelet"}
- "record": "kubelet_pod_start_duration_seconds_count:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_pod_worker_latency_microseconds_count{job="kubelet"}
- "record": "kubelet_pod_worker_duration_seconds_count:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pod_start_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, le))
- "record": "pod_start_duration_seconds:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, le))
- "record": "pod_worker_duration_seconds:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- storage_operation_duration_seconds_count{job="kubelet"}
- "record": "storage_operation_duration_seconds_count:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- storage_operation_errors_total{job="kubelet"}
- "record": "storage_operation_errors_total:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(storage_operation_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, operation_name, volume_plugin, le))
- "record": "storage_operation_duration_seconds:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_cgroup_manager_latency_microseconds{job="kubelet"}
- "record": "kubelet_cgroup_manager_duration_seconds_count:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_cgroup_manager_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, operation_type, le))
- "record": "cgroup_manager_duration_seconds:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_pleg_relist_latency_microseconds{job="kubelet"}
- "record": "kubelet_pleg_relist_duration_seconds_count:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_interval_seconds_bucket{job="kubelet"}[5m])) by (instance, le))
- "record": "pleg_relist_interval_seconds:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, le))
- "record": "pleg_relist_duration_seconds:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- rest_client_requests_total{job="kubelet"}
- "record": "rest_client_requests_total_code:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job="kubelet"}[5m])) by (instance, verb, url, le))
- "record": "request_duration_seconds:kubelet"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.scheduler.rules"
- "rules":
- - "expr": up{job="scheduler"}
- "record": "up:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_e2e_scheduling_duration_seconds_count{job="scheduler"}
- "record": "scheduler_e2e_scheduling_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_binding_duration_seconds_count{job="scheduler"}
- "record": "scheduler_binding_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_scheduling_algorithm_duration_seconds_count{job="scheduler"}
- "record": "scheduler_scheduling_algorithm_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_volume_scheduling_duration_seconds_count{job="scheduler"}
- "record": "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_e2e_scheduling_duration_seconds_bucket{job="scheduler"}[5m])) by (instance, le))
- "record": "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_binding_duration_seconds_bucket{job="scheduler"}[5m])) by (instance, le))
- "record": "scheduler_binding_duration_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_scheduling_algorithm_duration_seconds_bucket{job="scheduler"}[5m])) by (instance, le))
- "record": "scheduler_scheduling_algorithm_duration_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_volume_scheduling_duration_seconds_bucket{job="scheduler"}[5m])) by (instance, le))
- "record": "scheduler_volume_scheduling_duration_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="scheduler"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": rest_client_requests_total{job="scheduler"}
- "record": "rest_client_requests_total:kube_scheduler"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.api.rules"
- "rules":
- - "expr": apiserver_request_count{job="apiserver"}
- "record": "apiserver_request_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(apiserver_request_latencies_bucket[5m])) by (verb, le))
- "record": "apiserver_request_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": workqueue_adds_total{job="apiserver"}
- "record": "workqueue_adds_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": workqueue_depth{job="apiserver"}
- "record": "workqueue_depth:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job="apiserver"}[5m])) by (instance, name, le))
- "record": "workqueue_queue_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": etcd_helper_cache_entry_count{job="apiserver"}
- "record": "etcd_helper_cache_entry_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": etcd_helper_cache_hit_count{job="apiserver"}
- "record": "etcd_helper_cache_hit_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": etcd_helper_cache_miss_count{job="apiserver"}
- "record": "etcd_helper_cache_miss_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": etcd_request_cache_get_latencies_summary{quantile="0.99"}
- "record": "etcd_request_cache_get_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": etcd_request_cache_add_latencies_summary{quantile="0.99"}
- "record": "etcd_request_cache_add_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.controller_manager.rules"
- "rules":
- - "expr": up{job=~"kube-controllers"}
- "record": "up:controllermanager"
- "labels":
- "sysdig": "true"
- - "expr": APIServiceRegistrationController_adds
- "record": "workqueue_adds_total:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": APIServiceOpenAPIAggregationControllerQueue1_depth
- "record": "workqueue_depth:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": APIServiceOpenAPIAggregationControllerQueue1_work_duration{quantile="0.99"}
- "record": "workqueue_queue_duration_seconds_bucket:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=~"kubelet", verb="POST"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:post"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=~"kubelet", verb="GET"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:get"
- "labels":
- "sysdig": "true"
- - "expr": apiserver_request_count{client=~".*kube-controller-manager"}
- "record": "rest_client_requests_total:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.kube_proxy.rules"
- "rules":
- - "expr": up{k8s_app="kube-proxy"}
- "record": "up:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : kubeproxy_sync_proxy_rules_duration_seconds_count{k8s_app="kube-proxy"}
- "record": "kubeproxy_sync_proxy_rules_duration_seconds_count:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{k8s_app="kube-proxy"}[5m]))
- "record": "kubeproxy_sync_proxy_rules_duration_seconds_bucket:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : kubeproxy_network_programming_duration_seconds_count{k8s_app="kube-proxy"}
- "record": "kubeproxy_network_programming_duration_seconds_count:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket{k8s_app="kube-proxy"}[5m])) by (instance, le))
- "record": "kubeproxy_network_programming_duration_seconds_bucket:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": rest_client_requests_total{k8s_app="kube-proxy"}
- "record": "rest_client_requests_total:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{k8s_app="kube-proxy",verb="POST"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:post:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{k8s_app="kube-proxy",verb="GET"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:get:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_resident_memory_bytes{k8s_app="kube-proxy"}
- "record": "process_resident_memory_bytes:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_cpu_seconds_total{k8s_app="kube-proxy"}
- "record": "process_cpu_seconds_total:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": |
- go_goroutines{k8s_app="kube-proxy"}
- "record": "go_goroutines:kube_proxy"
- "labels":
- "sysdig": "true"
\ No newline at end of file
diff --git a/resources/openshift/include/rules-v4.3.yaml b/resources/openshift/include/rules-v4.3.yaml
deleted file mode 100644
index 60da506e..00000000
--- a/resources/openshift/include/rules-v4.3.yaml
+++ /dev/null
@@ -1,483 +0,0 @@
-apiVersion: monitoring.coreos.com/v1
-kind: PrometheusRule
-metadata:
- name: prometheus-sysdig-k8s-rules
- namespace: openshift-monitoring
- labels:
- prometheus: k8s
- role: sysdig-rules
-spec:
- "groups":
- - "name": "Sysdig.k8s.general.rules"
- "rules":
- - "expr": up{job=~"kubelet|apiserver|controller-manager|kube-controller-manager|scheduler|dns-default"}
- "record": "up:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_resident_memory_bytes{job=~"kubelet|apiserver|controller-manager|kube-controller-amanger|scheduler|dns-default"}
- "record": "process_resident_memory_bytes:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_cpu_seconds_total{job=~"kubelet|apiserver|controller-manager|kube-controller-amanger|scheduler|dns-default"}
- "record": "process_cpu_seconds_total:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- go_goroutines{job=~"kubelet|apiserver|controller-manager|kube-controller-amanger|scheduler|dns-default"}
- "record": "go_goroutines:kubernetes"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.kubelet.rules"
- "rules":
- - "expr": kubelet_running_pod_count{job="kubelet"}
- "record": "kubelet_running_pod_count:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_running_container_count{job="kubelet"}
- "record": "kubelet_running_container_count:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": volume_manager_total_volumes{job="kubelet"}
- "record": "volume_manager_total_volumes:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": volume_manager_total_volumes{job="kubelet",state="desired_state_of_world"}
- "record": "volume_manager_total_volumes:desired:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_node_config_error{job="kubelet"}
- "record": "kubelet_node_config_error:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_runtime_operations_total{job="kubelet"}
- "record": "kubelet_runtime_operations_total:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": kubelet_runtime_operations_errors_total{job="kubelet"}
- "record": "kubelet_runtime_operations_errors_total:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_runtime_operations_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, operation_type, le))
- "record": "operation_duration_seconds:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_pod_start_duration_seconds_count{job="kubelet"}
- "record": "kubelet_pod_start_duration_seconds_count:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_pod_worker_duration_seconds_count{job="kubelet"}
- "record": "kubelet_pod_worker_duration_seconds_count:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pod_start_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, le))
- "record": "pod_start_duration_seconds:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, le))
- "record": "pod_worker_duration_seconds:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- storage_operation_duration_seconds_count{job="kubelet"}
- "record": "storage_operation_duration_seconds_count:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- storage_operation_errors_total{job="kubelet"}
- "record": "storage_operation_errors_total:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(storage_operation_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, operation_name, volume_plugin, le))
- "record": "storage_operation_duration_seconds:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_cgroup_manager_duration_seconds_count{job="kubelet"}
- "record": "kubelet_cgroup_manager_duration_seconds_count:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_cgroup_manager_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, operation_type, le))
- "record": "cgroup_manager_duration_seconds:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- kubelet_pleg_relist_duration_seconds_count{job="kubelet"}
- "record": "kubelet_pleg_relist_duration_seconds_count:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_interval_seconds_bucket{job="kubelet"}[5m])) by (instance, le))
- "record": "pleg_relist_interval_seconds:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, le))
- "record": "pleg_relist_duration_seconds:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- rest_client_requests_total{job="kubelet"}
- "record": "rest_client_requests_total_code:kubelet"
- "labels":
- "sysdig": "true"
- - "expr": |
- histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kubelet"}[5m])) by (instance, verb, url, le))
- "record": "request_duration_seconds:kubelet"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.scheduler.rules"
- "rules":
- - "expr": up{job="scheduler"}
- "record": "up:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_e2e_scheduling_duration_seconds_count{job="scheduler"}
- "record": "scheduler_e2e_scheduling_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_binding_duration_seconds_count{job="scheduler"}
- "record": "scheduler_binding_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_scheduling_algorithm_duration_seconds_count{job="scheduler"}
- "record": "scheduler_scheduling_algorithm_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": scheduler_volume_scheduling_duration_seconds_count{job="scheduler"}
- "record": "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_e2e_scheduling_duration_seconds_bucket{job="scheduler"}[5m])) by (instance, le))
- "record": "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_binding_duration_seconds_bucket{job="scheduler"}[5m])) by (instance, le))
- "record": "scheduler_binding_duration_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_scheduling_algorithm_duration_seconds_bucket{job="scheduler"}[5m])) by (instance, le))
- "record": "scheduler_scheduling_algorithm_duration_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(scheduler_volume_scheduling_duration_seconds_bucket{job="scheduler"}[5m])) by (instance, le))
- "record": "scheduler_volume_scheduling_duration_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="scheduler"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:kube_scheduler"
- "labels":
- "sysdig": "true"
- - "expr": rest_client_requests_total{job="scheduler"}
- "record": "rest_client_requests_total:kube_scheduler"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.api.rules"
- "rules":
- - "expr": apiserver_request_total{job="apiserver"}
- "record": "apiserver_request_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(apiserver_request_duration_seconds_bucket{job="apiserver"}[5m])) by (verb, le))
- "record": "apiserver_request_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": workqueue_adds_total{job="apiserver"}
- "record": "workqueue_adds_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": workqueue_depth{job="apiserver"}
- "record": "workqueue_depth:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job="apiserver"}[5m])) by (instance, name, le))
- "record": "workqueue_queue_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": etcd_helper_cache_entry_total{job="apiserver"}
- "record": "etcd_helper_cache_entry_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": etcd_helper_cache_hit_total{job="apiserver"}
- "record": "etcd_helper_cache_hit_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": etcd_helper_cache_miss_total{job="apiserver"}
- "record": "etcd_helper_cache_miss_total:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99,sum(rate(etcd_request_cache_get_duration_seconds_bucket{job="apiserver"}[5m])) by (instance, le))
- "record": "etcd_request_cache_get_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99,sum(rate(etcd_request_cache_add_duration_seconds_bucket{job="apiserver"}[5m])) by (instance, le))
- "record": "etcd_request_cache_add_duration_seconds_bucket:kubernetes_apiservers"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.controller_manager.rules"
- "rules":
- - "expr": up{job=~"kube-controller-manager|controller-manager"}
- "record": "up:controllermanager"
- "labels":
- "sysdig": "true"
- - "expr": workqueue_adds_total{job=~"kube-controller-manager|controller-manager"}
- "record": "workqueue_adds_total:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": workqueue_depth{job=~"kube-controller-manager|controller-manager"}
- "record": "workqueue_depth:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job=~"kube-controller-manager"}[5m])) by (instance, name, le))
- "record": "workqueue_queue_duration_seconds_bucket:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=~"api", verb="POST"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:post"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=~"api", verb="GET"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:get"
- "labels":
- "sysdig": "true"
- - "expr": rest_client_requests_total{job=~"kube-controller-manager|controller-manager"}
- "record": "rest_client_requests_total:kubernetes_control_manager"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.kube_proxy.rules"
- "rules":
- - "expr": up{k8s_app="kube-proxy"}
- "record": "up:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : kubeproxy_sync_proxy_rules_duration_seconds_count{k8s_app="kube-proxy"}
- "record": "kubeproxy_sync_proxy_rules_duration_seconds_count:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{k8s_app="kube-proxy"}[5m]))
- "record": "kubeproxy_sync_proxy_rules_duration_seconds_bucket:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : kubeproxy_network_programming_duration_seconds_count{k8s_app="kube-proxy"}
- "record": "kubeproxy_network_programming_duration_seconds_count:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr" : histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket{k8s_app="kube-proxy"}[5m])) by (instance, le))
- "record": "kubeproxy_network_programming_duration_seconds_bucket:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": rest_client_requests_total{k8s_app="kube-proxy"}
- "record": "rest_client_requests_total:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{k8s_app="kube-proxy",verb="POST"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:post:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{k8s_app="kube-proxy",verb="GET"}[5m])) by (verb, url, le))
- "record": "rest_client_request_latency_seconds_bucket:get:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_resident_memory_bytes{k8s_app="kube-proxy"}
- "record": "process_resident_memory_bytes:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_cpu_seconds_total{k8s_app="kube-proxy"}
- "record": "process_cpu_seconds_total:kube_proxy"
- "labels":
- "sysdig": "true"
- - "expr": |
- go_goroutines{k8s_app="kube-proxy"}
- "record": "go_goroutines:kube_proxy"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.etcd.rules"
- "rules":
- - "expr": up{job=~"etcd"}
- "record": "up:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_resident_memory_bytes{job=~"etcd"}
- "record": "process_resident_memory_bytes:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- process_cpu_seconds_total{job=~"etcd"}
- "record": "process_cpu_seconds_total:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- go_goroutines{job=~"etcd"}
- "record": "go_goroutines:kubernetes"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_server_has_leader
- "record": "etcd_server_has_leader:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_server_leader_changes_seen_total
- "record": "etcd_server_leader_changes_seen_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- grpc_server_started_total
- "record": "grpc_server_started_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- sum by (grpc_type,grpc_code,grpc_service)(grpc_server_handled_total)
- "record": "grpc_server_handled_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- grpc_server_handling_seconds_bucket
- "record": "grpc_server_handling_seconds_bucket:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_network_peer_round_trip_time_seconds_bucket
- "record": "etcd_network_peer_round_trip_time_seconds_bucket:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_debugging_mvcc_db_total_size_in_bytes
- "record": "etcd_debugging_mvcc_db_total_size_in_bytes:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_disk_wal_fsync_duration_seconds_bucket
- "record": "etcd_disk_wal_fsync_duration_seconds_bucket:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_disk_backend_commit_duration_seconds_bucket
- "record": "etcd_disk_backend_commit_duration_seconds_bucket:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_http_failed_total
- "record": "etcd_http_failed_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_http_successful_duration_seconds_bucket
- "record": "etcd_http_successful_duration_seconds_bucket:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_network_client_grpc_received_bytes_total
- "record": "etcd_network_client_grpc_received_bytes_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_network_client_grpc_sent_bytes_total
- "record": "etcd_network_client_grpc_sent_bytes_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_network_client_grpc_sent_bytes_total
- "record": "etcd_network_client_grpc_sent_bytes_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_server_proposals_failed_total
- "record": "etcd_server_proposals_failed_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_server_proposals_committed_total
- "record": "etcd_server_proposals_committed_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_server_proposals_applied_total
- "record": "etcd_server_proposals_applied_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- etcd_network_peer_sent_failures_total
- "record": "etcd_network_peer_sent_failures_total:sysdig"
- "labels":
- "sysdig": "true"
-
- - "name": "Sysdig.k8s.dns.rules"
- "rules":
- - "expr": |
- coredns_panic_count_total
- "record": "coredns_panic_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_response_rcode_count_total
- "record": "coredns_dns_response_rcode_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_forward_response_rcode_count_total
- "record": "coredns_forward_response_rcode_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_request_duration_seconds_bucket
- "record": "coredns_dns_request_duration_seconds_bucket:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_request_type_count_total
- "record": "coredns_dns_request_type_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_forward_request_count_total
- "record": "coredns_forward_request_count_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_cache_hits_total
- "record": "coredns_cache_hits_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_cache_misses_total
- "record": "coredns_cache_misses_total:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_cache_size
- "record": "coredns_cache_size:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_plugin_enabled
- "record": "coredns_plugin_enabled:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_request_size_bytes_bucket
- "record": "coredns_dns_request_size_bytes_bucket:sysdig"
- "labels":
- "sysdig": "true"
- - "expr": |
- coredns_dns_response_size_bytes_bucket
- "record": "coredns_dns_response_size_bytes_bucket:sysdig"
- "labels":
- "sysdig": "true"
\ No newline at end of file
diff --git a/resources/openshift/include/sysdig-agent.yaml b/resources/openshift/include/sysdig-agent.yaml
deleted file mode 100644
index c4f64849..00000000
--- a/resources/openshift/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,83 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: agent
-data:
- prometheus.yaml: |-
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
- scrape_configs:
- - job_name: 'prometheus' # config for federation
- honor_labels: true
- metrics_path: '/federate'
- scheme: https
- bearer_token_file: /opt/draios/kubernetes/prometheus/secrets/token
- tls_config:
- insecure_skip_verify: true
- metric_relabel_configs:
- - regex: 'kubernetes_pod_name'
- action: labeldrop
- params:
- 'match[]':
- - '{sysdig="true"}'
- sysdig_sd_configs:
- - tags:
- namespace: openshift-monitoring
- pod: prometheus-k8s-0
-
- dragent.yaml: |-
- metrics_excess_log: true
- use_promscrape: true
- prometheus:
- enabled: true
- process_filter:
- - exclude:
- process.name: docker-proxy
- - exclude:
- container.image: sysdig/agent
- # special rule to exclude processes matching configured prometheus appcheck
- - exclude:
- appcheck.match: prometheus
- - include:
- container.label.io.prometheus.scrape: "true"
- conf:
- # Custom path definition
- # If the label doesn't exist we'll still use "/metrics"
- path: "{container.label.io.prometheus.path}"
-
- # Port definition
- # - If the label exists, only scan the given port.
- # - If it doesn't, use port_filter instead.
- # - If there is no port_filter defined, skip this process
- port: "{container.label.io.prometheus.port}"
- port_filter:
- - exclude: [9092,9200,9300]
- - include: 9090-9500
- - include: [9913,9984,24231,42004]
- - exclude:
- container.label.io.prometheus.scrape: "false"
- - include:
- kubernetes.pod.annotation.prometheus.io/scrape: true
- kubernetes.pod.annotation.prometheus.io/scheme: "https"
- conf:
- use_https: true
- path: "{kubernetes.pod.annotation.prometheus.io/path}"
- port: "{kubernetes.pod.annotation.prometheus.io/port}"
- - include:
- kubernetes.pod.annotation.prometheus.io/scrape: true
- conf:
- path: "{kubernetes.pod.annotation.prometheus.io/path}"
- port: "{kubernetes.pod.annotation.prometheus.io/port}"
- - exclude:
- kubernetes.pod.annotation.prometheus.io/scrape: false
- - include:
- process.name: oauth-proxy
- kubernetes.pod.label.app: prometheus
- conf:
- path: "/federate"
- use_https: true
- port: 9091
- ssl_verify: false
- auth_token_path: "/opt/draios/kubernetes/prometheus/secrets/token"
\ No newline at end of file
diff --git a/resources/openshift/recording-rules-v3.11.yaml b/resources/openshift/recording-rules-v3.11.yaml
deleted file mode 100644
index 0cf89d79..00000000
--- a/resources/openshift/recording-rules-v3.11.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
-apiVersion: v1
-kind: RecordingRule
-app: Openshift
-version: 1.0.0
-appVersion:
-- '3.11'
-configurations:
-- name: rules.yaml
- file: include/rules-v3.11.yaml
-descriptionFile: RECORDING-RULES.md
diff --git a/resources/openshift/recording-rules-v4.3.yaml b/resources/openshift/recording-rules-v4.3.yaml
deleted file mode 100644
index 88264467..00000000
--- a/resources/openshift/recording-rules-v4.3.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
-apiVersion: v1
-kind: RecordingRule
-app: Openshift
-version: 1.0.0
-appVersion:
-- '4.3'
-configurations:
-- name: rules.yaml
- file: include/rules-v4.3.yaml
-descriptionFile: RECORDING-RULES.md
diff --git a/resources/openshift/setup-guide-v3.11.yaml b/resources/openshift/setup-guide-v3.11.yaml
deleted file mode 100644
index 0f3a13a7..00000000
--- a/resources/openshift/setup-guide-v3.11.yaml
+++ /dev/null
@@ -1,14 +0,0 @@
-apiVersion: v1
-kind: SetupGuide
-app: Openshift
-version: 1.0.0
-appVersion:
-- '3.11'
-configurations:
-- name: installation.sh
- file: include/installation-v3.11.sh
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
-- name: rules.yaml
- file: include/rules-v3.11.yaml
-descriptionFile: INSTALL.md
diff --git a/resources/openshift/setup-guide-v4.3.yaml b/resources/openshift/setup-guide-v4.3.yaml
deleted file mode 100644
index ab7f0ea7..00000000
--- a/resources/openshift/setup-guide-v4.3.yaml
+++ /dev/null
@@ -1,14 +0,0 @@
-apiVersion: v1
-kind: SetupGuide
-app: Openshift
-version: 1.0.0
-appVersion:
-- '4.3'
-configurations:
-- name: installation.sh
- file: include/installation-v4.3.sh
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
-- name: rules.yaml
- file: include/rules-v4.3.yaml
-descriptionFile: INSTALL.md
diff --git a/resources/oracle-db/INSTALL.md b/resources/oracle-db/INSTALL.md
index 543a0db2..0ae0492f 100644
--- a/resources/oracle-db/INSTALL.md
+++ b/resources/oracle-db/INSTALL.md
@@ -26,10 +26,3 @@ echo -n YOUR_CONN_STRING | base64
A file with custom queries for extra metrics can be found in the `custom-metrics` ConfigMap. You can edit them or add new metrics following the [format defined in the exporter](https://github.com/iamseth/oracledb_exporter/blob/master/multi-metric-dual-example-labels.toml).
-
-# Sysdig Agent configuration
-
-You can download the sample configuration file below and apply the changes by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
diff --git a/resources/oracle-db/dashboards.yaml b/resources/oracle-db/dashboards.yaml
index efee0227..2a94fab0 100644
--- a/resources/oracle-db/dashboards.yaml
+++ b/resources/oracle-db/dashboards.yaml
@@ -6,25 +6,6 @@ appVersion:
- 12.1.0.2
- 19.3.0.0
configurations:
-- name: 'Oracle Database'
- kind: Sysdig
- image: 'oracle-db/images/oracledb-sysdig-dashboard.png'
- description: |
- This dashboard offers information on:
- * UP
- * Activity
- * Sessions
- * Resource usage
- * Wait Time
- * Slow Queries
- * Big Queries
- * Top DBA Tables
- * Top DBA Table Partitions
- * Top DBA Cluster Tables
- * Top User Tables
- * Top User Table Partitions
- * Top User Cluster Tables
- file: include/dashboard-sysdig-oracledb.json
- name: 'Oracle Database'
kind: Grafana
image: 'oracle-db/images/oracledb-grafana-dashboard.png'
diff --git a/resources/oracle-db/images/oracledb-sysdig-dashboard.png b/resources/oracle-db/images/oracledb-sysdig-dashboard.png
deleted file mode 100644
index 930a39c3..00000000
Binary files a/resources/oracle-db/images/oracledb-sysdig-dashboard.png and /dev/null differ
diff --git a/resources/oracle-db/include/dashboard-sysdig-oracledb.json b/resources/oracle-db/include/dashboard-sysdig-oracledb.json
deleted file mode 100644
index 1da07396..00000000
--- a/resources/oracle-db/include/dashboard-sysdig-oracledb.json
+++ /dev/null
@@ -1,3843 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 2,
- "w": 12,
- "x": 0,
- "y": 8
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 12,
- "x": 0,
- "y": 2
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 12,
- "x": 12,
- "y": 2
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 8
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 8,
- "x": 0,
- "y": 14
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 8,
- "x": 8,
- "y": 14
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 8,
- "x": 16,
- "y": 14
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 8,
- "x": 0,
- "y": 20
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 8,
- "x": 0,
- "y": 26
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 8,
- "x": 8,
- "y": 20
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 8,
- "x": 16,
- "y": 20
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 8,
- "x": 8,
- "y": 26
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 8,
- "x": 16,
- "y": 26
- }
- ],
- "name": "Oracle DB",
- "panels": [
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_up",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_up",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_up",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_up",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- }
- }
- ],
- "description": "",
- "id": 1,
- "name": "UP",
- "numberThresholds": {
- "base": {
- "displayText": "Down",
- "severity": "high"
- },
- "useDefaults": null,
- "values": [
- {
- "displayText": "UP",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- }
- ]
- },
- "type": "basicNumber"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Used",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_resource_current_utilization",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_resource_current_utilization",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_resource_current_utilization",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_resource_current_utilization",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "resource_name",
- "documentId": "resource_name",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "resource_name",
- "identity": false,
- "metricType": "tag",
- "name": "resource_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Resource name",
- "id": "resource_name",
- "sorting": null
- }
- ],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Limit",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_resource_limit_value",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_resource_limit_value",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_resource_limit_value",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_resource_limit_value",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 2,
- "name": "Resources usage vs limits",
- "type": "basicTable"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Exec",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(oracledb_activity_execute_count[$__interval]) * on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Parse",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(oracledb_activity_parse_count_total[$__interval]) * on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "User Commits",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(oracledb_activity_user_commits[$__interval]) * on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "User Rollbacks",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(oracledb_activity_user_rollbacks[$__interval]) * on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Activity",
- "type": "advancedTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_sessions_value",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_sessions_value",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_sessions_value",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "sum",
- "id": "oracledb_sessions_value",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "status",
- "documentId": "status",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "status",
- "identity": false,
- "metricType": "tag",
- "name": "status",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "status",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Sessions",
- "type": "basicTimechart"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Used",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_tablespace_bytes",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_tablespace_bytes",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_tablespace_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "oracledb_tablespace_bytes",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "tablespace",
- "documentId": "tablespace",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "tablespace",
- "identity": false,
- "metricType": "tag",
- "name": "tablespace",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "Tablespace",
- "id": "tablespace",
- "sorting": null
- }
- ],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Free",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_tablespace_free",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_tablespace_free",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_tablespace_free",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_tablespace_free",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 5,
- "name": "Tablespace Usage",
- "type": "basicTable"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Administrative",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_wait_time_administrative",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_wait_time_administrative",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_wait_time_administrative",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_wait_time_administrative",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Application",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_wait_time_application",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_wait_time_application",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_wait_time_application",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_wait_time_application",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Commit",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_wait_time_commit",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_wait_time_commit",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_wait_time_commit",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_wait_time_commit",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Concurrency",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_wait_time_concurrency",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_wait_time_concurrency",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_wait_time_concurrency",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_wait_time_concurrency",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Config",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_wait_time_configuration",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_wait_time_configuration",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_wait_time_configuration",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_wait_time_configuration",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Network",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_wait_time_network",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_wait_time_network",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_wait_time_network",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_wait_time_network",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Other",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_wait_time_other",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_wait_time_other",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_wait_time_other",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_wait_time_other",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Scheduler",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_wait_time_scheduler",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_wait_time_scheduler",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_wait_time_scheduler",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_wait_time_scheduler",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "System IO",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_wait_time_system_io",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_wait_time_system_io",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_wait_time_system_io",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_wait_time_system_io",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "User IO",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_wait_time_user_io",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_wait_time_user_io",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_wait_time_user_io",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_wait_time_user_io",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Wait time",
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "\u00b5s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_slow_queries_p95_time_usecs",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_slow_queries_p95_time_usecs",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_slow_queries_p95_time_usecs",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_slow_queries_p95_time_usecs",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "P99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "\u00b5s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_slow_queries_p99_time_usecs",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_slow_queries_p99_time_usecs",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_slow_queries_p99_time_usecs",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_slow_queries_p99_time_usecs",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Slow Queries",
- "type": "basicTimechart"
- },
- {
- "applyScopeToAll": false,
- "applySegmentationToAll": false,
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_big_queries_p95_rows",
- "documentTimestamp": 1599642813640,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_big_queries_p95_rows",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_big_queries_p95_rows",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_big_queries_p95_rows",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "P99",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_big_queries_p99_rows",
- "documentTimestamp": 1599642813641,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_big_queries_p99_rows",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_big_queries_p99_rows",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "oracledb_big_queries_p99_rows",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Big Queries",
- "type": "basicTimechart"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_size_dba_segments_top100_table_bytes",
- "documentTimestamp": 1599642813641,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_size_dba_segments_top100_table_bytes",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_size_dba_segments_top100_table_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "oracledb_size_dba_segments_top100_table_bytes",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "segment_name",
- "documentId": "segment_name",
- "documentTimestamp": 1599642813641,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "segment_name",
- "identity": false,
- "metricType": "tag",
- "name": "segment_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "segment_name",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 9,
- "name": "Top DBA Tables",
- "type": "basicToplist"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_size_user_segments_top100_table_bytes",
- "documentTimestamp": 1599642813641,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_size_user_segments_top100_table_bytes",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_size_user_segments_top100_table_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "oracledb_size_user_segments_top100_table_bytes",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "segment_name",
- "documentId": "segment_name",
- "documentTimestamp": 1599642813641,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "segment_name",
- "identity": false,
- "metricType": "tag",
- "name": "segment_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "segment_name",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 10,
- "name": "Top User Tables",
- "type": "basicToplist"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_size_dba_segments_top100_table_partition_bytes",
- "documentTimestamp": 1599642813641,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_size_dba_segments_top100_table_partition_bytes",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_size_dba_segments_top100_table_partition_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "oracledb_size_dba_segments_top100_table_partition_bytes",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "segment_name",
- "documentId": "segment_name",
- "documentTimestamp": 1599642813641,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "segment_name",
- "identity": false,
- "metricType": "tag",
- "name": "segment_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "segment_name",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 11,
- "name": "Top DBA Partition Tables",
- "type": "basicToplist"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_size_dba_segments_top100_cluster_bytes",
- "documentTimestamp": 1599642813641,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_size_dba_segments_top100_cluster_bytes",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_size_dba_segments_top100_cluster_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "oracledb_size_dba_segments_top100_cluster_bytes",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "segment_name",
- "documentId": "segment_name",
- "documentTimestamp": 1599642813641,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "segment_name",
- "identity": false,
- "metricType": "tag",
- "name": "segment_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "segment_name",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 12,
- "name": "Top DBA Cluster Tables",
- "type": "basicToplist"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_size_user_segments_top100_table_partition_bytes",
- "documentTimestamp": 1599642813641,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_size_user_segments_top100_table_partition_bytes",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_size_user_segments_top100_table_partition_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "oracledb_size_user_segments_top100_table_partition_bytes",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "segment_name",
- "documentId": "segment_name",
- "documentTimestamp": 1599642813641,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "segment_name",
- "identity": false,
- "metricType": "tag",
- "name": "segment_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "segment_name",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 13,
- "name": "Top User Partition Tables",
- "type": "basicToplist"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "P95",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "oracledb_size_user_segments_top100_cluster_bytes",
- "documentTimestamp": 1599642813642,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "oracledb_size_user_segments_top100_cluster_bytes",
- "identity": false,
- "metricType": "gauge",
- "name": "oracledb_size_user_segments_top100_cluster_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "avg",
- "min",
- "max"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "oracledb_size_user_segments_top100_cluster_bytes",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "segment_name",
- "documentId": "segment_name",
- "documentTimestamp": 1599642813642,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "segment_name",
- "identity": false,
- "metricType": "tag",
- "name": "segment_name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "routingInfo": {
- "customerId": null,
- "routing": null
- },
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": null,
- "id": "segment_name",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 14,
- "name": "Top User Cluster Tables",
- "type": "basicToplist"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1599642813591,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1599642813591,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1599641947344,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1599641947344,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1599642813591,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1599642813591,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1599642370818,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1599642370818,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/oracle-db/include/sysdig-agent-config.yaml b/resources/oracle-db/include/sysdig-agent-config.yaml
deleted file mode 100644
index 3a0f41a6..00000000
--- a/resources/oracle-db/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: YourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/oracle-db/setup-guide.yaml b/resources/oracle-db/setup-guide.yaml
index 0de84390..7d41fa1b 100644
--- a/resources/oracle-db/setup-guide.yaml
+++ b/resources/oracle-db/setup-guide.yaml
@@ -8,6 +8,4 @@ appVersion:
configurations:
- name: oracle-db-deployment.yaml
file: include/oracle-db-deployment.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
descriptionFile: INSTALL.md
diff --git a/resources/php-fpm/dashboards.yaml b/resources/php-fpm/dashboards.yaml
index 60bc5bfc..42de9981 100644
--- a/resources/php-fpm/dashboards.yaml
+++ b/resources/php-fpm/dashboards.yaml
@@ -4,14 +4,4 @@ app: php-fpm
version: 1.0.0
appVersion:
- '7.2'
-configurations:
-- name: php-fpm
- kind: Sysdig
- image: php-fpm/images/php-fpm.png
- description: |
- This dashboard offers information on:
- * Status
- * Requests
- * Processes
- * Connections
- file: include/php-fpm.json
+configurations: []
diff --git a/resources/php-fpm/images/php-fpm.png b/resources/php-fpm/images/php-fpm.png
deleted file mode 100644
index fb26af2d..00000000
Binary files a/resources/php-fpm/images/php-fpm.png and /dev/null differ
diff --git a/resources/php-fpm/include/deployment.yaml b/resources/php-fpm/include/deployment.yaml
index 3dd26c56..42dfd90d 100644
--- a/resources/php-fpm/include/deployment.yaml
+++ b/resources/php-fpm/include/deployment.yaml
@@ -16,6 +16,9 @@ spec:
labels:
app: php-fpm
pod: php-app
+ annotations:
+ prometheus.io/scrape: "true"
+ prometheus.io/port: "9253"
spec:
containers:
- image: php:7.2-fpm
diff --git a/resources/php-fpm/include/php-fpm.json b/resources/php-fpm/include/php-fpm.json
deleted file mode 100644
index 48f202da..00000000
--- a/resources/php-fpm/include/php-fpm.json
+++ /dev/null
@@ -1,1063 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": null,
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 5,
- "panelId": 1,
- "w": 12,
- "x": 12,
- "y": 19
- },
- {
- "h": 6,
- "panelId": 2,
- "w": 24,
- "x": 0,
- "y": 6
- },
- {
- "h": 5,
- "panelId": 3,
- "w": 12,
- "x": 0,
- "y": 24
- },
- {
- "h": 5,
- "panelId": 4,
- "w": 12,
- "x": 12,
- "y": 24
- },
- {
- "h": 5,
- "panelId": 5,
- "w": 12,
- "x": 0,
- "y": 29
- },
- {
- "h": 5,
- "panelId": 6,
- "w": 12,
- "x": 12,
- "y": 29
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 19
- },
- {
- "h": 3,
- "panelId": 8,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 9,
- "w": 4,
- "x": 0,
- "y": 3
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 12,
- "x": 12,
- "y": 0
- },
- {
- "h": 7,
- "panelId": 11,
- "w": 12,
- "x": 12,
- "y": 12
- },
- {
- "h": 7,
- "panelId": 12,
- "w": 12,
- "x": 0,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 8,
- "x": 4,
- "y": 0
- }
- ],
- "name": "PHP-FPM promcat",
- "panels": [
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pool < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{pool}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (pool, kube_cluster_name, kube_namespace_name, kube_workload_name) (phpfpm_active_processes{kube_cluster_name=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": "",
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": "",
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Active Processes by Pool",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pool < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{pool}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (pool, kube_cluster_name, kube_namespace_name, kube_workload_name) (phpfpm_total_processes{kube_cluster_name=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": "",
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": "",
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Total Processes by Pool",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pool < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{pool}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (pool, kube_cluster_name, kube_namespace_name, kube_workload_name) (rate(phpfpm_max_children_reached[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": "",
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": "",
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Children Limit Reached by Pool",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pool < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{pool}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (pool, kube_cluster_name, kube_namespace_name, kube_workload_name) (rate(phpfpm_accepted_connections[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": "",
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": "",
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Accepted Requests by Pool",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pool < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{pool}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (pool, kube_cluster_name, kube_namespace_name, kube_workload_name) (rate(phpfpm_slow_requests[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": "",
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": "",
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Slow Requests by Pool",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pool < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{pool}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (pool, kube_cluster_name, kube_namespace_name, kube_workload_name) (phpfpm_listen_queue)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": "",
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": "",
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pending Connections by Pool",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pool < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{pool}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (pool, kube_cluster_name, kube_namespace_name, kube_workload_name) (phpfpm_idle_processes{kube_cluster_name=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": "",
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": "",
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Idle Processes by Pool",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum (phpfpm_up{kube_cluster_name=~$cluster})"
- }
- ],
- "description": "PHP-FPM Instances",
- "id": 8,
- "name": "PHP-FPM Instances",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg (sum by (kube_workload_name,kube_namespace_name,kube_cluster_name)(phpfpm_up{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload})/sum by (kube_workload_name,kube_namespace_name,kube_cluster_name)(kube_workload_status_desired{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}))"
- }
- ],
- "description": "",
- "id": 9,
- "name": "Instances UP",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "ok",
- "value": 100.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "low",
- "value": 75.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "phpfpm_start_since{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}"
- }
- ],
- "description": "",
- "id": 10,
- "name": "Time Alive per Pod",
- "nullValueDisplayText": null,
- "type": "advancedToplist"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name,kube_pod_name, kube_workload_name) (rate (phpfpm_max_children_reached{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Child processes limit counter",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Listen queue: Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "phpfpm_listen_queue{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}"
- },
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "Listen queue length: Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}} ",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "phpfpm_listen_queue_length{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Processes in queue",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "child {{child}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (child) (rate(phpfpm_process_requests[$__interval]))"
- }
- ],
- "description": "",
- "id": 13,
- "name": "Requests served by child",
- "nullValueDisplayText": null,
- "type": "advancedToplist"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1655306711602,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1655306711602,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.workload.name",
- "documentId": "kubernetes.workload.name",
- "documentTimestamp": 1655306711602,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.workload.name",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "kube_workload_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "workload",
- "isVariable": true,
- "operand": "kubernetes.workload.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
diff --git a/resources/php-fpm/include/sysdig-agent.yaml b/resources/php-fpm/include/sysdig-agent.yaml
deleted file mode 100644
index de2a5c56..00000000
--- a/resources/php-fpm/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,63 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: YourClusterName
- metrics_excess_log: true
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
- snaplen: 512
- tags: role:cluster
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: php-fpm-default
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: drop
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_omit]
- regex: true
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
- target_label: __scheme__
- regex: (https?)
- - action: replace
- source_labels:
- - __meta_kubernetes_pod_container_name
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: (php-fpm-exporter);(.{0}$)
- replacement: php-fpm
- target_label: __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- - action: keep
- source_labels:
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: "php-fpm"
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
diff --git a/resources/php-fpm/setup-guide.yaml b/resources/php-fpm/setup-guide.yaml
index 1ee44125..1b9f73ba 100644
--- a/resources/php-fpm/setup-guide.yaml
+++ b/resources/php-fpm/setup-guide.yaml
@@ -7,6 +7,4 @@ appVersion:
configurations:
- name: deployment.yaml
file: include/deployment.yaml
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
descriptionFile: INSTALL.md
diff --git a/resources/portworx/README.md b/resources/portworx/README.md
index 4e91171b..d494646b 100644
--- a/resources/portworx/README.md
+++ b/resources/portworx/README.md
@@ -2,7 +2,7 @@
Portworx provides a fully integrated solution for persistent storage, data protection, disaster recovery, data security, cross-cloud and data migrations, and automated capacity management for applications running on Kubernetes.
# Prometheus and exporters
-Portworx already has a Prometheus endpoint with all the metrics exposed on the port 9001 (port 17001 if deployed in Openshift). In Kubernetes the pod is already annotated, so with the Sysdig agent you can scrape the endpoint right away.
+Portworx already has a Prometheus endpoint with all the metrics exposed on the port 9001 (port 17001 if deployed in Openshift). In Kubernetes the pod is already annotated, so Prometheus can scrape the endpoint right away.
# Metrics
- Portworx cluster statistics
diff --git a/resources/portworx/dashboards.yaml b/resources/portworx/dashboards.yaml
index 4a3c3a61..61291680 100644
--- a/resources/portworx/dashboards.yaml
+++ b/resources/portworx/dashboards.yaml
@@ -4,25 +4,4 @@ app: Portworx
version: 1.0.0
appVersion:
- '2.9'
-configurations:
-- name: Cluster
- kind: Sysdig
- image: portworx/images/portworx_cluster_sysdig.png
- description: |
- This dashboard offers information on:
- * Health
- * Network
- * Disk Stats
- * Pool Stats
- * Cache
- file: include/Portworx_Cluster.json
-- name: Volumes
- kind: Sysdig
- image: portworx/images/portworx_volumes_sysdig.png
- description: |
- This dashboard offers information on:
- * Volume Status
- * Volume Capacity & Usage
- * Volume Replication
- * Volume IOPS
- file: include/Portworx_Volumes.json
\ No newline at end of file
+configurations: []
\ No newline at end of file
diff --git a/resources/portworx/images/portworx_cluster_sysdig.png b/resources/portworx/images/portworx_cluster_sysdig.png
deleted file mode 100644
index e989d6f1..00000000
Binary files a/resources/portworx/images/portworx_cluster_sysdig.png and /dev/null differ
diff --git a/resources/portworx/images/portworx_volumes_sysdig.png b/resources/portworx/images/portworx_volumes_sysdig.png
deleted file mode 100644
index 460c6cd3..00000000
Binary files a/resources/portworx/images/portworx_volumes_sysdig.png and /dev/null differ
diff --git a/resources/portworx/include/Portworx_Cluster.json b/resources/portworx/include/Portworx_Cluster.json
deleted file mode 100644
index b61234e9..00000000
--- a/resources/portworx/include/Portworx_Cluster.json
+++ /dev/null
@@ -1,2299 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 1,
- "panelId": 2,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 1,
- "w": 3,
- "x": 0,
- "y": 1
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 3,
- "x": 3,
- "y": 1
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 3,
- "x": 6,
- "y": 1
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 3,
- "x": 9,
- "y": 1
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 3,
- "x": 12,
- "y": 1
- },
- {
- "h": 3,
- "panelId": 7,
- "w": 3,
- "x": 15,
- "y": 1
- },
- {
- "h": 3,
- "panelId": 8,
- "w": 3,
- "x": 18,
- "y": 1
- },
- {
- "h": 3,
- "panelId": 9,
- "w": 3,
- "x": 21,
- "y": 1
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 10,
- "x": 3,
- "y": 4
- },
- {
- "h": 6,
- "panelId": 29,
- "w": 11,
- "x": 13,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 27,
- "w": 3,
- "x": 0,
- "y": 6
- },
- {
- "h": 3,
- "panelId": 10,
- "w": 3,
- "x": 0,
- "y": 10
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 10,
- "x": 3,
- "y": 10
- },
- {
- "h": 6,
- "panelId": 20,
- "w": 11,
- "x": 13,
- "y": 10
- },
- {
- "h": 3,
- "panelId": 11,
- "w": 3,
- "x": 0,
- "y": 13
- },
- {
- "h": 1,
- "panelId": 15,
- "w": 24,
- "x": 0,
- "y": 16
- },
- {
- "h": 9,
- "panelId": 14,
- "w": 8,
- "x": 0,
- "y": 17
- },
- {
- "h": 9,
- "panelId": 46,
- "w": 8,
- "x": 8,
- "y": 17
- },
- {
- "h": 9,
- "panelId": 16,
- "w": 8,
- "x": 16,
- "y": 17
- },
- {
- "h": 9,
- "panelId": 18,
- "w": 8,
- "x": 0,
- "y": 26
- },
- {
- "h": 9,
- "panelId": 44,
- "w": 8,
- "x": 8,
- "y": 26
- },
- {
- "h": 9,
- "panelId": 17,
- "w": 8,
- "x": 16,
- "y": 26
- },
- {
- "h": 1,
- "panelId": 21,
- "w": 24,
- "x": 0,
- "y": 35
- },
- {
- "h": 9,
- "panelId": 23,
- "w": 8,
- "x": 0,
- "y": 36
- },
- {
- "h": 9,
- "panelId": 41,
- "w": 8,
- "x": 8,
- "y": 45
- },
- {
- "h": 9,
- "panelId": 26,
- "w": 8,
- "x": 16,
- "y": 36
- },
- {
- "h": 9,
- "panelId": 24,
- "w": 8,
- "x": 0,
- "y": 45
- },
- {
- "h": 9,
- "panelId": 25,
- "w": 8,
- "x": 16,
- "y": 45
- },
- {
- "h": 1,
- "panelId": 28,
- "w": 24,
- "x": 0,
- "y": 54
- },
- {
- "h": 7,
- "panelId": 19,
- "w": 12,
- "x": 0,
- "y": 55
- },
- {
- "h": 9,
- "panelId": 47,
- "w": 8,
- "x": 8,
- "y": 36
- }
- ],
- "name": "Portworx Cluster",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "count(px_cluster_status_quorum{kube_cluster_name=$cluster} != 1) or vector(0)"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Quorum",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "YES",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "NO",
- "inputFormat": "0-100",
- "severity": "low",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "description": "",
- "id": 2,
- "markdownSource": "# Cluster Health",
- "name": "Cluster Health",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max(px_cluster_status_size{kube_cluster_name=$cluster})"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Cluster size",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "min(px_cluster_status_nodes_online{kube_cluster_name=$cluster})"
- }
- ],
- "description": "Includes storage and storageless.",
- "id": 4,
- "name": "Nodes online",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max(px_cluster_status_nodes_offline{kube_cluster_name=$cluster})"
- }
- ],
- "description": "Includes storage and storageless.",
- "id": 5,
- "name": "Nodes offline",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "low",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max(px_cluster_status_nodes_storage_down{kube_cluster_name=$cluster})"
- }
- ],
- "description": "Number of nodes where the storage is full or down.",
- "id": 6,
- "name": "Nodes storage down",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "low",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "min(px_cluster_status_storage_nodes_online{kube_cluster_name=$cluster})"
- }
- ],
- "description": "",
- "id": 7,
- "name": "Storage nodes online",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max(px_cluster_status_storage_nodes_offline{kube_cluster_name=$cluster})"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Storage nodes offline",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "low",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "min(px_cluster_status_storage_nodes_decommissioned{kube_cluster_name=$cluster})"
- }
- ],
- "description": "",
- "id": 9,
- "name": "Storage Nodes Decommissioned",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(px_kvdb_health_state_node_view{kube_cluster_name=$cluster} == 1) or vector(0)"
- }
- ],
- "description": "",
- "id": 10,
- "name": "KVDB Healthy",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(px_kvdb_health_state_node_view{kube_cluster_name=$cluster} == 2) or vector(0)"
- }
- ],
- "description": "",
- "id": 11,
- "name": "KVDB Unhealthy ",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "low",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Healthy: Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Healthy: {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_kvdb_health_state_node_view{kube_cluster_name=$cluster, kube_node_name=~$node} == 1"
- },
- {
- "displayInfo": {
- "displayName": "Unhealthy: Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Healthy: {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_kvdb_health_state_node_view{kube_cluster_name=$cluster, kube_node_name=~$node} == 2"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": false,
- "width": null
- },
- "name": "KVDB Health",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Node < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_node_status_node_status{kube_cluster_name=$cluster, kube_node_name=~$node} == 2"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Values show the Status code, not the number of nodes in that status.\n2 = OK",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": false,
- "width": null
- },
- "name": "Healthy Nodes Codes",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Node < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_node_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "px_cluster_disk_available_bytes{kube_cluster_name=$cluster, kube_node_name=~$node}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Cluster Storage Space per Node",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 15,
- "markdownSource": "# Disk Stats",
- "name": "Disk Stats",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Disk < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "{{disk}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "px_disk_stats_used_bytes{kube_cluster_name=$cluster, kube_node_name=~$node, disk=~$disk}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk Storage Used",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Read: Disk < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Read: {{disk}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "px_disk_stats_read_latency_seconds{kube_cluster_name=$cluster, kube_node_name=~$node, disk=~$disk}"
- },
- {
- "displayInfo": {
- "displayName": "Write: Disk < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Write: {{disk}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "px_disk_stats_write_latency_seconds{kube_cluster_name=$cluster, kube_node_name=~$node, disk=~$disk}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk Read / Write Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "px_px_cache_read_hits{kube_cluster_name=$cluster}\n /\n (\n px_px_cache_read_hits{kube_cluster_name=$cluster}\n + \n px_px_cache_read_miss{kube_cluster_name=$cluster}\n )"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Cache Hit Rate",
- "nullValueDisplayText": "No Cache stats. Pool caching must be enabled to receive these metrics.",
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 21,
- "markdownSource": "# Pool Stats",
- "name": "Pool Stats",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Pool < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "{{pool}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "px_pool_stats_available_bytes{kube_cluster_name=$cluster, kube_node_name=~$node, pool=~$pool}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Cluster Storage Space per Pool",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Write: Pool < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Write: {{pool}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "px_pool_stats_write_latency_seconds{kube_cluster_name=$cluster, kube_node_name=~$node, pool=~$pool}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 25,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pool Write Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Offline: Pool < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Offline: {{pool}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_pool_stats_status{kube_cluster_name=$cluster, kube_node_name=~$node, pool=~$pool} == 0"
- },
- {
- "displayInfo": {
- "displayName": "Online: Pool < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Online: {{pool}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_pool_stats_status{kube_cluster_name=$cluster, kube_node_name=~$node, pool=~$pool} == 1"
- },
- {
- "displayInfo": {
- "displayName": "Full: Pool < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Full: {{pool}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_pool_stats_status{kube_cluster_name=$cluster, kube_node_name=~$node, pool=~$pool} == 2"
- },
- {
- "displayInfo": {
- "displayName": "NotFound: Pool < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "NotFound: {{pool}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_pool_stats_status{kube_cluster_name=$cluster, kube_node_name=~$node, pool=~$pool} == 3"
- },
- {
- "displayInfo": {
- "displayName": "Maintenance: Pool < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Maintenance: {{pool}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_pool_stats_status{kube_cluster_name=$cluster, kube_node_name=~$node, pool=~$pool} == 4"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Values show the Status code, not the number of pools in that status.",
- "id": 26,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": false,
- "width": null
- },
- "name": "Pool Status",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "d",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "min(px_node_status_license_expiry{kube_cluster_name=$cluster})"
- }
- ],
- "description": "",
- "id": 27,
- "name": "License expiration",
- "nullValueDisplayText": "Unlicensed.",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "description": "",
- "id": 28,
- "markdownSource": "# Cache Stats",
- "name": "Cache Stats",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Node < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_node_status_node_status{kube_cluster_name=$cluster, kube_node_name=~$node} != 2"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Values show the Status code, not the number of nodes in that status.\n0 = None\n1 = Init\n2 = OK\n3 = Offline\n4 = Error\n5 = Not in quorum\n6 = Decommission\n7 = Maintenance\n8 = Storage down\n9 = Storage degraded\n10 = Needs reboot\n11 = Storage rebalance\n12 = Storage drive replace\n13 = Not in quorum no storage\n14 = Pool maintenance",
- "id": 29,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Nodes Error Status Code",
- "nullValueDisplayText": "No nodes in a different status than 'OK'.",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Flush: Pool < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Flush: {{pool}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(px_pool_stats_num_flushes_total{kube_cluster_name=$cluster, kube_node_name=~$node, pool=~$pool}[$__interval])"
- },
- {
- "displayInfo": {
- "displayName": "Write: Pool < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Write: {{pool}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_pool_stats_num_writes{kube_cluster_name=$cluster, kube_node_name=~$node, pool=~$pool}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 24,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pool Flush / Write IOPS",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Read: Disk < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Read: {{disk}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "rate(px_disk_stats_num_reads_total{kube_cluster_name=$cluster, kube_node_name=~$node, disk=~$disk}[$__interval])"
- },
- {
- "displayInfo": {
- "displayName": "Write: Disk < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Write: {{disk}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "rate(px_disk_stats_num_writes_total{kube_cluster_name=$cluster, kube_node_name=~$node, disk=~$disk}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk Read / Write IOPS",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Sent: Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Sent: {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(px_network_io_sent_bytes_total{kube_cluster_name=$cluster, kube_node_name=~$node}[$__interval])"
- },
- {
- "displayInfo": {
- "displayName": "Received: Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Received: {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(px_network_io_received_bytes_total{kube_cluster_name=$cluster, kube_node_name=~$node}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Network I/O",
- "nullValueDisplayText": "No Cache stats.",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Read: Disk < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Read: {{disk}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(px_disk_stats_read_bytes_total{kube_cluster_name=$cluster, kube_node_name=~$node, disk=~$disk}[$__interval])"
- },
- {
- "displayInfo": {
- "displayName": "Write: Disk < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Write: {{disk}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(px_disk_stats_written_bytes_total{kube_cluster_name=$cluster, kube_node_name=~$node, disk=~$disk}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 44,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk Read / Write Throughput",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Flush: Pool < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Flush: {{pool}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(px_pool_stats_flushed_bytes_total{kube_cluster_name=$cluster, kube_node_name=~$node, pool=~$pool}[$__interval])"
- },
- {
- "displayInfo": {
- "displayName": "Write: Pool < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Write: {{pool}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "px_pool_stats_written_bytes{kube_cluster_name=$cluster, kube_node_name=~$node, pool=~$pool}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 41,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pool Flush / Write Throughput",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Node < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "px_cluster_disk_available_bytes{kube_cluster_name=$cluster, kube_node_name=~$node} / px_cluster_disk_total_bytes{kube_cluster_name=$cluster, kube_node_name=~$node}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 46,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Node % Available Storage Space",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pool < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "{{pool}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "px_pool_stats_available_bytes{kube_cluster_name=$cluster, kube_node_name=~$node, pool=~$pool} / px_pool_stats_total_bytes{kube_cluster_name=$cluster, kube_node_name=~$node, pool=~$pool}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 47,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pool % Available Storage Space",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1648798703265,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "equals",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.node.name",
- "documentId": "kubernetes.node.name",
- "documentTimestamp": 1648798703265,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.node.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.node.name",
- "namespaces": [
- "kubernetes.node"
- ],
- "publicId": "kube_node_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "node",
- "isVariable": true,
- "operand": "kubernetes.node.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "pool",
- "documentId": "pool",
- "documentTimestamp": 1648798703265,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "pool",
- "identity": false,
- "metricType": "tag",
- "name": "pool",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "pool",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pool",
- "isVariable": true,
- "operand": "pool",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "disk",
- "documentId": "disk",
- "documentTimestamp": 1648798703265,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "disk",
- "identity": false,
- "metricType": "tag",
- "name": "disk",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "disk",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "disk",
- "isVariable": true,
- "operand": "disk",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1648798703265,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "pvc",
- "documentId": "pvc",
- "documentTimestamp": 1648798703265,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "pvc",
- "identity": false,
- "metricType": "tag",
- "name": "pvc",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "pvc",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pvc",
- "isVariable": true,
- "operand": "pvc",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/portworx/include/Portworx_Volumes.json b/resources/portworx/include/Portworx_Volumes.json
deleted file mode 100644
index 4f5a5a01..00000000
--- a/resources/portworx/include/Portworx_Volumes.json
+++ /dev/null
@@ -1,1565 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 4,
- "panelId": 30,
- "w": 2,
- "x": 0,
- "y": 0
- },
- {
- "h": 8,
- "panelId": 33,
- "w": 8,
- "x": 2,
- "y": 0
- },
- {
- "h": 8,
- "panelId": 34,
- "w": 7,
- "x": 10,
- "y": 0
- },
- {
- "h": 8,
- "panelId": 32,
- "w": 7,
- "x": 17,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 31,
- "w": 2,
- "x": 0,
- "y": 4
- },
- {
- "h": 8,
- "panelId": 35,
- "w": 12,
- "x": 0,
- "y": 8
- },
- {
- "h": 8,
- "panelId": 36,
- "w": 12,
- "x": 12,
- "y": 8
- },
- {
- "h": 8,
- "panelId": 37,
- "w": 12,
- "x": 0,
- "y": 16
- },
- {
- "h": 8,
- "panelId": 43,
- "w": 12,
- "x": 12,
- "y": 16
- },
- {
- "h": 8,
- "panelId": 38,
- "w": 8,
- "x": 0,
- "y": 24
- },
- {
- "h": 8,
- "panelId": 40,
- "w": 8,
- "x": 8,
- "y": 24
- },
- {
- "h": 8,
- "panelId": 39,
- "w": 8,
- "x": 16,
- "y": 24
- }
- ],
- "name": "Portworx Volumes",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(px_volume_attached{kube_cluster_name=$cluster, kube_namespace_name=~$namespace} == 1) or vector(0)"
- }
- ],
- "description": "",
- "id": 30,
- "name": "Volumes attached\n",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(px_volume_attached{kube_cluster_name=$cluster, kube_namespace_name=~$namespace} == 0) or vector(0)"
- }
- ],
- "description": "",
- "id": 31,
- "name": "Volumes detached",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "None: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "None: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_status{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 0"
- },
- {
- "displayInfo": {
- "displayName": "Not present: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Not present: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_status{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 1"
- },
- {
- "displayInfo": {
- "displayName": "Up: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Up: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_status{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 2"
- },
- {
- "displayInfo": {
- "displayName": "Down: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Down: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_status{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 3"
- },
- {
- "displayInfo": {
- "displayName": "Degraded: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Degraded: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_status{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 4"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Values show the Status code, not the number of volumes in that status.",
- "id": 32,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": false,
- "width": null
- },
- "name": "Volume Status Code",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "None: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "None: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_state{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 0"
- },
- {
- "displayInfo": {
- "displayName": "Pending: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Pending: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_state{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 1"
- },
- {
- "displayInfo": {
- "displayName": "Available: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Available: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_state{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 2"
- },
- {
- "displayInfo": {
- "displayName": "Attached: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Attached: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_state{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 3"
- },
- {
- "displayInfo": {
- "displayName": "Detached: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Detached: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_state{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 4"
- },
- {
- "displayInfo": {
- "displayName": "Detaching: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Detaching: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_state{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 5"
- },
- {
- "displayInfo": {
- "displayName": "Error: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Error: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_state{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 6"
- },
- {
- "displayInfo": {
- "displayName": "Deleted: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Deleted: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_state{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 7"
- },
- {
- "displayInfo": {
- "displayName": "Try detaching: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Try detaching: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_state{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 8"
- },
- {
- "displayInfo": {
- "displayName": "Restoring: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Restoring: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_state{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 9"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Values show the State code, not the number of volumes in that state.",
- "id": 33,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": false,
- "width": null
- },
- "name": "Volume State Code",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Externally available: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Externally available: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_attached_state{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 0"
- },
- {
- "displayInfo": {
- "displayName": "Internally available: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Internally available: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_attached_state{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 1"
- },
- {
- "displayInfo": {
- "displayName": "Switching from external to internal: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Switching from external to internal: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_attached_state{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 2"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Values show the Attached State code, not the number of volumes in that state.",
- "id": 34,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": false,
- "width": null
- },
- "name": "Volume Attached State Code",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Read: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Read: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "rate(px_volume_reads_total{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc}[$__interval])"
- },
- {
- "displayInfo": {
- "displayName": "Write: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Write: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "rate(px_volume_writes_total{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 38,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Volume Read / Write IOPS",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Read: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Read: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "px_volume_read_latency_seconds{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc}"
- },
- {
- "displayInfo": {
- "displayName": "Write: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Write: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "px_volume_write_latency_seconds{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 39,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Volume Read / Write Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "{{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "px_volume_capacity_bytes{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 35,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Volume Capacity",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "{{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "px_volume_usage_bytes{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc}\n/\npx_volume_capacity_bytes{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 36,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Volume Usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Read: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Read: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(px_volume_read_bytes_total{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc}[$__interval])"
- },
- {
- "displayInfo": {
- "displayName": "Write: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Write: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(px_volume_written_bytes_total{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc}[$__interval])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 40,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Volume Read / Write Throughput",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Up: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Up: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_replication_status{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 0"
- },
- {
- "displayInfo": {
- "displayName": "Not in quorum: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Not in quorum: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_replication_status{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 1"
- },
- {
- "displayInfo": {
- "displayName": "Resync state: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Resync state: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_replication_status{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 2"
- },
- {
- "displayInfo": {
- "displayName": "Degraded: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Degraded: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_replication_status{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 3"
- },
- {
- "displayInfo": {
- "displayName": "Detached: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Detached: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_replication_status{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 4"
- },
- {
- "displayInfo": {
- "displayName": "Restore: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Restore: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_replication_status{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc} == 5"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Values show the Status code, not the number of volumes in that status.",
- "id": 43,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": false,
- "width": null
- },
- "name": "Volume Replication Status",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Configured: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Configured: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_halevel{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc}"
- },
- {
- "displayInfo": {
- "displayName": "Current: PVC < Namespace < Node < Cluster",
- "timeSeriesDisplayNameTemplate": "Current: {{pvc}} < {{kube_namespace_name}} < {{kube_node_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "px_volume_currhalevel{kube_cluster_name=$cluster, kube_node_name=~$node, kube_namespace_name=~$namespace, pvc=~$pvc}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Values show the Status code, not the number of volumes in that status.",
- "id": 37,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Volume HA Level",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.cluster.name",
- "documentId": "kubernetes.cluster.name",
- "documentTimestamp": 1648798703915,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.cluster.name",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "equals",
- "value": [
- "portworx-integration-kops"
- ],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.node.name",
- "documentId": "kubernetes.node.name",
- "documentTimestamp": 1648798703915,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.node.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.node.name",
- "namespaces": [
- "kubernetes.node"
- ],
- "publicId": "kube_node_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "node",
- "isVariable": true,
- "operand": "kubernetes.node.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "pool",
- "documentId": "pool",
- "documentTimestamp": 1648798703916,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "pool",
- "identity": false,
- "metricType": "tag",
- "name": "pool",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "pool",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pool",
- "isVariable": true,
- "operand": "pool",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "disk",
- "documentId": "disk",
- "documentTimestamp": 1648798703916,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "disk",
- "identity": false,
- "metricType": "tag",
- "name": "disk",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "disk",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "disk",
- "isVariable": true,
- "operand": "disk",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "deferred": false,
- "description": "kubernetes.namespace.name",
- "documentId": "kubernetes.namespace.name",
- "documentTimestamp": 1648798703916,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "metricType": "tag",
- "name": "kubernetes.namespace.name",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "pvc",
- "documentId": "pvc",
- "documentTimestamp": 1648798703916,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "pvc",
- "identity": false,
- "metricType": "tag",
- "name": "pvc",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm",
- "prombeacon"
- ],
- "publicId": "pvc",
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pvc",
- "isVariable": true,
- "operand": "pvc",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/portworx/include/sysdig-agent.yaml b/resources/portworx/include/sysdig-agent.yaml
deleted file mode 100644
index 4a028d91..00000000
--- a/resources/portworx/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,116 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: YourClusterName
- metrics_excess_log: true
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
- snaplen: 512
- tags: role:cluster
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: 'portworx-default'
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: drop
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_omit]
- regex: true
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
- target_label: __scheme__
- regex: (https?)
- - action: replace
- source_labels:
- - __meta_kubernetes_pod_container_name
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: (portworx);(.{0}$)
- replacement: portworx
- target_label: __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- - action: keep
- source_labels:
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: "portworx"
- - action: replace
- source_labels: [__address__]
- regex: ([^:]+)(?::\d+)?
- replacement: $1:9001
- target_label: __address__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- metric_relabel_configs:
- - source_labels: [__name__]
- regex: (px_cluster_disk_available_bytes|px_cluster_disk_total_bytes|px_cluster_status_nodes_offline|px_cluster_status_nodes_online|px_cluster_status_nodes_storage_down|px_cluster_status_quorum|px_cluster_status_size|px_cluster_status_storage_nodes_decommissioned|px_cluster_status_storage_nodes_offline|px_cluster_status_storage_nodes_online|px_disk_stats_num_reads_total|px_disk_stats_num_writes_total|px_disk_stats_read_bytes_total|px_disk_stats_read_latency_seconds|px_disk_stats_used_bytes|px_disk_stats_write_latency_seconds|px_disk_stats_written_bytes_total|px_kvdb_health_state_node_view|px_network_io_received_bytes_total|px_network_io_sent_bytes_total|px_node_status_license_expiry|px_node_status_node_status|px_pool_stats_available_bytes|px_pool_stats_flushed_bytes_total|px_pool_stats_num_flushes_total|px_pool_stats_num_writes|px_pool_stats_status|px_pool_stats_total_bytes|px_pool_stats_write_latency_seconds|px_pool_stats_written_bytes|px_px_cache_read_hits|px_px_cache_read_miss|px_px_cache_write_hits|px_px_cache_write_miss|px_volume_attached|px_volume_attached_state|px_volume_capacity_bytes|px_volume_currhalevel|px_volume_halevel|px_volume_read_bytes_total|px_volume_read_latency_seconds|px_volume_reads_total|px_volume_replication_status|px_volume_state|px_volume_status|px_volume_usage_bytes|px_volume_write_latency_seconds|px_volume_writes_total|px_volume_written_bytes_total)
- action: keep
-
-
- - job_name: 'portworx-openshift-default'
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: drop
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_omit]
- regex: true
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
- target_label: __scheme__
- regex: (https?)
- - action: replace
- source_labels:
- - __meta_kubernetes_pod_container_name
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: (portworx);(.{0}$)
- replacement: portworx
- target_label: __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- - action: keep
- source_labels:
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: "portworx"
- - action: replace
- source_labels: [__address__]
- regex: ([^:]+)(?::\d+)?
- replacement: $1:17001
- target_label: __address__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
- metric_relabel_configs:
- - source_labels: [__name__]
- regex: (px_cluster_disk_available_bytes|px_cluster_disk_total_bytes|px_cluster_status_nodes_offline|px_cluster_status_nodes_online|px_cluster_status_nodes_storage_down|px_cluster_status_quorum|px_cluster_status_size|px_cluster_status_storage_nodes_decommissioned|px_cluster_status_storage_nodes_offline|px_cluster_status_storage_nodes_online|px_disk_stats_num_reads_total|px_disk_stats_num_writes_total|px_disk_stats_read_bytes_total|px_disk_stats_read_latency_seconds|px_disk_stats_used_bytes|px_disk_stats_write_latency_seconds|px_disk_stats_written_bytes_total|px_kvdb_health_state_node_view|px_network_io_received_bytes_total|px_network_io_sent_bytes_total|px_node_status_license_expiry|px_node_status_node_status|px_pool_stats_available_bytes|px_pool_stats_flushed_bytes_total|px_pool_stats_num_flushes_total|px_pool_stats_num_writes|px_pool_stats_status|px_pool_stats_total_bytes|px_pool_stats_write_latency_seconds|px_pool_stats_written_bytes|px_px_cache_read_hits|px_px_cache_read_miss|px_px_cache_write_hits|px_px_cache_write_miss|px_volume_attached|px_volume_attached_state|px_volume_capacity_bytes|px_volume_currhalevel|px_volume_halevel|px_volume_read_bytes_total|px_volume_read_latency_seconds|px_volume_reads_total|px_volume_replication_status|px_volume_state|px_volume_status|px_volume_usage_bytes|px_volume_write_latency_seconds|px_volume_writes_total|px_volume_written_bytes_total)
- action: keep
\ No newline at end of file
diff --git a/resources/portworx/setup-guide.yaml b/resources/portworx/setup-guide.yaml
index 40d82732..e8e6ef4b 100644
--- a/resources/portworx/setup-guide.yaml
+++ b/resources/portworx/setup-guide.yaml
@@ -4,7 +4,5 @@ app: Portworx
version: 1.0.0
appVersion:
- '2.9'
-configurations:
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
+configurations: []
descriptionFile: INSTALL.md
diff --git a/resources/postgresql/INSTALL.md b/resources/postgresql/INSTALL.md
index 64c03855..a909824b 100644
--- a/resources/postgresql/INSTALL.md
+++ b/resources/postgresql/INSTALL.md
@@ -102,31 +102,4 @@ kubectl create secret generic postgres-exporter-auth \
--from-file=postgres-ssl-root-cert=
```
-You can use the `postgresql-auth-deploy.yaml` file as an example of a deployment with SSL authentication.
-
-# Sysdig Agent configuration
-> Requires Sysdig Agent >= v11.3
-
-In the Postgres exporter deployment, use the Sysdig annotations to configure the port of the exporter as the scraping port. See the example in the `postgresql-standalone-exporter.yaml` file.
-
-Additionally, you can use the labels to add the namespace, workload type, and name of the database the exporter will take data from.
-This way, you can view the metrics associated directly with the database pods and the exporter in Sysdig Monitor.
-
-```yaml
-spec:
- template:
- metadata:
- annotations:
- promcat.sysdig.com/port: "9187"
-
- # Add here the namespace, workload type (deployment, statefulset, replicaset, daemonset)
- # and workload name of the Postgres database that the exporter will take data from
- promcat.sysdig.com/target_ns: default
- promcat.sysdig.com/target_workload_type: deployment
- promcat.sysdig.com/target_workload_name: postgres
-```
-
-After configuring the Sysdig annotations, download the sample configuration file and apply the changes by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
+You can use the `postgresql-auth-deploy.yaml` file as an example of a deployment with SSL authentication.
\ No newline at end of file
diff --git a/resources/postgresql/dashboards.yaml b/resources/postgresql/dashboards.yaml
index 4c302132..e77deeda 100644
--- a/resources/postgresql/dashboards.yaml
+++ b/resources/postgresql/dashboards.yaml
@@ -5,46 +5,6 @@ version: 1.0.0
appVersion:
- '12'
configurations:
-- name: 'Instance Health'
- kind: Sysdig
- image: 'postgresql/images/postgresql-sysdig-instance-health.png'
- description: |
- This dashboard offers information on:
- * UP
- * Postmaster Uptime
- * Databases size
- * WAL Files Archive Error Rate
- * Scheduled vs Requested Checkpoints
- * Checkpoint time
- * Backend Buffer Write Rate
- * Background Writer Stops for Max Write Buffers
- * Buffers Allocated
- * Max Transaction Time by DB
- * Connections Usage Percentage
- * Available Connections
- file: include/postgresql-sysdig-instance-health.json
-- name: 'Database Golden Signals'
- kind: Sysdig
- image: 'postgresql/images/postgresql-sysdig-db-golden-signals.png'
- description: |
- This dashboard offers information on:
- * Backends connected
- * Database Size
- * Hit Rate
- * Fetched / Returned Tuples
- * Locks by Mode
- * Query Locks Errors
- * Deadlocks
- * Connections by state
- * Max Duration by State
- * File Read Duration
- * IOPS
- * Fetched / Returned Tuples
- * eHeap Only Tuple Updates Rate
- * IOPS by Function
- * Data Written to Temporary Files
- * Index vs Sequential Scans
- file: include/postgresql-sysdig-db-golden-signals.json
- name: 'Instance Health'
kind: Grafana
image: 'postgresql/images/postgresql-grafana-instance-health.png'
diff --git a/resources/postgresql/images/postgresql-sysdig-db-golden-signals.png b/resources/postgresql/images/postgresql-sysdig-db-golden-signals.png
deleted file mode 100644
index e1ab49a8..00000000
Binary files a/resources/postgresql/images/postgresql-sysdig-db-golden-signals.png and /dev/null differ
diff --git a/resources/postgresql/images/postgresql-sysdig-instance-health.png b/resources/postgresql/images/postgresql-sysdig-instance-health.png
deleted file mode 100644
index 9254d0f1..00000000
Binary files a/resources/postgresql/images/postgresql-sysdig-instance-health.png and /dev/null differ
diff --git a/resources/postgresql/include/postgresql-deploy.yaml b/resources/postgresql/include/postgresql-deploy.yaml
index 3f7646f9..f242bc0a 100644
--- a/resources/postgresql/include/postgresql-deploy.yaml
+++ b/resources/postgresql/include/postgresql-deploy.yaml
@@ -12,13 +12,8 @@ spec:
labels:
app: postgres
annotations:
- promcat.sysdig.com/port: "9187"
-
- # Add here the namespace, workload type (deployment, statefulset, replicaset, daemonset)
- # and workload name of the Postgres database that the exporter will take data from
- promcat.sysdig.com/target_ns: default
- promcat.sysdig.com/target_workload_type: deployment
- promcat.sysdig.com/target_workload_name: postgres
+ prometheus.io/scrape: "true"
+ prometheus.io/port: "9187"
spec:
containers:
diff --git a/resources/postgresql/include/postgresql-standalone-exporter.yaml b/resources/postgresql/include/postgresql-standalone-exporter.yaml
index 8a5d400c..b24c4ad6 100644
--- a/resources/postgresql/include/postgresql-standalone-exporter.yaml
+++ b/resources/postgresql/include/postgresql-standalone-exporter.yaml
@@ -12,13 +12,8 @@ spec:
labels:
app: postgres-exporter
annotations:
- promcat.sysdig.com/port: "9187"
-
- # Add here the namespace, workload type (deployment, statefulset, replicaset, daemonset)
- # and workload name of the Postgres database that the exporter will take data from
- promcat.sysdig.com/target_ns: default
- promcat.sysdig.com/target_workload_type: deployment
- promcat.sysdig.com/target_workload_name: postgres
+ prometheus.io/scrape: "true"
+ prometheus.io/port: "9187"
spec:
containers:
- name: postgres-exporter
diff --git a/resources/postgresql/include/postgresql-sysdig-db-golden-signals.json b/resources/postgresql/include/postgresql-sysdig-db-golden-signals.json
deleted file mode 100644
index 0041f4d8..00000000
--- a/resources/postgresql/include/postgresql-sysdig-db-golden-signals.json
+++ /dev/null
@@ -1,1442 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 2,
- "w": 8,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 3,
- "w": 8,
- "x": 8,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 4,
- "w": 8,
- "x": 16,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 5,
- "w": 8,
- "x": 0,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 6,
- "w": 8,
- "x": 8,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 8,
- "x": 16,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 8,
- "w": 8,
- "x": 0,
- "y": 10
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 8,
- "x": 8,
- "y": 10
- },
- {
- "h": 5,
- "panelId": 10,
- "w": 8,
- "x": 16,
- "y": 10
- },
- {
- "h": 5,
- "panelId": 11,
- "w": 8,
- "x": 0,
- "y": 15
- },
- {
- "h": 5,
- "panelId": 12,
- "w": 8,
- "x": 8,
- "y": 15
- },
- {
- "h": 5,
- "panelId": 13,
- "w": 8,
- "x": 0,
- "y": 20
- },
- {
- "h": 5,
- "panelId": 14,
- "w": 8,
- "x": 8,
- "y": 20
- },
- {
- "h": 3,
- "panelId": 15,
- "w": 8,
- "x": 0,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 16,
- "w": 8,
- "x": 16,
- "y": 15
- },
- {
- "h": 5,
- "panelId": 17,
- "w": 8,
- "x": 16,
- "y": 20
- }
- ],
- "name": "Postgresql - DB Golden Signals",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum((pg_stat_database_numbackends{server=~$server,datname=~$db} \n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}))"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Backends connected",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "ok",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{datname}} - {{server}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(100 * avg by (datname,container_id,server)(rate(pg_stat_database_blks_hit{datname!='',server=~$server,datname=~$db}[$__interval]) / (rate(pg_stat_database_blks_hit{datname!='',server=~$server,datname=~$db}[$__interval]) + rate(pg_stat_database_blks_read{datname!='',server=~$server,datname=~$db}[$__interval])))\n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Cache Hit Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{datname}} - {{server}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * (rate(pg_stat_database_tup_fetched{datname!='',server=~$server,datname=~$db}[$__interval]) / rate(pg_stat_database_tup_returned{datname!='',server=~$server,datname=~$db}[$__interval]) \n* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Fetched / Returned Tuples",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " DB: Mode < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{datname}}: {{mode}} < {{server}} < {{cluster}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(pg_locks_count{server=~$server,datname=~$db}[$__interval])\n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Locks by Mode ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " \u2690 Lock timeouts: DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "\u2690: {{datname}} < {{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_database_conflicts_confl_lock{server=~$server,datname=~$db}[$__interval])\n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- },
- {
- "displayInfo": {
- "displayName": "\u2620 Deadlocks: DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "\u2620: {{datname}} < {{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_database_conflicts_confl_deadlock{server=~$server,datname=~$db}[$__interval])\n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "\u26a0 Query Locks Errors ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " \u2620 Deadlocks",
- "timeSeriesDisplayNameTemplate": "\u2620: {{datname}} - {{server}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_database_deadlocks{datname!='',server=~$server,datname=~$db}[$__interval])\n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "\u2620 Deadlocks",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "DB:State < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{datname}}: {{state}} < {{server}} < {{cluster}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_activity_count{server=~$server,datname=~$db}[$__interval])\n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connections by state",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "DB:State < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{datname}}: {{state}} < {{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_activity_max_tx_duration{server=~$server,datname=~$db}[$__interval])\n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Max Duration by State",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{datname}} < {{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "((rate(pg_stat_database_blk_read_time{datname!='',server=~$server,datname=~$db}[$__interval]) / rate(pg_stat_database_blks_read{datname!='',server=~$server,datname=~$db}[$__interval]))\n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "File Read Duration",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "\u270e Commit: DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "\u270e {{datname}} < {{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_database_xact_commit{server=~$server,datname=~$db}[$__interval]) \n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": " \u267bRollback: DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "\u267b {{datname}} < {{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_database_xact_rollback{server=~$server,datname=~$db}[$__interval]) \n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "IOPS",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Fetched: DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "F: {{datname}} - {{server}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_database_tup_fetched{server=~$server,datname=~$db}[$__interval]) \n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": " Returned: DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "R: {{datname}} - {{server}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_database_tup_returned{server=~$server,datname=~$db}[$__interval]) \n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Fetched / Returned Tuples",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Insert: DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "INS: {{datname}} - {{server}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_database_tup_inserted{datname!='',server=~$server,datname=~$db}[$__interval]) \n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": "Updated: DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "UPD: {{datname}} - {{server}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_database_tup_updated{datname!='',server=~$server,datname=~$db}[$__interval]) \n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": "Deleted: DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "DEL: {{datname}} - {{server}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_database_tup_deleted{datname!='',server=~$server,datname=~$db}[$__interval]) \n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "IOPS by Function",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{datname}} < {{server}} < {{cluster}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_database_temp_bytes{datname!='',server=~$server,datname=~$db}[$__interval]) \n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Data Written to Temporary Files",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{datname}} - {{server}} - {{cluster}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "(pg_database_size_bytes{server=~$server,datname=~$db}\n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "DB Size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{datname}} < {{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * (sum by (datname, container_id,server)(rate(pg_stat_user_tables_n_tup_hot_upd{server=~$server,datname=~$db}[$__interval])) / (sum by (datname,container_id,server)(rate(pg_stat_user_tables_n_tup_hot_upd{server=~$server,datname=~$db}[$__interval])) + sum by (datname,container_id,server)(rate(pg_stat_database_tup_updated{server=~$server,datname=~$db}[$__interval]))) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Heap Only Tuple Updates Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Index scan: DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "IDX: {{datname}} < {{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (datname,container_id,server)(pg_stat_user_tables_idx_scan{server=~$server,datname=~$db})\n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}"
- },
- {
- "displayInfo": {
- "displayName": "Sequential scan: DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "SEQ: {{datname}} < {{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (datname,container_id,server)(pg_stat_user_tables_seq_scan{server=~$server,datname=~$db})\n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Index vs Sequential Scans",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1605179842153,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1605179842153,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1605179652651,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1605179652651,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [
- "david-detorres-dev"
- ],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1605179842153,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1605179842153,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1605179652651,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1605179652651,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": null,
- "displayName": "server",
- "isVariable": true,
- "operand": "server",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": null,
- "displayName": "db",
- "isVariable": true,
- "operand": "datname",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/postgresql/include/postgresql-sysdig-instance-health.json b/resources/postgresql/include/postgresql-sysdig-instance-health.json
deleted file mode 100644
index e88b17b1..00000000
--- a/resources/postgresql/include/postgresql-sysdig-instance-health.json
+++ /dev/null
@@ -1,1136 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 16,
- "x": 8,
- "y": 0
- },
- {
- "h": 3,
- "panelId": 12,
- "w": 8,
- "x": 0,
- "y": 3
- },
- {
- "h": 5,
- "panelId": 3,
- "w": 8,
- "x": 0,
- "y": 6
- },
- {
- "h": 5,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 6
- },
- {
- "h": 5,
- "panelId": 4,
- "w": 12,
- "x": 0,
- "y": 11
- },
- {
- "h": 5,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 11
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 16
- },
- {
- "h": 5,
- "panelId": 6,
- "w": 12,
- "x": 12,
- "y": 16
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 8,
- "x": 0,
- "y": 21
- },
- {
- "h": 5,
- "panelId": 10,
- "w": 8,
- "x": 8,
- "y": 21
- },
- {
- "h": 5,
- "panelId": 8,
- "w": 8,
- "x": 16,
- "y": 21
- },
- {
- "h": 5,
- "panelId": 13,
- "w": 8,
- "x": 16,
- "y": 6
- }
- ],
- "name": "Postgresql - Instance Health",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count((pg_static{server=~$server} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}))"
- }
- ],
- "description": "",
- "id": 1,
- "name": "UP",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "DOWN",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "OK",
- "inputFormat": "1",
- "severity": "ok",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Server < Cluster ",
- "timeSeriesDisplayNameTemplate": "{{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(100 * \nsum by (container_id,server) (rate(pg_stat_archiver_failed_count{server=~$server}[$__interval])) / \nsum by (container_id,server) (rate(pg_stat_archiver_archived_count{server=~$server}[$__interval]) + rate(pg_stat_archiver_failed_count{server=~$server}[$__interval]))) \n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace} "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "\u26a0 WAL Files Archive Error Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Requested: Server < Cluster",
- "timeSeriesDisplayNameTemplate": "requested < {{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_bgwriter_checkpoints_req{server=~$server}[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- },
- {
- "displayInfo": {
- "displayName": " Scheduled: Server < Cluster",
- "timeSeriesDisplayNameTemplate": "scheduled < {{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_bgwriter_checkpoints_timed{server=~$server}[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Scheduled vs Requested Checkpoints",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Sync to disk: Server < Cluster",
- "timeSeriesDisplayNameTemplate": "\u2713 {{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_bgwriter_checkpoint_sync_time{server=~$server}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- },
- {
- "displayInfo": {
- "displayName": "Write to disk: Server < Cluster",
- "timeSeriesDisplayNameTemplate": "\u270e {{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "ms",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_bgwriter_checkpoint_write_time{server=~$server}[$__interval]) * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Checkpoint time",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Rate: Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(100 * sum by (container_id,server) (rate(pg_stat_bgwriter_buffers_backend{server=~$server}[$__interval])) / \nsum by (container_id,server) (rate(pg_stat_bgwriter_buffers_backend{server=~$server}[$__interval]) + rate(pg_stat_bgwriter_buffers_checkpoint{server=~$server}[$__interval]) + rate(pg_stat_bgwriter_buffers_clean{server=~$server}[$__interval])) \n* on (container_id) group_left(cluster,namespace,pod)kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Backend Buffer Write Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Stops: Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{server}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_bgwriter_maxwritten_clean{server=~$server}[$__interval])\n* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "\u26a0 Background Writer Stops for Max Write Buffers",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Buffers: Server < Cluster",
- "timeSeriesDisplayNameTemplate": " {{server}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(pg_stat_bgwriter_buffers_alloc{server=~$server}[$__interval]) \n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Buffers Allocated",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{datname}} - {{server}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "(max(rate(pg_stat_activity_max_tx_duration{datname!~'template.*',server=~$server}[$__interval])) by (datname,container_id, server)\n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Max Transaction Time by DB",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{server}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "(100 * sum(pg_stat_activity_count{server=~$server}) by (container_id,server) / ((sum(pg_settings_max_connections{server=~$server}) by (container_id,server)) - sum(pg_settings_superuser_reserved_connections{server=~$server}) by (container_id,server))\n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connections Usage Percentage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{server}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(((sum(pg_settings_max_connections{server=~$server}) by (container_id,server) - sum(pg_settings_superuser_reserved_connections{server=~$server}) by (container_id,server)) - sum(pg_stat_activity_count{server=~$server}) by (container_id,server) )\n* on (container_id, host_mac) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Available Connections",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " DB < Server < Cluster",
- "timeSeriesDisplayNameTemplate": "{{datname}} < {{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "((pg_database_size_bytes{server=~$server} * on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) )"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "DBs Size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "time() - max((pg_postmaster_start_time_seconds{server=~$server} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace}) )\n"
- }
- ],
- "description": "",
- "id": 12,
- "name": "Min. Postmaster Uptime",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "s",
- "severity": "ok",
- "value": 3600.0
- },
- {
- "displayText": "",
- "inputFormat": "s",
- "severity": "low",
- "value": 1800.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Server < Cluster ",
- "timeSeriesDisplayNameTemplate": "{{server}} < {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "pg_replication_lag{server=~$server}\n* on (container_id) group_left(cluster,namespace) kube_pod_container_info{cluster=~$cluster,namespace=~$namespace} or vector(0)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Replication Lag (if replication)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1605179841204,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1605179841204,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1605179652651,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1605179652651,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1605179841204,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1605179841204,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1605179652651,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1605179652651,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": null,
- "displayName": "server",
- "isVariable": true,
- "operand": "server",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/postgresql/include/sysdig-agent-config.yaml b/resources/postgresql/include/sysdig-agent-config.yaml
deleted file mode 100644
index ef0264d7..00000000
--- a/resources/postgresql/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,75 +0,0 @@
-apiVersion: v1
-data:
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: YourClusterName
- metrics_excess_log: true
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
- snaplen: 512
- tags: role:cluster
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: postgresql-exporter
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
-
- # Add here the namespace/pod-name of your postgresql exporter
- regex: 'default/postgres-exporter-.+'
-
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_promcat_sysdig_com_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_ns]
- target_label: kube_namespace_name
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_workload_type]
- target_label: kube_workload_type
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_workload_name]
- target_label: kube_workload_name
- - action: replace
- replacement: true
- target_label: sysdig_omit_source
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
-
-
-kind: ConfigMap
-metadata:
- labels:
- app: sysdig-agent
- name: sysdig-agent
- namespace: sysdig-agent
\ No newline at end of file
diff --git a/resources/postgresql/setup-guide.yaml b/resources/postgresql/setup-guide.yaml
index eecbb87a..355a1847 100644
--- a/resources/postgresql/setup-guide.yaml
+++ b/resources/postgresql/setup-guide.yaml
@@ -10,7 +10,5 @@ configurations:
file: include/postgresql-standalone-db.yaml
- name: postgresql-standalone-exporter.yaml
file: include/postgresql-standalone-exporter.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
- name: postgresql-auth-deploy.yaml
file: include/postgresql-auth-deploy.yaml
diff --git a/resources/rabbitmq/dashboards.yaml b/resources/rabbitmq/dashboards.yaml
index ae98b0d3..b330983d 100644
--- a/resources/rabbitmq/dashboards.yaml
+++ b/resources/rabbitmq/dashboards.yaml
@@ -4,26 +4,4 @@ app: "rabbitmq"
version: 1.0.0
appVersion:
- '3.8'
-configurations:
-- name: Rabbitmq Overview
- kind: Sysdig
- image: rabbitmq/images/rabbitmq_overview_sysdig.png
- description: |
- This dashboard offers information on:
- * Node identity, including RabbitMQ & Erlang/OTP version
- * Node memory & disk available before publishers blocked (alarm triggers)
- * Node file descriptors & TCP sockets available
- * Ready & pending messages
- file: include/dashboard-Sysdig-rabbitmq-overview.json
-- name: Rabbitmq Usage
- kind: Sysdig
- image: rabbitmq/images/rabbitmq_usage_sysdig.png
- description: |
- This dashboard offers information on:
- * Incoming message rates: published / routed to queues / confirmed / unconfirmed / returned / dropped
- * Outgoing message rated: delivered with auto or manual acks / acknowledged / redelivered
- * Polling operation with auto or manual acks, as well as empty ops
- * Queues, including declaration & deletion rates
- * Channels, including open & close rates
- * Connections, including open & close rates
- file: include/dashboard-Sysdig-rabbitmq-usage.json
+configurations: []
\ No newline at end of file
diff --git a/resources/rabbitmq/images/rabbitmq_overview_sysdig.png b/resources/rabbitmq/images/rabbitmq_overview_sysdig.png
deleted file mode 100644
index df2fe121..00000000
Binary files a/resources/rabbitmq/images/rabbitmq_overview_sysdig.png and /dev/null differ
diff --git a/resources/rabbitmq/images/rabbitmq_usage_sysdig.png b/resources/rabbitmq/images/rabbitmq_usage_sysdig.png
deleted file mode 100644
index 4f4a712d..00000000
Binary files a/resources/rabbitmq/images/rabbitmq_usage_sysdig.png and /dev/null differ
diff --git a/resources/rabbitmq/include/dashboard-Sysdig-rabbitmq-overview.json b/resources/rabbitmq/include/dashboard-Sysdig-rabbitmq-overview.json
deleted file mode 100644
index 255c5d10..00000000
--- a/resources/rabbitmq/include/dashboard-Sysdig-rabbitmq-overview.json
+++ /dev/null
@@ -1,1364 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 1,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 2,
- "w": 4,
- "x": 4,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 3,
- "w": 4,
- "x": 8,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 4,
- "x": 12,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 5,
- "w": 4,
- "x": 16,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 6,
- "w": 4,
- "x": 0,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 7,
- "w": 4,
- "x": 4,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 8,
- "w": 4,
- "x": 8,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 9,
- "w": 4,
- "x": 12,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 10,
- "w": 4,
- "x": 16,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 11,
- "w": 6,
- "x": 0,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 12,
- "w": 6,
- "x": 6,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 13,
- "w": 6,
- "x": 12,
- "y": 5
- },
- {
- "h": 5,
- "panelId": 14,
- "w": 6,
- "x": 18,
- "y": 5
- },
- {
- "h": 1,
- "panelId": 15,
- "w": 24,
- "x": 0,
- "y": 4
- },
- {
- "h": 1,
- "panelId": 16,
- "w": 24,
- "x": 0,
- "y": 10
- },
- {
- "h": 5,
- "panelId": 17,
- "w": 12,
- "x": 0,
- "y": 11
- },
- {
- "h": 5,
- "panelId": 18,
- "w": 12,
- "x": 12,
- "y": 11
- },
- {
- "h": 2,
- "panelId": 19,
- "w": 4,
- "x": 20,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 20,
- "w": 4,
- "x": 20,
- "y": 2
- }
- ],
- "name": "Rabbitmq Overview",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rabbitmq_queue_messages_ready{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Ready messages",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channel_messages_published_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__range]))"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Incoming messages / s",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rabbitmq_channels{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}) - sum(rabbitmq_channel_consumers{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Publishers",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rabbitmq_connections{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Connections",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rabbitmq_queues{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Queues",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rabbitmq_queue_messages_unacked{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Unacknowledged messages",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channel_messages_redelivered_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__range])) +\nsum(rate(rabbitmq_channel_messages_delivered_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__range])) +\nsum(rate(rabbitmq_channel_messages_delivered_ack_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__range])) +\nsum(rate(rabbitmq_channel_get_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__range])) +\nsum(rate(rabbitmq_channel_get_ack_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__range]))"
- }
- ],
- "description": "",
- "id": 7,
- "name": "Outgoing messages / s",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rabbitmq_channel_consumers{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Consumers",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rabbitmq_channels{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 9,
- "name": "Channels",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rabbitmq_build_info{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "Nodes",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "(rabbitmq_resident_memory_limit_bytes{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod} ) -\n(rabbitmq_process_resident_memory_bytes{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "If the value is zero or less, the memory alarm will be triggered and all publishing connections across all cluster nodes will be blocked.",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory available before publishers blocked",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "rabbitmq_disk_space_available_bytes{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "This metric is reported for the partition where the RabbitMQ data directory is stored.",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk space available before publishers blocked",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rabbitmq_process_max_fds{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}) -\n(rabbitmq_process_open_fds{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod} )"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "When this value reaches zero, new connections will not be accepted and disk write operations may fail.\n",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "File descriptors available",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rabbitmq_process_max_tcp_sockets{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod} ) -\n(rabbitmq_process_open_tcp_sockets{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "When this value reaches zero, new connections will not be accepted.",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "TCP sockets available",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 15,
- "markdownSource": "# RABBITMQ NODES (PODS)",
- "name": "Nodes (2)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 16,
- "markdownSource": "# QUEUED MESSAGES",
- "name": "Nodes (3)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rabbitmq_queue_messages_ready{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}) by(kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Total number of ready messages ready to be delivered to consumers.",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages ready to be delivered to consumers",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rabbitmq_queue_messages_unacked{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The total number of messages that are either in-flight to consumers, currently being processed by consumers or simply waiting for the consumer acknowledgements to be processed by the queue. Until the queue processes the message acknowledgement, the message will remain unacknowledged.\n\n* [Queues](https://www.rabbitmq.com/queues.html)\n* [Confirms and Acknowledgements](https://www.rabbitmq.com/confirms.html)\n* [Consumer Prefetch](https://www.rabbitmq.com/consumer-prefetch.html)",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages pending consumer acknowledgement",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rabbitmq_channel_messages_unroutable_dropped_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 19,
- "name": "Messages Unroutable Dropped",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rabbitmq_channel_messages_unroutable_dropped_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod})"
- }
- ],
- "description": "",
- "id": 20,
- "name": "Messages Unroutable Returned",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1631554130089,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--6139949314852700299",
- "documentTimestamp": 1631554130089,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1612202275360,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1612202275360,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1631551320996,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1631551320996,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1631554130090,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--7083949535721519842",
- "documentTimestamp": 1631554130090,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1612202275360,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1612202275360,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1631551561555,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1631551561555,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1631554130090,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--3678655470823086545",
- "documentTimestamp": 1631554130090,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1619467970842,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesWorkload",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1619467970842,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "label": true,
- "lastSeen": 1631551320996,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.workload.name"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "lastSeen": 1631551320996,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.workload.name"
- ],
- "publicId": "kube_workload_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "workload",
- "isVariable": true,
- "operand": "kubernetes.workload.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1631554130090,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--7638853878924989689",
- "documentTimestamp": 1631554130090,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1612202275360,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1612202275360,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "label": true,
- "lastSeen": 1631551561555,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "lastSeen": 1631551561555,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.pod"
- ],
- "publicId": "kube_pod_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "isVariable": true,
- "operand": "kubernetes.pod.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/rabbitmq/include/dashboard-Sysdig-rabbitmq-usage.json b/resources/rabbitmq/include/dashboard-Sysdig-rabbitmq-usage.json
deleted file mode 100644
index d8a117e2..00000000
--- a/resources/rabbitmq/include/dashboard-Sysdig-rabbitmq-usage.json
+++ /dev/null
@@ -1,2198 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 1,
- "panelId": 3,
- "w": 24,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 4,
- "w": 8,
- "x": 0,
- "y": 1
- },
- {
- "h": 5,
- "panelId": 1,
- "w": 8,
- "x": 8,
- "y": 1
- },
- {
- "h": 5,
- "panelId": 2,
- "w": 8,
- "x": 16,
- "y": 1
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 8,
- "x": 0,
- "y": 6
- },
- {
- "h": 5,
- "panelId": 5,
- "w": 8,
- "x": 8,
- "y": 6
- },
- {
- "h": 5,
- "panelId": 6,
- "w": 8,
- "x": 16,
- "y": 6
- },
- {
- "h": 1,
- "panelId": 8,
- "w": 24,
- "x": 0,
- "y": 11
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 10,
- "w": 6,
- "x": 6,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 11,
- "w": 6,
- "x": 12,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 14,
- "w": 6,
- "x": 18,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 13,
- "w": 6,
- "x": 0,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 12,
- "w": 6,
- "x": 6,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 16,
- "w": 6,
- "x": 12,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 17,
- "w": 6,
- "x": 18,
- "y": 17
- },
- {
- "h": 1,
- "panelId": 15,
- "w": 24,
- "x": 0,
- "y": 22
- },
- {
- "h": 5,
- "panelId": 18,
- "w": 9,
- "x": 0,
- "y": 23
- },
- {
- "h": 5,
- "panelId": 19,
- "w": 5,
- "x": 9,
- "y": 23
- },
- {
- "h": 5,
- "panelId": 20,
- "w": 5,
- "x": 14,
- "y": 23
- },
- {
- "h": 5,
- "panelId": 21,
- "w": 5,
- "x": 19,
- "y": 23
- },
- {
- "h": 1,
- "panelId": 22,
- "w": 24,
- "x": 0,
- "y": 28
- },
- {
- "h": 5,
- "panelId": 23,
- "w": 10,
- "x": 0,
- "y": 29
- },
- {
- "h": 5,
- "panelId": 24,
- "w": 7,
- "x": 10,
- "y": 29
- },
- {
- "h": 5,
- "panelId": 25,
- "w": 7,
- "x": 17,
- "y": 29
- },
- {
- "h": 1,
- "panelId": 26,
- "w": 24,
- "x": 0,
- "y": 34
- },
- {
- "h": 5,
- "panelId": 27,
- "w": 10,
- "x": 0,
- "y": 35
- },
- {
- "h": 5,
- "panelId": 28,
- "w": 7,
- "x": 10,
- "y": 35
- },
- {
- "h": 5,
- "panelId": 29,
- "w": 7,
- "x": 17,
- "y": 35
- }
- ],
- "name": "Rabbitmq Usage",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channel_messages_published_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The incoming message rate before any routing rules are applied.",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages published / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channel_messages_confirmed_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of messages confirmed by the broker to publishers. Publishers must opt-in to receive message confirmations.\n\nIf this metric is consistently at zero it may suggest that publisher confirms are not used by clients. The safety of published messages is likely to be at risk.\n\n* [Publisher Confirms](https://www.rabbitmq.com/confirms.html#publisher-confirms)\n* [Publisher Confirms and Data Safety](https://www.rabbitmq.com/publishers.html#data-safety)\n* [When Will Published Messages Be Confirmed by the Broker?](https://www.rabbitmq.com/confirms.html#when-publishes-are-confirmed)",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages confirmed to publishers / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 3,
- "markdownSource": "# INCOMING MESSAGES",
- "name": "New Panel",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_queue_messages_published_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of messages received from publishers and successfully routed to the master queue replicas.\n\n* [Queues](https://www.rabbitmq.com/queues.html)\n* [Publishers](https://www.rabbitmq.com/publishers.html)",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages routed to queues / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channel_messages_unconfirmed{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of messages received from publishers that have publisher confirms enabled and the broker has not confirmed yet.\n\n* [Publishers](https://www.rabbitmq.com/publishers.html)\n* [Confirms and Acknowledgements](https://www.rabbitmq.com/confirms.html)\n* [When Will Published Messages Be Confirmed by the Broker?](https://www.rabbitmq.com/confirms.html#when-publishes-are-confirmed)",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages unconfirmed to publishers / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channel_messages_unroutable_dropped_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of messages that cannot be routed and are dropped. \n\nAny value above zero means message loss and likely suggests a routing problem on the publisher end.\n\n* [Unroutable Message Handling](https://www.rabbitmq.com/publishers.html#unroutable)",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Unroutable messages dropped / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channel_messages_unroutable_returned_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of messages that cannot be routed and are returned back to publishers.\n\nSustained values above zero may indicate a routing problem on the publisher end.\n\n* [Unroutable Message Handling](https://www.rabbitmq.com/publishers.html#unroutable)\n* [When Will Published Messages Be Confirmed by the Broker?](https://www.rabbitmq.com/confirms.html#when-publishes-are-confirmed)",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Unroutable messages returned to publishers / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 8,
- "markdownSource": "# OUTGOING MESSAGES",
- "name": "New Panel (2)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(\n (rate(rabbitmq_channel_messages_delivered_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval]) ) +\n (rate(rabbitmq_channel_messages_delivered_ack_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval]) )\n) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of messages delivered to consumers. It includes messages that have been redelivered.\n\nThis metric does not include messages that have been fetched by consumers using `basic.get` (consumed by polling).\n\n* [Consumers](https://www.rabbitmq.com/consumers.html)",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages delivered / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channel_messages_redelivered_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of messages that have been redelivered to consumers. It includes messages that have been requeued automatically and redelivered due to channel exceptions or connection closures.\n\nHaving some redeliveries is expected, but if this metric is consistently non-zero, it is worth investigating why.\n\n* [Negative Acknowledgement and Requeuing of Deliveries](https://www.rabbitmq.com/confirms.html#consumer-nacks-requeue)\n* [Consumers](https://www.rabbitmq.com/consumers.html)",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages redelivered / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channel_messages_delivered_ack_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of message deliveries to consumers that use manual acknowledgement mode.\n\nWhen this mode is used, RabbitMQ waits for consumers to acknowledge messages before more messages can be delivered.\n\nThis is the safest way of consuming messages.\n\n* [Consumer Acknowledgements](https://www.rabbitmq.com/confirms.html)\n* [Consumer Prefetch](https://www.rabbitmq.com/consumer-prefetch.html)\n* [Consumer Acknowledgement Modes, Prefetch and Throughput](https://www.rabbitmq.com/confirms.html#channel-qos-prefetch-throughput)\n* [Consumers](https://www.rabbitmq.com/consumers.html)",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages delivered with manual ack / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channel_messages_delivered_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of message deliveries to consumers that use automatic acknowledgement mode.\n\nWhen this mode is used, RabbitMQ does not wait for consumers to acknowledge message deliveries.\n\nThis mode is fire-and-forget and does not offer any delivery safety guarantees. It tends to provide higher throughput and it may lead to consumer overload and higher consumer memory usage.\n\n* [Consumer Acknowledgement Modes, Prefetch and Throughput](https://www.rabbitmq.com/confirms.html#channel-qos-prefetch-throughput)\n* [Consumers](https://www.rabbitmq.com/consumers.html)",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages delivered auto ack / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channel_messages_acked_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of message acknowledgements coming from consumers that use manual acknowledgement mode.\n\n* [Consumer Acknowledgements](https://www.rabbitmq.com/confirms.html)\n* [Consumer Prefetch](https://www.rabbitmq.com/consumer-prefetch.html)\n* [Consumer Acknowledgement Modes, Prefetch and Throughput](https://www.rabbitmq.com/confirms.html#channel-qos-prefetch-throughput)\n* [Consumers](https://www.rabbitmq.com/consumers.html)",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Messages acknowledged / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channel_get_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of messages delivered to polling consumers that use automatic acknowledgement mode.\n\nThe use of polling consumers is highly inefficient and therefore strongly discouraged.\n\n* [Fetching individual messages](https://www.rabbitmq.com/consumers.html#fetching)\n* [Consumers](https://www.rabbitmq.com/consumers.html)",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Polling operations with auto ack / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 15,
- "markdownSource": "# QUEUES",
- "name": "New Panel (3)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channel_get_empty_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of polling consumer operations that yield no result.\n\nAny value above zero means that RabbitMQ resources are wasted by polling consumers.\n\nCompare this metric to the other polling consumer metrics to see the inefficiency rate.\n\nThe use of polling consumers is highly inefficient and therefore strongly discouraged.\n\n* [Fetching individual messages](https://www.rabbitmq.com/consumers.html#fetching)\n* [Consumers](https://www.rabbitmq.com/consumers.html)",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Polling operations that yield no result / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channel_get_ack_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of messages delivered to polling consumers that use manual acknowledgement mode.\n\nThe use of polling consumers is highly inefficient and therefore strongly discouraged.\n\n* [Fetching individual messages](https://www.rabbitmq.com/consumers.html#fetching)\n* [Consumers](https://www.rabbitmq.com/consumers.html)",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Polling operations with manual ack / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rabbitmq_queues{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Total number of queue masters per node. \n\nThis metric makes it easy to see sub-optimal queue distribution in a cluster.\n\n* [Queue Masters, Data Locality](https://www.rabbitmq.com/ha.html#master-migration-data-locality)\n* [Queues](https://www.rabbitmq.com/queues.html)",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Total queues",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_queues_declared_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of queue declarations performed by clients.\n\nLow sustained values above zero are to be expected. High rates may be indicative of queue churn or high rates of connection recovery. Confirm connection recovery rates by using the _Connections opened_ metric.\n\n* [Queues](https://www.rabbitmq.com/queues.html)",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Queues declared / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_queues_created_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of new queues created (as opposed to redeclarations).\n\nLow sustained values above zero are to be expected. High rates may be indicative of queue churn or high rates of connection recovery. Confirm connection recovery rates by using the _Connections opened_ metric.\n\n* [Queues](https://www.rabbitmq.com/queues.html)",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Queues created / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_queues_deleted_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of queues deleted.\n\nLow sustained values above zero are to be expected. High rates may be indicative of queue churn or high rates of connection recovery. Confirm connection recovery rates by using the _Connections opened_ metric.\n\n* [Queues](https://www.rabbitmq.com/queues.html)",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Queues deleted / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 22,
- "markdownSource": "# CHANNELS\n",
- "name": "New Panel (4)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rabbitmq_channels{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Total number of channels on all currently opened connections.\n\nIf this metric grows monotonically it is highly likely a channel leak in one of the applications. Confirm channel leaks by using the _Channels opened_ and _Channels closed_ metrics.\n\n* [Channel Leak](https://www.rabbitmq.com/channels.html#channel-leaks)\n* [Channels](https://www.rabbitmq.com/channels.html)",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Total channels",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channels_opened_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of new channels opened by applications across all connections. Channels are expected to be long-lived.\n\nLow sustained values above zero are to be expected. High rates may be indicative of channel churn or mass connection recovery. Confirm connection recovery rates by using the _Connections opened_ metric.\n\n* [High Channel Churn](https://www.rabbitmq.com/channels.html#high-channel-churn)\n* [Channels](https://www.rabbitmq.com/channels.html)",
- "id": 24,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Channels opened / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_channels_closed_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of channels closed by applications across all connections. Channels are expected to be long-lived.\n\nLow sustained values above zero are to be expected. High rates may be indicative of channel churn or mass connection recovery. Confirm connection recovery rates by using the _Connections opened_ metric.\n\n* [High Channel Churn](https://www.rabbitmq.com/channels.html#high-channel-churn)\n* [Channels](https://www.rabbitmq.com/channels.html)",
- "id": 25,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Channels closed / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 26,
- "markdownSource": "# CONNECTIONS\n",
- "name": "New Panel (5)",
- "nullValueDisplayText": null,
- "panelTitleVisible": false,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rabbitmq_connections{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Total number of client connections.\n\nIf this metric grows monotonically it is highly likely a connection leak in one of the applications. Confirm connection leaks by using the _Connections opened_ and _Connections closed_ metrics.\n\n* [Connection Leak](https://www.rabbitmq.com/connections.html#monitoring)\n* [Connections](https://www.rabbitmq.com/connections.html)",
- "id": 27,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Total connections",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_connections_opened_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of new connections opened by clients. Connections are expected to be long-lived.\n\nLow sustained values above zero are to be expected. High rates may be indicative of connection churn or mass connection recovery.\n\n* [Connection Leak](https://www.rabbitmq.com/connections.html#monitoring)\n* [Connections](https://www.rabbitmq.com/connections.html)",
- "id": 28,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connections opened / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod < Workload < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_pod_name}} < {{kube_workload_name}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rabbitmq_connections_closed_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload, kube_pod_name=~$pod}[$__interval])) by (kube_pod_name, kube_cluster_name,kube_namespace_name, kube_workload_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "The rate of connections closed. Connections are expected to be long-lived.\n\nLow sustained values above zero are to be expected. High rates may be indicative of connection churn or mass connection recovery.\n\n* [Connections](https://www.rabbitmq.com/connections.html)",
- "id": 29,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Connections closed / s",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1631554131026,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--6139949314852700299",
- "documentTimestamp": 1631554131026,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1612202275360,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1612202275360,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1631551320996,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1631551320996,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1631554131026,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--7083949535721519842",
- "documentTimestamp": 1631554131026,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1612202275360,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1612202275360,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1631551561555,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1631551561555,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1631554131026,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--3678655470823086545",
- "documentTimestamp": 1631554131026,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1619467970842,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesWorkload",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1619467970842,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "label": true,
- "lastSeen": 1631551320996,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.workload.name"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.workload.name",
- "identity": false,
- "lastSeen": 1631551320996,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.workload.name"
- ],
- "publicId": "kube_workload_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "workload",
- "isVariable": true,
- "operand": "kubernetes.workload.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1631554131026,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--7638853878924989689",
- "documentTimestamp": 1631554131026,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1612202275360,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1612202275360,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "label": true,
- "lastSeen": 1631551561555,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.pod.name",
- "identity": false,
- "lastSeen": 1631551561555,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.pod"
- ],
- "publicId": "kube_pod_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "pod",
- "isVariable": true,
- "operand": "kubernetes.pod.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/rabbitmq/include/sysdig-agent.yaml b/resources/rabbitmq/include/sysdig-agent.yaml
deleted file mode 100644
index 3a0f41a6..00000000
--- a/resources/rabbitmq/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: YourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/rabbitmq/setup-guide.yaml b/resources/rabbitmq/setup-guide.yaml
index 5884d1f1..c2014a02 100644
--- a/resources/rabbitmq/setup-guide.yaml
+++ b/resources/rabbitmq/setup-guide.yaml
@@ -4,7 +4,5 @@ app: "rabbitmq"
version: 1.0.0
appVersion:
- '3.8'
-configurations:
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
+configurations: []
descriptionFile: INSTALL.md
diff --git a/resources/rancher/INSTALL.md b/resources/rancher/INSTALL.md
deleted file mode 100644
index a75fbb52..00000000
--- a/resources/rancher/INSTALL.md
+++ /dev/null
@@ -1,131 +0,0 @@
-# Prerequisites
-## Enable monitoring
-Rancher can deploy a Prometheus server. To get a default monitoring you have to enable it in the monitoring tab.
-## Mount the etcd certificates in the sysdig agent
-```sh
-kubectl -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"volumes":[{"hostPath":{"path":"/etc/kubernetes/pki/etcd-manager-main","type":"DirectoryOrCreate"},"name":"etcd-certificates"}]}}}}'
-
-kubectl -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"containers":[{"name":"sysdig-agent","volumeMounts": [{"mountPath": "/etc/kubernetes/pki/etcd-manager","name": "etcd-certificates"}]}]}}}}'
-```
-# Gather the metrics from the prometheus deployed by Rancher
-For the control plane metrics, the services are not created by default. To get them in the Prometheus server you have to create new services and seviceMonitors. To gather that metrics with the Sysdig agent, you have to create the rules to filter them, and then federate the metrics with the agent itself.
-
-You can either follow the steps given below or download the script and execute:
-```sh
-sh installation.sh
-```
-And then apply the configuration changes for the `sysdig-agent`.
-
-1. Apply the services:
-```bash
-kubectl apply -f services.yaml
-```
-2. Apply the serviceMonitor:
-```bash
-kubectl apply -f service-monitor.yaml
-```
-## Configuring the Sysdig Agent
-
-In order to collect the metrics you have to enable `promscrape_fastproto` to do. Therefore, ensure that your `dragent.yaml` includes the following values:
-```yaml
-metrics_excess_log: true
-k8s_cluster_name: yourClusterName
-10s_flush_enable: true
-app_checks_enabled: false
-use_promscrape: true
-new_k8s: true
-promscrape_fastproto: true
-prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
-```
-
-See the example `sysdig-agent.yaml` file given below:
-
-With the promscrape v2 enabled you can scrape the etcd. To do so, ensure that your `sysdig-agent.yaml` includes the prometheus job as given below:
-```yaml
-- job_name: etcd
- scheme: https
- tls_config:
- insecure_skip_verify: true
- cert_file: /etc/kubernetes/pki/etcd-manager/etcd-clients-ca.crt
- key_file: /etc/kubernetes/pki/etcd-manager/etcd-clients-ca.key
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'kube-system/etcd-manager-main.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d)?
- replacement: $1:4001
- # Holding on to pod-id and container name so we can associate the metrics
- # with the container (and cluster hierarchy)
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
-```
-Additionally, you will need a job corresponding to the control plane:
-```yaml
-- job_name: control-plane
- honor_labels: true
- metrics_path: '/federate'
- params:
- 'match[]':
- - '{sysdig="true"}'
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'cattle-prometheus/prometheus-cluster-monitoring-0'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d)?
- replacement: $1
- # Holding on to pod-id and container name so we can associate the metrics
- # with the container (and cluster hierarchy)
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
-```
-
-See the examples below.
-
-3. Apply the rules:
-```
-kubectl apply -f rules.yaml
-```
-4. Apply the sysdig configuration:
-```
-kubectl apply -f sysdig-agent.yaml
-```
diff --git a/resources/rancher/images/api_grafana.png b/resources/rancher/images/api_grafana.png
deleted file mode 100644
index f82f44d3..00000000
Binary files a/resources/rancher/images/api_grafana.png and /dev/null differ
diff --git a/resources/rancher/images/api_sysdig.png b/resources/rancher/images/api_sysdig.png
deleted file mode 100644
index 32cc7907..00000000
Binary files a/resources/rancher/images/api_sysdig.png and /dev/null differ
diff --git a/resources/rancher/images/controller_manager_grafana.png b/resources/rancher/images/controller_manager_grafana.png
deleted file mode 100644
index 71447b6d..00000000
Binary files a/resources/rancher/images/controller_manager_grafana.png and /dev/null differ
diff --git a/resources/rancher/images/controller_manager_sysdig.png b/resources/rancher/images/controller_manager_sysdig.png
deleted file mode 100644
index 4e990780..00000000
Binary files a/resources/rancher/images/controller_manager_sysdig.png and /dev/null differ
diff --git a/resources/rancher/images/coreDNS_grafana.png b/resources/rancher/images/coreDNS_grafana.png
deleted file mode 100644
index 9b2c4de8..00000000
Binary files a/resources/rancher/images/coreDNS_grafana.png and /dev/null differ
diff --git a/resources/rancher/images/coredns_sysdig.png b/resources/rancher/images/coredns_sysdig.png
deleted file mode 100644
index 1b1ff8d9..00000000
Binary files a/resources/rancher/images/coredns_sysdig.png and /dev/null differ
diff --git a/resources/rancher/images/etcd_grafana.png b/resources/rancher/images/etcd_grafana.png
deleted file mode 100644
index 4f2c3874..00000000
Binary files a/resources/rancher/images/etcd_grafana.png and /dev/null differ
diff --git a/resources/rancher/images/etcd_sysdig.png b/resources/rancher/images/etcd_sysdig.png
deleted file mode 100644
index 931a8523..00000000
Binary files a/resources/rancher/images/etcd_sysdig.png and /dev/null differ
diff --git a/resources/rancher/images/kubelet_grafana.png b/resources/rancher/images/kubelet_grafana.png
deleted file mode 100644
index aa797287..00000000
Binary files a/resources/rancher/images/kubelet_grafana.png and /dev/null differ
diff --git a/resources/rancher/images/kubelet_sysdig.png b/resources/rancher/images/kubelet_sysdig.png
deleted file mode 100644
index 0040b252..00000000
Binary files a/resources/rancher/images/kubelet_sysdig.png and /dev/null differ
diff --git a/resources/rancher/images/proxy_grafana.png b/resources/rancher/images/proxy_grafana.png
deleted file mode 100644
index 09631c7b..00000000
Binary files a/resources/rancher/images/proxy_grafana.png and /dev/null differ
diff --git a/resources/rancher/images/proxy_sysdig.png b/resources/rancher/images/proxy_sysdig.png
deleted file mode 100644
index 63871347..00000000
Binary files a/resources/rancher/images/proxy_sysdig.png and /dev/null differ
diff --git a/resources/rancher/images/scheduler_grafana.png b/resources/rancher/images/scheduler_grafana.png
deleted file mode 100644
index a138b23f..00000000
Binary files a/resources/rancher/images/scheduler_grafana.png and /dev/null differ
diff --git a/resources/rancher/images/scheduler_sysdig.png b/resources/rancher/images/scheduler_sysdig.png
deleted file mode 100644
index d99eaab2..00000000
Binary files a/resources/rancher/images/scheduler_sysdig.png and /dev/null differ
diff --git a/resources/rancher/include/dashboard-Sysdig-Rancher---Api.json b/resources/rancher/include/dashboard-Sysdig-Rancher---Api.json
deleted file mode 100644
index 26028d06..00000000
--- a/resources/rancher/include/dashboard-Sysdig-Rancher---Api.json
+++ /dev/null
@@ -1,1027 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 9,
- "x": 0,
- "y": 17
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 9,
- "y": 17
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 7,
- "x": 17,
- "y": 17
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 7,
- "x": 17,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 8,
- "x": 9,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 9,
- "x": 0,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 24,
- "x": 0,
- "y": 10
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 4
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 10,
- "x": 14,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 10,
- "x": 4,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 4,
- "x": 0,
- "y": 0
- }
- ],
- "name": "Rancher / API server",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"kubernetes\"} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"kubernetes\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"kubernetes\"} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "ETCD get",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} get",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "etcd_request_cache_get_duration_seconds_bucket:kubernetes_apiservers * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "ETCD add",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} miss",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "etcd_request_cache_add_duration_seconds_bucket:kubernetes_apiservers * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "ETCD Cache Duration 99th Quantile ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "ETCD hit",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} hit",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(etcd_helper_cache_hit_total:kubernetes_apiservers{job=\"kubernetes-apiservers\"}[5m])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance,cluster)"
- },
- {
- "displayInfo": {
- "displayName": "ETCD miss",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} miss",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(etcd_helper_cache_miss_total:kubernetes_apiservers{job=\"kubernetes-apiservers\"}[5m])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance,cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "ETCD Cache Hit/Miss Rate ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "ETCD cache entry",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(etcd_helper_cache_entry_total:kubernetes_apiservers{job=\"kubernetes-apiservers\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "ETCD Cache Entry Total ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue latency",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "workqueue_queue_duration_seconds_bucket:kubernetes_apiservers * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue depth",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_depth:kubernetes_apiservers{job=\"kubernetes\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, name,cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Depth",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_adds_total:kubernetes_apiservers{job=\"kubernetes\"}[5m]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, name, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Add Rate ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request duration",
- "timeSeriesDisplayNameTemplate": "{{verb}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "apiserver_request_duration_seconds_bucket:kubernetes_apiservers * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Request duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} - 2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"2..\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"3..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"4..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(apiserver_request_total:kubernetes_apiservers{code=~\"5..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "RPC Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg(up:kubernetes{job=\"kubernetes\"} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 12,
- "name": "Up",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1605600422877,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1605600422877,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1605597489251,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1605597489251,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [
- "rancher"
- ],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/rancher/include/dashboard-Sysdig-Rancher---Controller_Manager.json b/resources/rancher/include/dashboard-Sysdig-Rancher---Controller_Manager.json
deleted file mode 100644
index 2c7e0a58..00000000
--- a/resources/rancher/include/dashboard-Sysdig-Rancher---Controller_Manager.json
+++ /dev/null
@@ -1,853 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 20
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 20
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 20
- },
- {
- "h": 4,
- "panelId": 4,
- "w": 24,
- "x": 0,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 5,
- "w": 7,
- "x": 0,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 6,
- "w": 17,
- "x": 7,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 24,
- "x": 0,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 24,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 20,
- "x": 4,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 4,
- "x": 0,
- "y": 0
- }
- ],
- "name": "Rancher / Controller Manager",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Goroutines",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Get request p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:get * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Get Request Latency 99th Quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"2..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"3..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"4..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kubernetes_control_manager{code=~\"5..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube API Request Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Post request latency p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:post * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Post Request Latency 99th Quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue latency",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "workqueue_queue_duration_seconds_bucket:kubernetes_apiservers * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Latency",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue depth",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_depth:kubernetes_control_manager[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, name, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Depth",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Work queue add rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(workqueue_adds_total:kubernetes_control_manager[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, name, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Work Queue Add Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg(up:controllermanager * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "UP",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- }
- ]
- },
- "type": "advancedNumber"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1605600422210,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1605600422210,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1605597489251,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1605597489251,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [
- "rancher"
- ],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/rancher/include/dashboard-Sysdig-Rancher---CoreDNS.json b/resources/rancher/include/dashboard-Sysdig-Rancher---CoreDNS.json
deleted file mode 100644
index 41a8a498..00000000
--- a/resources/rancher/include/dashboard-Sysdig-Rancher---CoreDNS.json
+++ /dev/null
@@ -1,1208 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 6,
- "panelId": 1,
- "w": 3,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 2,
- "w": 3,
- "x": 3,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 3,
- "w": 9,
- "x": 6,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 8,
- "x": 0,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 9,
- "x": 15,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 6,
- "w": 8,
- "x": 8,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 7,
- "w": 8,
- "x": 16,
- "y": 6
- },
- {
- "h": 6,
- "panelId": 8,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 9,
- "w": 9,
- "x": 6,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 10,
- "w": 9,
- "x": 15,
- "y": 12
- },
- {
- "h": 6,
- "panelId": 11,
- "w": 6,
- "x": 0,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 12,
- "w": 9,
- "x": 6,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 13,
- "w": 9,
- "x": 15,
- "y": 18
- },
- {
- "h": 6,
- "panelId": 14,
- "w": 8,
- "x": 0,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 15,
- "w": 8,
- "x": 8,
- "y": 24
- },
- {
- "h": 6,
- "panelId": 16,
- "w": 8,
- "x": 16,
- "y": 24
- }
- ],
- "name": "Rancher / CoreDNS",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up:kubernetes{job=\"coredns-monitoring\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "UP",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(coredns_panic_count_total:sysdig{job=\"coredns-monitoring\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Panics",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "forward {{rcode}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_forward_response_rcode_count_total:sysdig{job=\"coredns-monitoring\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (rcode)"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{rcode}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_dns_response_rcode_count_total:sysdig{job=\"coredns-monitoring\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (rcode)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "RPC rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum(rate(coredns_dns_request_type_count_total:sysdig{job=\"coredns-monitoring\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (type))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Requests (by qtype)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{server}} {{zone}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_dns_request_duration_seconds_bucket:sysdig{job=\"coredns-monitoring\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (server, zone, le))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "forward {{to}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_forward_request_duration_seconds_bucket:sysdig{job=\"coredns-monitoring\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (to, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Request duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{zone}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum(rate(coredns_dns_request_type_count_total:sysdig{job=\"coredns-monitoring\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (zone))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Requests (by zone)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{to}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(sum(rate(coredns_forward_request_count_total:sysdig{job=\"coredns-monitoring\"}[$__interval]) * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (to))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Forward Requests (by to)",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-1",
- "nullValueDisplayMode": "nullGap",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "sum(coredns_cache_hits_total:sysdig{job=\"coredns-monitoring\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) / (sum(coredns_cache_misses_total:sysdig{job=\"coredns-monitoring\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) + sum(coredns_cache_hits_total:sysdig{job=\"coredns-monitoring\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}))"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Cached",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_cache_hits_total:sysdig{job=\"coredns-monitoring\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (type)"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "misses",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(coredns_cache_misses_total:sysdig{job=\"coredns-monitoring\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Cache hit Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(coredns_cache_size:sysdig{job=\"coredns-monitoring\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (type)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Cache Size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(sum(coredns_plugin_enabled:sysdig{job=\"coredns-monitoring\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (name))"
- }
- ],
- "description": "",
- "id": 11,
- "name": "Plugins Enabled",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "99th {{server}} {{zone}} {{proto}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_dns_request_size_bytes_bucket:sysdig{job=\"coredns-monitoring\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (server, zone, proto, le))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "50th {{server}} {{zone}} {{proto}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(rate(coredns_dns_request_size_bytes_bucket:sysdig{job=\"coredns-monitoring\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (server, zone, proto, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Request size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "99th {{server}} {{zone}} {{proto}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(coredns_dns_response_size_bytes_bucket:sysdig{job=\"coredns-monitoring\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (server, zone, proto, le))"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "50th {{server}} {{zone}} {{proto}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.50, sum(rate(coredns_dns_response_size_bytes_bucket:sysdig{job=\"coredns-monitoring\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (server, zone, proto, le))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Response size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"coredns-monitoring\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"coredns-monitoring\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"coredns-monitoring\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1605600425058,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1605600425058,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1605597489251,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1605597489251,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/rancher/include/dashboard-Sysdig-Rancher---Kubelet.json b/resources/rancher/include/dashboard-Sysdig-Rancher---Kubelet.json
deleted file mode 100644
index ce7e05bf..00000000
--- a/resources/rancher/include/dashboard-Sysdig-Rancher---Kubelet.json
+++ /dev/null
@@ -1,1708 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 1,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 2,
- "w": 4,
- "x": 4,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 3,
- "w": 4,
- "x": 8,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 4,
- "x": 12,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 5,
- "w": 4,
- "x": 16,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 6,
- "w": 4,
- "x": 20,
- "y": 0
- },
- {
- "h": 5,
- "panelId": 7,
- "w": 12,
- "x": 0,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 8,
- "w": 12,
- "x": 12,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 9,
- "w": 24,
- "x": 0,
- "y": 7
- },
- {
- "h": 5,
- "panelId": 10,
- "w": 12,
- "x": 0,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 11,
- "w": 12,
- "x": 12,
- "y": 12
- },
- {
- "h": 5,
- "panelId": 12,
- "w": 12,
- "x": 0,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 13,
- "w": 12,
- "x": 12,
- "y": 17
- },
- {
- "h": 5,
- "panelId": 14,
- "w": 24,
- "x": 0,
- "y": 22
- },
- {
- "h": 5,
- "panelId": 15,
- "w": 12,
- "x": 0,
- "y": 27
- },
- {
- "h": 5,
- "panelId": 16,
- "w": 12,
- "x": 0,
- "y": 32
- },
- {
- "h": 5,
- "panelId": 17,
- "w": 12,
- "x": 12,
- "y": 27
- },
- {
- "h": 5,
- "panelId": 18,
- "w": 12,
- "x": 12,
- "y": 32
- },
- {
- "h": 5,
- "panelId": 19,
- "w": 24,
- "x": 0,
- "y": 37
- },
- {
- "h": 5,
- "panelId": 20,
- "w": 24,
- "x": 0,
- "y": 42
- },
- {
- "h": 6,
- "panelId": 21,
- "w": 24,
- "x": 0,
- "y": 47
- },
- {
- "h": 4,
- "panelId": 22,
- "w": 8,
- "x": 0,
- "y": 53
- },
- {
- "h": 4,
- "panelId": 23,
- "w": 8,
- "x": 8,
- "y": 53
- },
- {
- "h": 4,
- "panelId": 24,
- "w": 8,
- "x": 16,
- "y": 53
- }
- ],
- "name": "Rancher / Kubelet",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up:kubernetes{job=\"expose-kubelets-metrics\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Up",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kubelet_running_pod_count:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Running Pods",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(kubelet_running_container_count:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Running Container",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(volume_manager_total_volumes:kubernetes_nodes{state=\"actual_state_of_world\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Actual Volume Count",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(volume_manager_total_volumes:desired:kubernetes_nodes{job=\"kubernetes-nodes\",state=\"desired_state_of_world\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Desired Volume Count",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_node_config_error:kubernetes_nodes[5m])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Config Error Count",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation Rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_runtime_operations_total:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (operation_type, instance, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Operation rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation Error Rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_runtime_operations_errors_total:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, operation_type, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Operation Error Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "operation_duration_seconds:kubernetes_nodes * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Operation duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod start rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} pod",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_pod_start_duration_seconds_count:kubernetes_nodes[5m])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Worker start rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} worker",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_pod_worker_duration_seconds_count:kubernetes_nodes[5m])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Pod Start Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Pod start duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} pod",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "ms",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "pod_start_duration_seconds:kubernetes_nodes * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "Pod worker duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} pod",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "pod_worker_duration_seconds:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Pod Start Duration",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{operation_name}} {{volume_plugin}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(storage_operation_duration_seconds_count:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, operation_name, volume_plugin,cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Storage Operation Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Operation error rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{operation_name}} {{volume_plugin}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(storage_operation_errors_total:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, operation_name, volume_plugin, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Storage Operation Error Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Storage operation duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{operation_name}} {{volume_plugin}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "storage_operation_duration_seconds:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Storage Operation Duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cgroup manager rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{operation_type}} - {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubelet_cgroup_manager_duration_seconds_count:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, operation_type)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Cgroup manager operation rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "PLEG relist rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(pleg_relist_duration_seconds:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "PLEG relist rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cgroup manager p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{operation_type}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "cgroup_manager_duration_seconds:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Cgroup manager 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "PLEG relist interval",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "pleg_relist_interval_seconds:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "PLEG relist interval",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "PLEG relist duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "pleg_relist_duration_seconds:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "PLEG relist duration",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_2code:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_3code:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_4code:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Rate client request",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total_5code:kubernetes_nodes[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "RPC Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request duration p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "request_duration_seconds:kubernetes_nodes* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Request duration 99th quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"kubernetes-nodes\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Rate cpu",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"kubernetes-nodes\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Goroutines",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"kubernetes-nodes\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 24,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1605600425592,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1605600425592,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1605597489251,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1605597489251,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/rancher/include/dashboard-Sysdig-Rancher---Proxy.json b/resources/rancher/include/dashboard-Sysdig-Rancher---Proxy.json
deleted file mode 100644
index 729a3d11..00000000
--- a/resources/rancher/include/dashboard-Sysdig-Rancher---Proxy.json
+++ /dev/null
@@ -1,916 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 14
- },
- {
- "h": 3,
- "panelId": 4,
- "w": 24,
- "x": 0,
- "y": 11
- },
- {
- "h": 3,
- "panelId": 5,
- "w": 7,
- "x": 0,
- "y": 8
- },
- {
- "h": 3,
- "panelId": 6,
- "w": 17,
- "x": 7,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 10,
- "x": 4,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 10,
- "x": 14,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 12,
- "x": 12,
- "y": 4
- }
- ],
- "name": "Rancher / Proxy",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kube_proxy[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Goroutines",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Get request p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:get:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Get Request Latency 99th Quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_proxy{code=~\"2..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_proxy{code=~\"3..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_proxy{code=~\"4..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_proxy{code=~\"5..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube API Request Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Post request latency p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:post:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Post Request Latency 99th Quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "kubeproxy_network_programming_duration_seconds_count:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Network Programming Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(kubeproxy_sync_proxy_rules_duration_seconds_count:kube_proxy[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Rules Sync Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "UP",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Latency",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "kubeproxy_sync_proxy_rules_duration_seconds_bucket:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Rule Sync Latency 99th Quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Network Programming Latency 99th Quantile",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "kubeproxy_network_programming_duration_seconds_bucket:kube_proxy* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Network Programming Latency 99th Quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1605600424277,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1605600424277,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1605597489251,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1605597489251,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [
- "rancher"
- ],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/rancher/include/dashboard-Sysdig-Rancher---Scheduler.json b/resources/rancher/include/dashboard-Sysdig-Rancher---Scheduler.json
deleted file mode 100644
index 84acf47a..00000000
--- a/resources/rancher/include/dashboard-Sysdig-Rancher---Scheduler.json
+++ /dev/null
@@ -1,878 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 3,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 12
- },
- {
- "h": 3,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 12
- },
- {
- "h": 3,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 5,
- "w": 8,
- "x": 0,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 24,
- "x": 0,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 10,
- "x": 14,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 10,
- "x": 4,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 12,
- "w": 16,
- "x": 8,
- "y": 4
- }
- ],
- "name": "Rancher / Scheduler",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes:kubernetes{job=\"kube-scheduler\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total:kubernetes{job=\"kube-scheduler\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 2,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Goroutines",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines:kubernetes{job=\"kube-scheduler\"} * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 3,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 2xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"2..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 3xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"3..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 4xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"4..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Request rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}} 5xx",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(rest_client_requests_total:kube_scheduler{code=~\"5..\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Kube API Request Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Get Request Latency p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:kube_scheduler{verb=\"GET\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Get Request Latency 99th Quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} e2e",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} scheduling algorithm",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "scheduler_scheduling_algorithm_duration_seconds_bucket:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} volume",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "scheduler_volume_scheduling_duration_seconds_bucket:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- },
- {
- "displayInfo": {
- "displayName": "-",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} binding",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "scheduler_binding_duration_seconds_bucket:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Scheduling latency 99th Quantile",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(up:kube_scheduler* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "UP",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Scheduling Rate e2e",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} e2e",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(scheduler_e2e_scheduling_duration_seconds_count:kube_scheduler[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Scheduling Rate binding",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} binding",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(scheduler_binding_duration_seconds_count:kube_scheduler[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Scheduling Rate algorithm",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} scheduling algorithm",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(scheduler_scheduling_algorithm_duration_seconds_count:kube_scheduler[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Scheduling Rate volume",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} volume",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(scheduler_volume_scheduling_duration_seconds_count:kube_scheduler[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Scheduling Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Post Request Latency p99",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{verb}} {{url}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rest_client_request_latency_seconds_bucket:kube_scheduler{verb=\"POST\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 12,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Post Request Latency 99th Quantile ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1605600423676,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1605600423676,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1605597489251,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1605597489251,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [
- "rancher"
- ],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/rancher/include/dashboard-Sysdig-Rancher---etcd.json b/resources/rancher/include/dashboard-Sysdig-Rancher---etcd.json
deleted file mode 100644
index cb277ecb..00000000
--- a/resources/rancher/include/dashboard-Sysdig-Rancher---etcd.json
+++ /dev/null
@@ -1,890 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 4,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 2,
- "w": 8,
- "x": 8,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 3,
- "w": 8,
- "x": 16,
- "y": 0
- },
- {
- "h": 6,
- "panelId": 4,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 6,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 6,
- "w": 8,
- "x": 0,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 7,
- "w": 8,
- "x": 8,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 8,
- "x": 0,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 9,
- "w": 8,
- "x": 16,
- "y": 10
- },
- {
- "h": 4,
- "panelId": 10,
- "w": 8,
- "x": 8,
- "y": 14
- },
- {
- "h": 4,
- "panelId": 11,
- "w": 8,
- "x": 16,
- "y": 14
- }
- ],
- "name": "Rancher / etcd",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg(etcd_server_has_leader * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 1,
- "name": "Etcd has a leader?",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": [
- {
- "displayText": "Yes",
- "inputFormat": "1",
- "severity": "ok",
- "value": 1.0
- },
- {
- "displayText": "Some",
- "inputFormat": "1",
- "severity": "low",
- "value": 0.4
- },
- {
- "displayText": "No",
- "inputFormat": "1",
- "severity": "high",
- "value": 0.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max(etcd_server_leader_changes_seen_total * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "The number of leader changes seen",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max(etcd_server_proposals_failed_total * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster})"
- }
- ],
- "description": "",
- "id": 3,
- "name": "The total number of failed proposals seen",
- "nullValueDisplayText": null,
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "RPC Rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(grpc_server_started_total{grpc_type=\"unary\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "RPC Failed Rate",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(grpc_server_handled_total{grpc_type=\"unary\",grpc_code!=\"OK\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 4,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "RPC Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Watch Streams",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(grpc_server_started_total{grpc_service=\"etcdserverpb.Watch\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster) - sum(grpc_server_handled_total{grpc_service=\"etcdserverpb.Watch\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Lease Streams",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(grpc_server_started_total{grpc_service=\"etcdserverpb.Lease\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster}) by (cluster) - sum(grpc_server_handled_total{grpc_service=\"etcdserverpb.Lease\",grpc_type=\"bidi_stream\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Active Streams",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "DB size",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} DB Size",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "etcd_debugging_mvcc_db_total_size_in_bytes * on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 6,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "DB Size",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Disk sync duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} WAL fsync",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(etcd_disk_wal_fsync_duration_seconds_bucket[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, le, cluster))"
- },
- {
- "displayInfo": {
- "displayName": "Disk sync duration",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}} DB fsync",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "nullValueDisplayMode": "nullGap",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "histogram_quantile(0.99, sum(rate(etcd_disk_backend_commit_duration_seconds_bucket[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (instance, le, cluster))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 7,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk sync duration",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Memory",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "nullValueDisplayMode": "nullGap",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "process_resident_memory_bytes{job=\"etcd\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Number of consensus proposals commited",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(etcd_server_proposals_committed_total[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- },
- {
- "displayInfo": {
- "displayName": "Number of consensus proposals applied",
- "timeSeriesDisplayNameTemplate": "{{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(etcd_server_proposals_applied_total[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}) by (cluster)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 9,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "The total number of consensus proposals committed ",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Cpu usage",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(process_cpu_seconds_total{job=\"etcd\"}[$__interval])* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU usage",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{cluster}} {{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "go_goroutines{job=\"etcd\"}* on (container_id) group_left(cluster,namespace,pod) kube_pod_container_info{cluster=~$cluster}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "right",
- "showCurrent": true,
- "width": null
- },
- "name": "Goroutines",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1605775450206,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1605775450206,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1605774849401,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1605774849401,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/rancher/include/installation.sh b/resources/rancher/include/installation.sh
deleted file mode 100755
index 34eb6e88..00000000
--- a/resources/rancher/include/installation.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-kubectl -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"volumes":[{"hostPath":{"path":"/etc/kubernetes/pki/etcd-manager-main","type":"DirectoryOrCreate"},"name":"etcd-certificates"}]}}}}'
-kubectl -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"containers":[{"name":"sysdig-agent","volumeMounts": [{"mountPath": "/etc/kubernetes/pki/etcd-manager","name": "etcd-certificates"}]}]}}}}'
-kubectl apply -f 'https://raw.githubusercontent.com/sysdiglabs/promcat-resources/master/resources/rancher/include/service.yaml'
-kubectl apply -f 'https://raw.githubusercontent.com/sysdiglabs/promcat-resources/master/resources/rancher/include/service-monitor.yaml'
-kubectl apply -f 'https://raw.githubusercontent.com/sysdiglabs/promcat-resources/master/resources/rancher/include/rules.yaml'
\ No newline at end of file
diff --git a/resources/rancher/include/rules.yaml b/resources/rancher/include/rules.yaml
deleted file mode 100644
index eca48c7e..00000000
--- a/resources/rancher/include/rules.yaml
+++ /dev/null
@@ -1,483 +0,0 @@
-apiVersion: monitoring.coreos.com/v1
-kind: PrometheusRule
-metadata:
- name: prometheus-sysdig-k8s-rules
- namespace: cattle-prometheus
- labels:
- app: exporter-kubernetes
- source: rancher-monitoring
-spec:
- groups:
- - name: "Sysdig.k8s.general.rules"
- rules:
- - expr: up{job=~"expose-kubelets-metrics|kubernetes|controller-manager|kube-controller-manager|kube-scheduler|coredns-monitoring"}
- record: "up:kubernetes"
- labels:
- sysdig: "true"
- - expr: |
- process_resident_memory_bytes{job=~"expose-kubelets-metrics|kubernetes|controller-manager|kube-controller-manager|kube-scheduler|coredns-monitoring"}
- record: "process_resident_memory_bytes:kubernetes"
- labels:
- sysdig: "true"
- - expr: |
- process_cpu_seconds_total{job=~"expose-kubelets-metrics|kubernetes|controller-manager|kube-controller-manager|kube-scheduler|coredns-monitoring"}
- record: "process_cpu_seconds_total:kubernetes"
- labels:
- sysdig: "true"
- - expr: |
- go_goroutines{job=~"expose-kubelets-metrics|kubernetes|controller-manager|kube-controller-manager|kube-scheduler|coredns-monitoring"}
- record: "go_goroutines:kubernetes"
- labels:
- sysdig: "true"
-
- - name: "Sysdig.k8s.kubelet.rules"
- rules:
- - expr: kubelet_running_pod_count{job="expose-kubelets-metrics"}
- record: "kubelet_running_pod_count:kubelet"
- labels:
- sysdig: "true"
- - expr: kubelet_running_container_count{job="expose-kubelets-metrics"}
- record: "kubelet_running_container_count:kubelet"
- labels:
- sysdig: "true"
- - expr: volume_manager_total_volumes{job="expose-kubelets-metrics"}
- record: "volume_manager_total_volumes:kubelet"
- labels:
- sysdig: "true"
- - expr: volume_manager_total_volumes{job="expose-kubelets-metrics",state="desired_state_of_world"}
- record: "volume_manager_total_volumes:desired:kubelet"
- labels:
- sysdig: "true"
- - expr: kubelet_node_config_error{job="expose-kubelets-metrics"}
- record: "kubelet_node_config_error:kubelet"
- labels:
- sysdig: "true"
- - expr: kubelet_runtime_operations_total{job="expose-kubelets-metrics"}
- record: "kubelet_runtime_operations_total:kubelet"
- labels:
- sysdig: "true"
- - expr: kubelet_runtime_operations_errors_total{job="expose-kubelets-metrics"}
- record: "kubelet_runtime_operations_errors_total:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(kubelet_runtime_operations_duration_seconds_bucket{job="expose-kubelets-metrics"}[5m])) by (instance, operation_type, le))
- record: "operation_duration_seconds:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- kubelet_pod_start_duration_seconds_count{job="expose-kubelets-metrics"}
- record: "kubelet_pod_start_duration_seconds_count:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- kubelet_pod_worker_duration_seconds_count{job="expose-kubelets-metrics"}
- record: "kubelet_pod_worker_duration_seconds_count:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(kubelet_pod_start_duration_seconds_bucket{job="expose-kubelets-metrics"}[5m])) by (instance, le))
- record: "pod_start_duration_seconds:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{job="expose-kubelets-metrics"}[5m])) by (instance, le))
- record: "pod_worker_duration_seconds:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- storage_operation_duration_seconds_count{job="expose-kubelets-metrics"}
- record: "storage_operation_duration_seconds_count:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- storage_operation_errors_total{job="expose-kubelets-metrics"}
- record: "storage_operation_errors_total:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(storage_operation_duration_seconds_bucket{job="expose-kubelets-metrics"}[5m])) by (instance, operation_name, volume_plugin, le))
- record: "storage_operation_duration_seconds:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- kubelet_cgroup_manager_duration_seconds_count{job="expose-kubelets-metrics"}
- record: "kubelet_cgroup_manager_duration_seconds_count:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(kubelet_cgroup_manager_duration_seconds_bucket{job="expose-kubelets-metrics"}[5m])) by (instance, operation_type, le))
- record: "cgroup_manager_duration_seconds:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- kubelet_pleg_relist_duration_seconds_count{job="expose-kubelets-metrics"}
- record: "kubelet_pleg_relist_duration_seconds_count:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_interval_seconds_bucket{job="expose-kubelets-metrics"}[5m])) by (instance, le))
- record: "pleg_relist_interval_seconds:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket{job="expose-kubelets-metrics"}[5m])) by (instance, le))
- record: "pleg_relist_duration_seconds:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- rest_client_requests_total{job="expose-kubelets-metrics"}
- record: "rest_client_requests_total_code:kubelet"
- labels:
- sysdig: "true"
- - expr: |
- histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="expose-kubelets-metrics"}[5m])) by (instance, verb, url, le))
- record: "request_duration_seconds:kubelet"
- labels:
- sysdig: "true"
-
- - name: "Sysdig.k8s.scheduler.rules"
- rules:
- - expr: up{job="kube-scheduler"}
- record: "up:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: scheduler_e2e_scheduling_duration_seconds_count{job="kube-scheduler"}
- record: "scheduler_e2e_scheduling_duration_seconds_count:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: scheduler_binding_duration_seconds_count{job="kube-scheduler"}
- record: "scheduler_binding_duration_seconds_count:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: scheduler_scheduling_algorithm_duration_seconds_count{job="kube-scheduler"}
- record: "scheduler_scheduling_algorithm_duration_seconds_count:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: scheduler_volume_scheduling_duration_seconds_count{job="kube-scheduler"}
- record: "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(scheduler_e2e_scheduling_duration_seconds_bucket{job="kube-scheduler"}[5m])) by (instance, le))
- record: "scheduler_volume_scheduling_duration_seconds_count:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(scheduler_binding_duration_seconds_bucket{job="kube-scheduler"}[5m])) by (instance, le))
- record: "scheduler_binding_duration_seconds_bucket:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(scheduler_scheduling_algorithm_duration_seconds_bucket{job="kube-scheduler"}[5m])) by (instance, le))
- record: "scheduler_scheduling_algorithm_duration_seconds_bucket:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(scheduler_volume_scheduling_duration_seconds_bucket{job="kube-scheduler"}[5m])) by (instance, le))
- record: "scheduler_volume_scheduling_duration_seconds_bucket:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kube-scheduler"}[5m])) by (verb, url, le))
- record: "rest_client_request_latency_seconds_bucket:kube_scheduler"
- labels:
- sysdig: "true"
- - expr: rest_client_requests_total{job="kube-scheduler"}
- record: "rest_client_requests_total:kube_scheduler"
- labels:
- sysdig: "true"
-
- - name: "Sysdig.k8s.api.rules"
- rules:
- - expr: apiserver_request_total{job="kubernetes"}
- record: "apiserver_request_total:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(apiserver_request_duration_seconds_bucket{job="kubernetes"}[5m])) by (verb, le))
- record: "apiserver_request_duration_seconds_bucket:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: workqueue_adds_total{job="kubernetes"}
- record: "workqueue_adds_total:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: workqueue_depth{job="kubernetes"}
- record: "workqueue_depth:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job="kubernetes"}[5m])) by (instance, name, le))
- record: "workqueue_queue_duration_seconds_bucket:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: etcd_helper_cache_entry_total{job="kubernetes"}
- record: "etcd_helper_cache_entry_total:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: etcd_helper_cache_hit_total{job="kubernetes"}
- record: "etcd_helper_cache_hit_total:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: etcd_helper_cache_miss_total{job="kubernetes"}
- record: "etcd_helper_cache_miss_total:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99,sum(rate(etcd_request_cache_get_duration_seconds_bucket{job="kubernetes"}[5m])) by (instance, le))
- record: "etcd_request_cache_get_duration_seconds_bucket:kubernetes_apiservers"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99,sum(rate(etcd_request_cache_add_duration_seconds_bucket{job="kubernetes"}[5m])) by (instance, le))
- record: "etcd_request_cache_add_duration_seconds_bucket:kubernetes_apiservers"
- labels:
- sysdig: "true"
-
- - name: "Sysdig.k8s.controller_manager.rules"
- rules:
- - expr: up{job=~"kube-controller-manager|controller-manager"}
- record: "up:controllermanager"
- labels:
- sysdig: "true"
- - expr: workqueue_adds_total{job=~"kube-controller-manager|controller-manager"}
- record: "workqueue_adds_total:kubernetes_control_manager"
- labels:
- sysdig: "true"
- - expr: workqueue_depth{job=~"kube-controller-manager|controller-manager"}
- record: "workqueue_depth:kubernetes_control_manager"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job=~"kube-controller-manager"}[5m])) by (instance, name, le))
- record: "workqueue_queue_duration_seconds_bucket:kubernetes_control_manager"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job=~"kubernetes", verb="POST"}[5m])) by (verb, url, le))
- record: "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:post"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job=~"kubernetes", verb="GET"}[5m])) by (verb, url, le))
- record: "rest_client_request_latency_seconds_bucket:kubernetes_control_manager:get"
- labels:
- sysdig: "true"
- - expr: rest_client_requests_total{job=~"kube-controller-manager|controller-manager"}
- record: "rest_client_requests_total:kubernetes_control_manager"
- labels:
- sysdig: "true"
-
- - name: "Sysdig.k8s.kube_proxy.rules"
- rules:
- - expr: up{job="kube-proxy"}
- record: "up:kube_proxy"
- labels:
- sysdig: "true"
- - expr : kubeproxy_sync_proxy_rules_duration_seconds_count{job="kube-proxy"}
- record: "kubeproxy_sync_proxy_rules_duration_seconds_count:kube_proxy"
- labels:
- sysdig: "true"
- - expr : histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{job="kube-proxy"}[5m]))
- record: "kubeproxy_sync_proxy_rules_duration_seconds_bucket:kube_proxy"
- labels:
- sysdig: "true"
- - expr : kubeproxy_network_programming_duration_seconds_count{job="kube-proxy"}
- record: "kubeproxy_network_programming_duration_seconds_count:kube_proxy"
- labels:
- sysdig: "true"
- - expr : histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket{job="kube-proxy"}[5m])) by (instance, le))
- record: "kubeproxy_network_programming_duration_seconds_bucket:kube_proxy"
- labels:
- sysdig: "true"
- - expr: rest_client_requests_total{job="kube-proxy"}
- record: "rest_client_requests_total:kube_proxy"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kube-proxy",verb="POST"}[5m])) by (verb, url, le))
- record: "rest_client_request_latency_seconds_bucket:post:kube_proxy"
- labels:
- sysdig: "true"
- - expr: histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job="kube-proxy",verb="GET"}[5m])) by (verb, url, le))
- record: "rest_client_request_latency_seconds_bucket:get:kube_proxy"
- labels:
- sysdig: "true"
- - expr: |
- process_resident_memory_bytes{job="kube-proxy"}
- record: "process_resident_memory_bytes:kube_proxy"
- labels:
- sysdig: "true"
- - expr: |
- process_cpu_seconds_total{job="kube-proxy"}
- record: "process_cpu_seconds_total:kube_proxy"
- labels:
- sysdig: "true"
- - expr: |
- go_goroutines{job="kube-proxy"}
- record: "go_goroutines:kube_proxy"
- labels:
- sysdig: "true"
-
- - name: "Sysdig.k8s.etcd.rules"
- rules:
- - expr: up{job=~"etcd"}
- record: "up:kubernetes"
- labels:
- sysdig: "true"
- - expr: |
- process_resident_memory_bytes{job=~"etcd"}
- record: "process_resident_memory_bytes:kubernetes"
- labels:
- sysdig: "true"
- - expr: |
- process_cpu_seconds_total{job=~"etcd"}
- record: "process_cpu_seconds_total:kubernetes"
- labels:
- sysdig: "true"
- - expr: |
- go_goroutines{job=~"etcd"}
- record: "go_goroutines:kubernetes"
- labels:
- sysdig: "true"
- - expr: |
- etcd_server_has_leader
- record: "etcd_server_has_leader:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- etcd_server_leader_changes_seen_total
- record: "etcd_server_leader_changes_seen_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- grpc_server_started_total
- record: "grpc_server_started_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- sum by (grpc_type,grpc_code,grpc_service)(grpc_server_handled_total)
- record: "grpc_server_handled_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- grpc_server_handling_seconds_bucket
- record: "grpc_server_handling_seconds_bucket:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- etcd_network_peer_round_trip_time_seconds_bucket
- record: "etcd_network_peer_round_trip_time_seconds_bucket:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- etcd_debugging_mvcc_db_total_size_in_bytes
- record: "etcd_debugging_mvcc_db_total_size_in_bytes:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- etcd_disk_wal_fsync_duration_seconds_bucket
- record: "etcd_disk_wal_fsync_duration_seconds_bucket:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- etcd_disk_backend_commit_duration_seconds_bucket
- record: "etcd_disk_backend_commit_duration_seconds_bucket:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- etcd_http_failed_total
- record: "etcd_http_failed_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- etcd_http_successful_duration_seconds_bucket
- record: "etcd_http_successful_duration_seconds_bucket:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- etcd_network_client_grpc_received_bytes_total
- record: "etcd_network_client_grpc_received_bytes_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- etcd_network_client_grpc_sent_bytes_total
- record: "etcd_network_client_grpc_sent_bytes_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- etcd_network_client_grpc_sent_bytes_total
- record: "etcd_network_client_grpc_sent_bytes_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- etcd_server_proposals_failed_total
- record: "etcd_server_proposals_failed_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- etcd_server_proposals_committed_total
- record: "etcd_server_proposals_committed_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- etcd_server_proposals_applied_total
- record: "etcd_server_proposals_applied_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- etcd_network_peer_sent_failures_total
- record: "etcd_network_peer_sent_failures_total:sysdig"
- labels:
- sysdig: "true"
-
- - name: "Sysdig.k8s.dns.rules"
- rules:
- - expr: |
- coredns_panic_count_total
- record: "coredns_panic_count_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_dns_response_rcode_count_total
- record: "coredns_dns_response_rcode_count_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_forward_response_rcode_count_total
- record: "coredns_forward_response_rcode_count_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_dns_request_duration_seconds_bucket
- record: "coredns_dns_request_duration_seconds_bucket:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_dns_request_type_count_total
- record: "coredns_dns_request_type_count_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_forward_request_count_total
- record: "coredns_forward_request_count_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_cache_hits_total
- record: "coredns_cache_hits_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_cache_misses_total
- record: "coredns_cache_misses_total:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_cache_size
- record: "coredns_cache_size:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_plugin_enabled
- record: "coredns_plugin_enabled:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_dns_request_size_bytes_bucket
- record: "coredns_dns_request_size_bytes_bucket:sysdig"
- labels:
- sysdig: "true"
- - expr: |
- coredns_dns_response_size_bytes_bucket
- record: "coredns_dns_response_size_bytes_bucket:sysdig"
- labels:
- sysdig: "true"
\ No newline at end of file
diff --git a/resources/rancher/include/sysdig-agent.yaml b/resources/rancher/include/sysdig-agent.yaml
deleted file mode 100644
index 1de8d948..00000000
--- a/resources/rancher/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,93 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: etcd
- scheme: https
- tls_config:
- insecure_skip_verify: true
- cert_file: /etc/kubernetes/pki/etcd-manager/etcd-clients-ca.crt
- key_file: /etc/kubernetes/pki/etcd-manager/etcd-clients-ca.key
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'kube-system/etcd-manager-main.+'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d)?
- replacement: $1:4001
- # Holding on to pod-id and container name so we can associate the metrics
- # with the container (and cluster hierarchy)
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
-
- - job_name: control-plane
- honor_labels: true
- metrics_path: '/federate'
- params:
- 'match[]':
- - '{sysdig="true"}'
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_namespace
- - __meta_kubernetes_pod_name
- separator: '/'
- regex: 'cattle-prometheus/prometheus-cluster-monitoring-0'
- - source_labels:
- - __address__
- action: replace
- target_label: __address__
- regex: (.+?)(\\:\\d)?
- replacement: $1
- # Holding on to pod-id and container name so we can associate the metrics
- # with the container (and cluster hierarchy)
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
-
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: yourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/redis/INSTALL.md b/resources/redis/INSTALL.md
index 57db96f2..1f2b4d34 100644
--- a/resources/redis/INSTALL.md
+++ b/resources/redis/INSTALL.md
@@ -25,30 +25,3 @@ kubectl apply -f redis-exporter-deploy.yaml
> Make sure to edit the environment variable `REDIS_ADDR` with the proper address name of your redis instance
If your Redis instance does not requires authentication, you can remove the `REDIS_USER` and `REDIS_PASSWORD` environment variables.
-
-# Sysdig Agent configuration
-> Requires Sysdig Agent >= v11.3
-
-In the Redis exporter Deployment use the Sysdig annotations to configure the port of the exporter as the scraping port. See the example given in the `redis-exporter-deploy.yaml` file.
-
-Additionally, you can use the labels to add the namespace, workload type, and name of the database the exporter will take data from.
-This way, you can view the metrics associated directly with the database pods and the exporter in Sysdig Monitor.
-
-```yaml
-spec:
- template:
- metadata:
- annotations:
- promcat.sysdig.com/integration_type: redis
- promcat.sysdig.com/port: "9121"
- # Add here the namespace, workload type (deployment, statefulset, replicaset, daemonset)
- # and workload name of the Redis instance that the exporter will take data from
- promcat.sysdig.com/target_ns: default
- promcat.sysdig.com/target_workload_type: deployment
- promcat.sysdig.com/target_workload_name: redis
-```
-
-After configuring the Sysdig annotations, download the sample configuration file and apply it by:
-```bash
-kubectl apply -f sysdig-agent-config.yaml
-```
diff --git a/resources/redis/dashboards.yaml b/resources/redis/dashboards.yaml
index b886ef81..5e72afc9 100644
--- a/resources/redis/dashboards.yaml
+++ b/resources/redis/dashboards.yaml
@@ -5,38 +5,6 @@ version: 1.0.0
appVersion:
- 2-8
configurations:
-- name: Redis Golden Signals
- kind: Sysdig
- image: redis/images/redis-sysdig-golden-signals.png
- description: |
- This dashboard offers information on:
- * Uptime
- * Connected slaves
- * Memory Usage (if max memory)
- * Conns Usage (if max clients defined)
- * Fragmentation Ratio
- * Time since last save
- * Changes since last save
- * Changes since last save
- * Hit percentage
- * Eviction percentage
- * PubSub Channels
- * PubSub Patterns
- * Memory usage vs max
- * Memory Utilization
- * Memory fragmentation ratio
- * Connections usage vs max
- * Blocked and Rejected clients
- * Response time
- * Slowlog increment
- * Keys / DB
- * Average TTL
- * Expired / Evicted keys
- * CPU Utilization
- * IOPS
- * Network Throughput
- * Connections / sec
- file: include/dashboard-Sysdig-Redis-Golden-Signals-<=6.json
- name: Redis Golden Signals
kind: Grafana
image: redis/images/redis-grafana-golden-signals.png
diff --git a/resources/redis/images/redis-sysdig-golden-signals.png b/resources/redis/images/redis-sysdig-golden-signals.png
deleted file mode 100644
index 6ac98a8f..00000000
Binary files a/resources/redis/images/redis-sysdig-golden-signals.png and /dev/null differ
diff --git a/resources/redis/include/dashboard-Sysdig-Redis-Golden-Signals-<=6.json b/resources/redis/include/dashboard-Sysdig-Redis-Golden-Signals-<=6.json
deleted file mode 100644
index 6905b874..00000000
--- a/resources/redis/include/dashboard-Sysdig-Redis-Golden-Signals-<=6.json
+++ /dev/null
@@ -1,1894 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 5,
- "panelId": 1,
- "w": 8,
- "x": 0,
- "y": 4
- },
- {
- "h": 2,
- "panelId": 2,
- "w": 4,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 3,
- "w": 4,
- "x": 4,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 4,
- "w": 4,
- "x": 8,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 5,
- "w": 4,
- "x": 12,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 6,
- "w": 4,
- "x": 16,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 7,
- "w": 4,
- "x": 20,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 8,
- "w": 4,
- "x": 0,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 9,
- "w": 8,
- "x": 4,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 10,
- "w": 4,
- "x": 12,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 11,
- "w": 4,
- "x": 16,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 12,
- "w": 4,
- "x": 20,
- "y": 2
- },
- {
- "h": 5,
- "panelId": 13,
- "w": 8,
- "x": 8,
- "y": 4
- },
- {
- "h": 5,
- "panelId": 14,
- "w": 8,
- "x": 16,
- "y": 4
- },
- {
- "h": 5,
- "panelId": 15,
- "w": 6,
- "x": 0,
- "y": 9
- },
- {
- "h": 5,
- "panelId": 16,
- "w": 6,
- "x": 6,
- "y": 9
- },
- {
- "h": 5,
- "panelId": 17,
- "w": 6,
- "x": 12,
- "y": 9
- },
- {
- "h": 5,
- "panelId": 18,
- "w": 6,
- "x": 18,
- "y": 9
- },
- {
- "h": 5,
- "panelId": 19,
- "w": 6,
- "x": 0,
- "y": 14
- },
- {
- "h": 5,
- "panelId": 20,
- "w": 6,
- "x": 6,
- "y": 14
- },
- {
- "h": 5,
- "panelId": 21,
- "w": 6,
- "x": 12,
- "y": 14
- },
- {
- "h": 5,
- "panelId": 22,
- "w": 6,
- "x": 18,
- "y": 14
- },
- {
- "h": 5,
- "panelId": 23,
- "w": 6,
- "x": 0,
- "y": 19
- },
- {
- "h": 5,
- "panelId": 24,
- "w": 6,
- "x": 6,
- "y": 19
- },
- {
- "h": 5,
- "panelId": 25,
- "w": 6,
- "x": 12,
- "y": 19
- },
- {
- "h": 5,
- "panelId": 26,
- "w": 6,
- "x": 18,
- "y": 19
- }
- ],
- "name": "Redis Golden Signals",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Used - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "(redis_memory_used_bytes{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Max Capacity - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "(redis_memory_max_bytes{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 1,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Memory usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "avg((redis_uptime_in_seconds{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 2,
- "name": "Uptime",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "s",
- "severity": "ok",
- "value": 3600.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg((100 * (redis_memory_used_bytes{} / redis_memory_max_bytes{})\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}\n)\n"
- }
- ],
- "description": "",
- "id": 3,
- "name": "Memory Usage (if max memory)",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "avg((redis_mem_fragmentation_ratio{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})\n\n"
- }
- ],
- "description": "",
- "id": 4,
- "name": "Fragmentation Ratio",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "time() - avg((redis_rdb_last_save_timestamp_seconds{} * on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 5,
- "name": "Time since last save",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg(100 * (rate(redis_keyspace_hits_total{}[$__interval]) / (rate(redis_keyspace_misses_total{}[$__interval]) + rate(redis_keyspace_hits_total{}[$__interval])) \n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 6,
- "name": "Hit percentage",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum((redis_pubsub_channels{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 7,
- "name": "PubSub Channels",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum((redis_connected_slaves{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})\n"
- }
- ],
- "description": "",
- "id": 8,
- "name": "Connected slaves",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg((100 * (redis_connected_clients{} / redis_config_maxclients{})\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})\n"
- }
- ],
- "description": "",
- "id": 9,
- "name": "Conns Usage (if max clients defined)",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "max((redis_rdb_changes_since_last_save{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})\n"
- }
- ],
- "description": "",
- "id": 10,
- "name": "Changes since last save",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "avg((100 * sum by(container_id, host_mac) (rate(redis_evicted_keys_total{}[$__interval]) ) / sum by (container_id, host_mac) (redis_db_keys{}) * on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 11,
- "name": "Eviction percentage",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum((redis_pubsub_patterns{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet})"
- }
- ],
- "description": "",
- "id": 12,
- "name": "PubSub Patterns",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Datasets - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "(redis_memory_used_dataset_bytes{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Lua scripts - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "(redis_memory_used_lua_bytes{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Overhead - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "(redis_memory_used_overhead_bytes{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Scripts - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "(redis_memory_used_scripts_bytes{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 13,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Memory utilization",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(redis_mem_fragmentation_ratio{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 14,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Fragmentation Ratio",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Clients - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(redis_connected_clients{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Max Clients - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(redis_config_maxclients{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 15,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Connections usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Blocked - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(redis_blocked_clients{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Rejected - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(redis_rejected_connections_total{}[$__interval])\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 16,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Blocked and Rejected clients",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Response time",
- "timeSeriesDisplayNameTemplate": "{{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "((sum by(container_id, host_mac) (rate(redis_commands_duration_seconds_total{}[$__interval])) / sum by (container_id, host_mac)(rate(redis_commands_processed_total{}[$__interval])))\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "ns",
- "maxValue": null,
- "minInputFormat": "ns",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 17,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Response Time",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Slowlog increment",
- "timeSeriesDisplayNameTemplate": "{{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(redis_slowlog_length{}[$__interval])\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 18,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Slowlog increment",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " DB",
- "timeSeriesDisplayNameTemplate": "{{db}} - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(redis_db_keys{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Keys / DB",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " DB",
- "timeSeriesDisplayNameTemplate": "{{db}} - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(redis_db_avg_ttl_seconds{}\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Average TTL",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Expired - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(redis_expired_keys_total{}[$__interval])\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Evicted - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "(rate(redis_evicted_keys_total{}[$__interval])\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Expired / Evicted keys",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Hit rate - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "((100 * rate(redis_keyspace_hits_total{}[$__interval]) / (rate(redis_keyspace_misses_total{}[$__interval]) + rate(redis_keyspace_hits_total{}[$__interval])) )\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Hit Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "System - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "((100 * (rate(redis_cpu_sys_children_seconds_total{}[$__interval]) + rate(redis_cpu_sys_seconds_total{}[$__interval])))\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "User - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "((100 * (rate(redis_cpu_user_children_seconds_total{}[$__interval]) + rate(redis_cpu_user_seconds_total{}[$__interval]))) \n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "CPU Utilization",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " Command",
- "timeSeriesDisplayNameTemplate": "{{cmd}} - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "topk(5, \n(irate(redis_commands_total{}[$__interval])\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}\n)\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 24,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "IOPS",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Inbound - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "(rate(redis_net_input_bytes_total{}[$__interval])\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}\n"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Outbound - {{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "(rate(redis_net_output_bytes_total{}[$__interval])\n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 25,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Network Throughput",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "{{owner_name}} - {{cluster}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "(rate(redis_connections_received_total{}[$__interval]) \n* on (container_id, host_mac) group_left(cluster,namespace,pod) sysdig_container_info{cluster=~$cluster,namespace=~$namespace}) * on (pod) group_left(owner_name,owner_kind) kube_pod_owner{owner_kind=\"ReplicaSet\",cluster=~$cluster,namespace=~$namespace,owner_name=~$replicaSet}\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 26,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Conns/sec",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593755839727,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--6139949314852700299",
- "documentTimestamp": 1593755839727,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593755051777,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1593755051777,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593755839727,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008--7083949535721519842",
- "documentTimestamp": 1593755839727,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593755651148,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1593755651148,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1593755839727,
- "customerId": 25008,
- "deferred": false,
- "documentId": "25008-9123524798813735958",
- "documentTimestamp": 1593755839727,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1583235308502,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1583235308502,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.replicaSet.name",
- "identity": false,
- "label": true,
- "lastSeen": 1593755051777,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.replicaSet"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.replicaSet.name",
- "identity": false,
- "lastSeen": 1593755051777,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.replicaSet"
- ],
- "routingInfo": {
- "customerId": 25008,
- "routing": "25008"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "replicaSet",
- "isVariable": true,
- "operand": "kubernetes.replicaSet.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/redis/include/redis-deploy.yaml b/resources/redis/include/redis-deploy.yaml
index a9d44c7e..476b8dd9 100644
--- a/resources/redis/include/redis-deploy.yaml
+++ b/resources/redis/include/redis-deploy.yaml
@@ -13,7 +13,6 @@ spec:
labels:
app: redis-exporter
annotations:
- promcat.sysdig.com/integration_type: redis
prometheus.io/scrape: "true"
prometheus.io/port: "9121"
spec:
diff --git a/resources/redis/include/redis-exporter-annotated.yaml b/resources/redis/include/redis-exporter-annotated.yaml
deleted file mode 100644
index bd24cd55..00000000
--- a/resources/redis/include/redis-exporter-annotated.yaml
+++ /dev/null
@@ -1,43 +0,0 @@
----
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: redis-exporter
-spec:
- selector:
- matchLabels:
- app: redis-exporter
- replicas: 1
- template:
- metadata:
- labels:
- app: redis-exporter
- annotations:
- promcat.sysdig.com/integration_type: redis
- promcat.sysdig.com/port: "9121"
- promcat.sysdig.com/target_ns: default
- promcat.sysdig.com/target_workload_type: deployment
- promcat.sysdig.com/target_workload_name: redis
- spec:
- containers:
- - name: redis-exporter
- image: quay.io/sysdig/redis-exporter:latest
- ports:
- - containerPort: 9121
- env:
- - name: REDIS_ADDR
- value: redis://redis:6379
- - name: REDIS_USER
- valueFrom:
- secretKeyRef:
- name: redis-exporter-auth
- key: user
- - name: REDIS_PASSWORD
- valueFrom:
- secretKeyRef:
- name: redis-exporter-auth
- key: password
- resources:
- limits:
- memory: "256Mi"
- cpu: "256m"
\ No newline at end of file
diff --git a/resources/redis/include/sysdig-agent-config.yaml b/resources/redis/include/sysdig-agent-config.yaml
deleted file mode 100644
index a60f6e4c..00000000
--- a/resources/redis/include/sysdig-agent-config.yaml
+++ /dev/null
@@ -1,66 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: YourClusterName
- metrics_excess_log: true
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
- snaplen: 512
- tags: role:cluster
- prometheus.yaml: |
- global:
- scrape_interval: 10s
- scrape_configs:
- - job_name: redis-default
- tls_config:
- insecure_skip_verify: true
- kubernetes_sd_configs:
- - role: pod
- relabel_configs:
- - action: keep
- source_labels: [__meta_kubernetes_pod_host_ip]
- regex: __HOSTIPS__
- - action: keep
- source_labels:
- - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
- regex: "redis"
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_ns]
- target_label: kube_namespace_name
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_workload_type]
- target_label: kube_workload_type
- - action: replace
- source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_workload_name]
- target_label: kube_workload_name
- - action: replace
- replacement: true
- target_label: sysdig_omit_source
- - action: replace
- source_labels: [__address__, __meta_kubernetes_pod_annotation_promcat_sysdig_com_port]
- regex: ([^:]+)(?::\d+)?;(\d+)
- replacement: $1:$2
- target_label: __address__
- - action: replace
- source_labels: [__meta_kubernetes_pod_uid]
- target_label: sysdig_k8s_pod_uid
- - action: replace
- source_labels: [__meta_kubernetes_pod_container_name]
- target_label: sysdig_k8s_pod_container_name
\ No newline at end of file
diff --git a/resources/redis/setup-guide.yaml b/resources/redis/setup-guide.yaml
index 17e39072..8c37224b 100644
--- a/resources/redis/setup-guide.yaml
+++ b/resources/redis/setup-guide.yaml
@@ -7,6 +7,4 @@ appVersion:
descriptionFile: INSTALL.md
configurations:
- name: redis-deploy.yaml
- file: include/redis-exporter-annotated.yaml
-- name: sysdig-agent-config.yaml
- file: include/sysdig-agent-config.yaml
+ file: include/redis-deploy.yaml
diff --git a/resources/sysdig-admission-controller/INSTALL.md b/resources/sysdig-admission-controller/INSTALL.md
index 375ce1b6..7bb3463b 100644
--- a/resources/sysdig-admission-controller/INSTALL.md
+++ b/resources/sysdig-admission-controller/INSTALL.md
@@ -1,4 +1,4 @@
# Setup
-Sysdig Admission Controller expose Prometheus metrics natively.
+Sysdig Admission Controller exposes Prometheus metrics natively.
-As it is annotated with the standard Prometheus annotations, it will be scraped by default for both Prometheus and the Sysdig Agent, so no further configuration is required.
\ No newline at end of file
+As it is annotated with the standard Prometheus annotations, it will be scraped by default by Prometheus, so no further configuration is required.
\ No newline at end of file
diff --git a/resources/sysdig-admission-controller/dashboards.yaml b/resources/sysdig-admission-controller/dashboards.yaml
index 433cb811..77ba568d 100644
--- a/resources/sysdig-admission-controller/dashboards.yaml
+++ b/resources/sysdig-admission-controller/dashboards.yaml
@@ -4,14 +4,4 @@ app: Sysdig Admission Controller
version: 1.0.0
appVersion:
- '0.0.9'
-configurations:
-- name: Sysdig Admission Controller
- kind: Sysdig
- image: sysdig-admission-controller/images/sysdig-admission-controller-sysdig.png
- description: |
- This dashboard offers information on:
- * Kubernetes Audit Events
- * Image scanning
- * Procession queues
- * Inline image scanning
- file: include/Sysdig_Admission_Controller.json
+configurations: []
\ No newline at end of file
diff --git a/resources/sysdig-admission-controller/images/sysdig-admission-controller-sysdig.png b/resources/sysdig-admission-controller/images/sysdig-admission-controller-sysdig.png
deleted file mode 100644
index 8da91ff6..00000000
Binary files a/resources/sysdig-admission-controller/images/sysdig-admission-controller-sysdig.png and /dev/null differ
diff --git a/resources/sysdig-admission-controller/include/Sysdig_Admission_Controller.json b/resources/sysdig-admission-controller/include/Sysdig_Admission_Controller.json
deleted file mode 100644
index 97bd3b6e..00000000
--- a/resources/sysdig-admission-controller/include/Sysdig_Admission_Controller.json
+++ /dev/null
@@ -1,822 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": true,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 7,
- "panelId": 5,
- "w": 12,
- "x": 12,
- "y": 8
- },
- {
- "h": 7,
- "panelId": 11,
- "w": 12,
- "x": 0,
- "y": 1
- },
- {
- "h": 7,
- "panelId": 28,
- "w": 12,
- "x": 12,
- "y": 1
- },
- {
- "h": 6,
- "panelId": 32,
- "w": 12,
- "x": 12,
- "y": 16
- },
- {
- "h": 7,
- "panelId": 10,
- "w": 12,
- "x": 0,
- "y": 8
- },
- {
- "h": 6,
- "panelId": 29,
- "w": 12,
- "x": 0,
- "y": 22
- },
- {
- "h": 6,
- "panelId": 30,
- "w": 12,
- "x": 12,
- "y": 22
- },
- {
- "h": 6,
- "panelId": 33,
- "w": 12,
- "x": 0,
- "y": 16
- },
- {
- "h": 1,
- "panelId": 31,
- "w": 24,
- "x": 0,
- "y": 15
- },
- {
- "h": 1,
- "panelId": 24,
- "w": 24,
- "x": 0,
- "y": 0
- }
- ],
- "name": "Sysdig Admission Controller",
- "panels": [
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name)(rate(k8s_audit_ac_events_processed_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 5,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Events Processed Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Rule < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{rule}} < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(k8s_audit_ac_alerts_total{kube_namespace_name=~$namespace,kube_cluster_name=~$cluster}[$__interval])) by (rule, kube_namespace_name, kube_cluster_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "This panel can help you identify noisy rules that are continuously sending events to Sysdig Secure.",
- "id": 11,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Alerts Sent",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum by (kube_namespace_name, kube_cluster_name)((rate(k8s_audit_ac_events_processed_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}[$__interval]) - (rate(k8s_audit_ac_events_received_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}[$__interval]))))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Shows the number of events in the processing queue before they are processed.",
- "id": 28,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Kubernetes Audit Event Processing Queue",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "stackedArea"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullZero",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": " sum by (kube_cluster_name,kube_namespace_name)(rate(scanning_ac_http_scanning_handler_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}[$__interval]))\n- sum by (kube_cluster_name,kube_namespace_name)(rate(scanning_ac_containers_processed_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}[$__interval]))\n\n"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "Shows the number of events in the processing queue before they are processed.",
- "id": 32,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Image Scanning Event Processing Queue",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name)(rate(k8s_audit_ac_events_received_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 10,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Events Received Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name)(rate(scanning_ac_http_scanning_handler_requests_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 29,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Events Received Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "{{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "/s",
- "nullValueDisplayMode": "nullGap",
- "unit": "numberRate",
- "yAxis": "auto"
- },
- "query": "sum by (kube_cluster_name,kube_namespace_name)(rate(scanning_ac_containers_processed_total{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace}[$__interval]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "/s",
- "maxValue": null,
- "minInputFormat": "/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 30,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Events Processed Rate",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "[Result] < Namespace < Cluster",
- "timeSeriesDisplayNameTemplate": "[{{result}}] < {{kube_namespace_name}} < {{kube_cluster_name}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "nullValueDisplayMode": "nullGap",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "sum(rate(scanning_ac_admission_responses_total{kube_namespace_name=~$namespace,kube_cluster_name=~$cluster}[$__interval])) by (result, kube_namespace_name, kube_cluster_name)"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 33,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "table",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Admission Response\n",
- "nullValueDisplayText": null,
- "type": "advancedTimechart"
- },
- {
- "description": "",
- "id": 31,
- "markdownSource": " ",
- "name": "\ud83d\udd0d Image Scanning Data",
- "nullValueDisplayText": null,
- "panelTitleVisible": true,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- },
- {
- "description": "",
- "id": 24,
- "markdownSource": " ",
- "name": "\ud83d\udd78\ufe0f Kubernetes Audit Data\n",
- "nullValueDisplayText": null,
- "panelTitleVisible": true,
- "textAutosized": false,
- "transparentBackground": false,
- "type": "text"
- }
- ],
- "publicNotation": false,
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1632835698561,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--6139949314852700299",
- "documentTimestamp": 1632835698561,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1612202275360,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1612202275360,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "label": true,
- "lastSeen": 1632834902316,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.cluster"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.cluster.name",
- "identity": false,
- "lastSeen": 1632834902316,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.cluster"
- ],
- "publicId": "kube_cluster_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "cluster",
- "isVariable": true,
- "operand": "kubernetes.cluster.name",
- "operator": "in",
- "value": [],
- "variable": true
- },
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "createdAt": 1632835698561,
- "customerId": 1,
- "deferred": false,
- "documentId": "1--7083949535721519842",
- "documentTimestamp": 1632835698561,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1612202275360,
- "generatedFrom": "com.draios.model.metrics.kubernetes.KubernetesName",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": true,
- "canMonitor": false,
- "category": "kubernetes",
- "concat": false,
- "context": [
- "container"
- ],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1612202275360,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "label": true,
- "lastSeen": 1632834901606,
- "max": false,
- "metricType": "none",
- "min": false,
- "namespaces": [
- "kubernetes.namespace"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "kubernetes.namespace.name",
- "identity": false,
- "lastSeen": 1632834901606,
- "metricType": "tag",
- "namespaces": [
- "kubernetes.namespace"
- ],
- "publicId": "kube_namespace_name",
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "namespace",
- "isVariable": true,
- "operand": "kubernetes.namespace.name",
- "operator": "in",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/sysdig-admission-controller/include/sysdig-agent.yaml b/resources/sysdig-admission-controller/include/sysdig-agent.yaml
deleted file mode 100644
index 3a0f41a6..00000000
--- a/resources/sysdig-admission-controller/include/sysdig-agent.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: sysdig-agent
- namespace: sysdig-agent
-data:
- dragent.yaml: |-
- metrics_excess_log: true
- k8s_cluster_name: YourClusterName
- 10s_flush_enable: true
- app_checks_enabled: false
- use_promscrape: true
- new_k8s: true
- promscrape_fastproto: true
- prometheus:
- enabled: true
- prom_service_discovery: true
- log_errors: true
- max_metrics: 200000
- max_metrics_per_process: 200000
- max_tags_per_metric: 100
- ingest_raw: true
- ingest_calculated: false
\ No newline at end of file
diff --git a/resources/sysdig-admission-controller/setup-guide.yaml b/resources/sysdig-admission-controller/setup-guide.yaml
index c1cd48bc..487d8573 100644
--- a/resources/sysdig-admission-controller/setup-guide.yaml
+++ b/resources/sysdig-admission-controller/setup-guide.yaml
@@ -5,6 +5,4 @@ version: 1.0.0
appVersion:
- '0.0.9'
descriptionFile: INSTALL.md
-configurations:
-- name: sysdig-agent.yaml
- file: include/sysdig-agent.yaml
+configurations: []
diff --git a/resources/windows/INSTALL.md b/resources/windows/INSTALL.md
index fb9d73c1..b1b58dbb 100644
--- a/resources/windows/INSTALL.md
+++ b/resources/windows/INSTALL.md
@@ -14,16 +14,3 @@ msiexec /i windows_exporter.msi --collectors.enabled "cpu,cs,logical_disk,os,sys
# Stand alone:
.\windows_exporter.exe --collectors.enabled "cpu,cs,logical_disk,os,system,net"
```
-# Configuring Sysdig Agent
-To allow the Sysdig agent to scrape a remote endpoint from one of the agents, you have to annotate the node that will host the scraping agent:
-```
-kubectl annotate nodes NODEID sysdig.com/scraper=true
-```
-
-A Sysdig agent configuration is given below. Ensure that you change the line with the IP and PORT of your Windows instance:
-> url: "http://IP:PORT/metrics"
-
-To apply, save the file as `dragent.yaml` and apply:
-```
-kubectl apply -f dragent.yaml
-```
diff --git a/resources/windows/dashboards.yaml b/resources/windows/dashboards.yaml
index 243eca82..3f568e00 100644
--- a/resources/windows/dashboards.yaml
+++ b/resources/windows/dashboards.yaml
@@ -26,23 +26,4 @@ configurations:
* User sessions
* Context switches
file: include/dashboard-Grafana-Windows-Node-Overview-2016.json
-- name: Windows Node Overview
- kind: Sysdig
- image: windows/images/windows-overview-sysdig.png
- description: |
- This dashboard offers information on:
- * General overview of the instance (CPU, memory, network and disk utilization, uptime and number of processes and threads)
- * CPU usage by mode and by core
- * Memory usage and free memory
- * Disk usage and free disk by volume
- * Disk IOPS and throughput
- * Disk requests queued and splitted
- * Bandwidth usage and free by interface
- * Network error rate for inbound and outbound
- * Network discard rate in inbound and outbound
- * Number of processes and threads
- * Processor queue
- * Pagination usage and free pagination
- * User sessions
- * Context switches
- file: include/dashboard-Sysdig-Windows-Node-Overview-2016.json
+
\ No newline at end of file
diff --git a/resources/windows/images/windows-overview-sysdig.png b/resources/windows/images/windows-overview-sysdig.png
deleted file mode 100644
index 4c674a7a..00000000
Binary files a/resources/windows/images/windows-overview-sysdig.png and /dev/null differ
diff --git a/resources/windows/include/dashboard-Sysdig-Windows-Node-Overview-2016.json b/resources/windows/include/dashboard-Sysdig-Windows-Node-Overview-2016.json
deleted file mode 100644
index 933ae13f..00000000
--- a/resources/windows/include/dashboard-Sysdig-Windows-Node-Overview-2016.json
+++ /dev/null
@@ -1,2782 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 3,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 7,
- "w": 3,
- "x": 3,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 2,
- "panelId": 9,
- "w": 3,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 10,
- "w": 3,
- "x": 0,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 11,
- "w": 3,
- "x": 3,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 13,
- "w": 6,
- "x": 6,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 14,
- "w": 6,
- "x": 12,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 15,
- "w": 6,
- "x": 12,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 16,
- "w": 6,
- "x": 18,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 17,
- "w": 3,
- "x": 18,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 18,
- "w": 3,
- "x": 21,
- "y": 2
- },
- {
- "h": 4,
- "panelId": 19,
- "w": 12,
- "x": 0,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 20,
- "w": 12,
- "x": 12,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 21,
- "w": 12,
- "x": 12,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 22,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 23,
- "w": 6,
- "x": 0,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 24,
- "w": 6,
- "x": 6,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 25,
- "w": 6,
- "x": 6,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 26,
- "w": 6,
- "x": 12,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 27,
- "w": 6,
- "x": 12,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 28,
- "w": 6,
- "x": 18,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 29,
- "w": 6,
- "x": 18,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 30,
- "w": 6,
- "x": 0,
- "y": 20
- },
- {
- "h": 4,
- "panelId": 31,
- "w": 6,
- "x": 6,
- "y": 20
- },
- {
- "h": 4,
- "panelId": 32,
- "w": 6,
- "x": 12,
- "y": 20
- },
- {
- "h": 4,
- "panelId": 33,
- "w": 6,
- "x": 18,
- "y": 20
- },
- {
- "h": 4,
- "panelId": 34,
- "w": 8,
- "x": 0,
- "y": 24
- },
- {
- "h": 4,
- "panelId": 35,
- "w": 8,
- "x": 0,
- "y": 28
- },
- {
- "h": 4,
- "panelId": 36,
- "w": 8,
- "x": 8,
- "y": 24
- },
- {
- "h": 4,
- "panelId": 37,
- "w": 8,
- "x": 8,
- "y": 28
- },
- {
- "h": 4,
- "panelId": 38,
- "w": 8,
- "x": 16,
- "y": 24
- },
- {
- "h": 4,
- "panelId": 39,
- "w": 8,
- "x": 16,
- "y": 28
- },
- {
- "h": 4,
- "panelId": 40,
- "w": 8,
- "x": 0,
- "y": 32
- },
- {
- "h": 4,
- "panelId": 41,
- "w": 8,
- "x": 8,
- "y": 32
- },
- {
- "h": 4,
- "panelId": 42,
- "w": 8,
- "x": 16,
- "y": 32
- },
- {
- "h": 4,
- "panelId": 43,
- "w": 8,
- "x": 0,
- "y": 36
- },
- {
- "h": 4,
- "panelId": 44,
- "w": 8,
- "x": 8,
- "y": 36
- },
- {
- "h": 4,
- "panelId": 45,
- "w": 8,
- "x": 16,
- "y": 36
- }
- ],
- "name": "Windows Node Overview",
- "panels": [
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "windows_net_bytes_total",
- "documentTimestamp": 1603184789700,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "windows_net_bytes_total",
- "identity": false,
- "metricType": "counter",
- "name": "windows_net_bytes_total",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "timeAvg",
- "sum"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "windows_net_bytes_total",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": null,
- "displayName": "",
- "id": "nic",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 3,
- "name": "Network Traffic",
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "100 * (windows_cs_physical_memory_bytes{instance=$host} - windows_os_physical_memory_free_bytes{instance=$host}) / windows_cs_physical_memory_bytes{instance=$host}"
- }
- ],
- "description": "",
- "id": 7,
- "name": "Physical Memory Usage",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Mode",
- "timeSeriesDisplayNameTemplate": "{{mode}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * avg by (mode) (rate(windows_cpu_time_total{instance=$host}[5m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU Usage by Mode",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * sum(rate(windows_cpu_time_total{instance=$host,mode != 'idle'}[5m])) / count(windows_cpu_core_frequency_mhz{instance=$host})"
- }
- ],
- "description": "",
- "id": 9,
- "name": "CPU Usage",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "high",
- "value": 90.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "medium",
- "value": 75.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(windows_cpu_core_frequency_mhz{instance=$host})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "Cores",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "windows_cs_physical_memory_bytes{instance=$host}"
- }
- ],
- "description": "",
- "id": 11,
- "name": "Total Memory",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "windows_net_current_bandwidth",
- "documentTimestamp": 1603184789700,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "windows_net_current_bandwidth",
- "identity": false,
- "metricType": "counter",
- "name": "windows_net_current_bandwidth",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "timeAvg",
- "sum"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "windows_net_current_bandwidth",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": null,
- "displayName": "",
- "id": "nic",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 13,
- "name": "Bandwidth",
- "type": "basicToplist"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "windows_logical_disk_free_bytes",
- "documentTimestamp": 1603184789700,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "windows_logical_disk_free_bytes",
- "identity": false,
- "metricType": "counter",
- "name": "windows_logical_disk_free_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "timeAvg",
- "sum"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "windows_logical_disk_free_bytes",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": null,
- "displayName": "",
- "id": "volume",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 14,
- "name": "Free Disk",
- "type": "basicToplist"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "deferred": false,
- "documentId": "windows_logical_disk_size_bytes",
- "documentTimestamp": 1603184789700,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "windows_logical_disk_size_bytes",
- "identity": false,
- "metricType": "counter",
- "name": "windows_logical_disk_size_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "timeAvg",
- "sum"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "windows_logical_disk_size_bytes",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": null,
- "displayName": "",
- "id": "volume",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 15,
- "name": "Disk Size",
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "(time() - windows_system_system_up_time{instance=$host}) "
- }
- ],
- "description": "",
- "id": 16,
- "name": "Up Time",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "s",
- "severity": "ok",
- "value": 3600.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "windows_system_threads{instance=$host}"
- }
- ],
- "description": "",
- "id": 17,
- "name": "Threads",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "windows_os_processes{instance=$host}"
- }
- ],
- "description": "",
- "id": 18,
- "name": "Processes",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Core",
- "timeSeriesDisplayNameTemplate": "{{core}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * sum by (core) (rate(windows_cpu_time_total{instance=$host,mode != 'idle'}[5m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "CPU Usage by Core",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Physical Memory",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100* (windows_cs_physical_memory_bytes{instance=$host} - windows_os_physical_memory_free_bytes{instance=$host}) / windows_cs_physical_memory_bytes{instance=$host}"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Virtual Memory",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "100 * (windows_os_virtual_memory_bytes{instance=$host} - windows_os_virtual_memory_free_bytes{instance=$host}) / windows_os_virtual_memory_bytes{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Memory Usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Physical Memory",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "windows_os_physical_memory_free_bytes{instance=$host}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Virtual Memory",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "windows_os_virtual_memory_free_bytes{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Free Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * (windows_logical_disk_size_bytes{instance=$host} - windows_logical_disk_free_bytes{instance=$host}) / windows_logical_disk_size_bytes{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk Usage by Volume",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "windows_logical_disk_free_bytes{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Free Disk by Volume",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(windows_logical_disk_writes_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 24,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk Write IOPS",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(windows_logical_disk_reads_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 25,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk Read IOPS",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(windows_logical_disk_read_bytes_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 26,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk Read Throughput",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(windows_logical_disk_write_bytes_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 27,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk Write Throughput",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "windows_logical_disk_requests_queued{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 28,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk Reqs. Queued",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(windows_logical_disk_split_ios_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 29,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Disk ops Splitted",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * rate(windows_net_packets_received_errors{instance=$host}[5m]) / (rate(windows_net_packets_received_errors{instance=$host}[5m]) + rate(windows_net_packets_received_total{instance=$host}[5m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 30,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Network Inbound Error Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * rate(windows_net_packets_outbound_errors{instance=$host}[5m]) / (rate(windows_net_packets_outbound_errors{instance=$host}[5m]) + rate(windows_net_packets_sent_total{instance=$host}[5m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 31,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Network Outbound Error Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * rate(windows_net_packets_received_discarded{instance=$host}[5m]) / (rate(windows_net_packets_received_discarded{instance=$host}[5m]) + rate(windows_net_packets_received_total{instance=$host}[5m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 32,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Network Inbound Discard Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * rate(windows_net_packets_outbound_discarded{instance=$host}[5m]) / (rate(windows_net_packets_outbound_discarded{instance=$host}[5m]) + rate(windows_net_packets_sent_total{instance=$host}[5m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 33,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Network Outbound Discard Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * (rate(windows_net_bytes_total{instance=$host}[5m])) * 8 / windows_net_current_bandwidth{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 34,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Bandwidth Usage by Interface",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "windows_net_current_bandwidth{instance=$host} - ((rate(windows_net_bytes_total{instance=$host}[5m])) * 8) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 35,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Bandwidth Free by Interface",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(windows_net_packets_received_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 36,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Network Received IOPS",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(windows_net_packets_sent_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 37,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Network Sent IOPS",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(windows_net_bytes_received_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 38,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Network Received Throughput",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(windows_net_bytes_sent_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 39,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Network Sent Throughput",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Processes",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "windows_os_processes{instance=$host}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Threads",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "windows_system_threads{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 40,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Processes and Threads",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Queue",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "windows_system_processor_queue_length{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 41,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Processor Queue",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Pagination",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * (windows_os_paging_limit_bytes{instance=$host} - windows_os_paging_free_bytes{instance=$host}) / windows_os_paging_limit_bytes{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 42,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Pagination Usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Sessions",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": 0,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "windows_os_users{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 43,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "User Sessions",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Switches",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": 0,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(windows_system_context_switches_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 44,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Context Switches",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Free Pagination",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": 0,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "windows_os_paging_free_bytes{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 45,
- "legendConfiguration": {
- "enabled": true,
- "height": null,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true,
- "width": null
- },
- "name": "Free Pagination",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "deferred": false,
- "description": "instance",
- "documentId": "instance",
- "documentTimestamp": 1603184789700,
- "documentType": "metric",
- "documented": true,
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.CustomMetric$Tag",
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "metricType": "tag",
- "name": "instance",
- "namespaces": [
- "cloudProvider",
- "host.container",
- "ecs",
- "host.fs",
- "host.file",
- "host",
- "kubernetes",
- "kubernetes.cluster",
- "kubernetes.daemonSet",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.namespace",
- "kubernetes.node",
- "kubernetes.pod",
- "kubernetes.replicaSet",
- "kubernetes.service",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.hpa",
- "link",
- "mesos",
- "host.net",
- "host.process",
- "prometheus",
- "swarm"
- ],
- "scale": 0.0,
- "scopes": [],
- "segment": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "host",
- "isVariable": true,
- "operand": "instance",
- "operator": "equals",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/windows/include/dragent.yaml b/resources/windows/include/dragent.yaml
deleted file mode 100644
index 367e949d..00000000
--- a/resources/windows/include/dragent.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-apiVersion: v1
-data:
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: cluster_name
- jmx:
- enabled: false
- metrics_excess_log: true
- app_checks_enabled: false
- 10s_flush_enable: true
- use_promscrape: true
- prometheus:
- enabled: true
- histograms: true
- ingest_raw: true
- ingest_calculated: false
- interval: 60
- timeout: 30
- log_errors: true
- max_metrics: 3000
- max_metrics_per_process: 20000
- remote_services:
- - wmi:
- kubernetes.node.annotation.sysdig.com/scraper: true
- conf:
- url: "http://IP:PORT/metrics"
- tags:
- scraping_node: "{kubernetes.node.name}"
- process_filter:
- - include:
- kubernetes.pod.annotation.prometheus.io/scrape: true
- conf:
- path: "{kubernetes.pod.annotation.prometheus.io/path}"
- port: "{kubernetes.pod.annotation.prometheus.io/port}"
- snaplen: 512
- tags: role:cluster
-kind: ConfigMap
-metadata:
- labels:
- app: sysdig-agent
- name: sysdig-agent
- namespace: sysdig-agent
\ No newline at end of file
diff --git a/resources/windows/setup-guide.yaml b/resources/windows/setup-guide.yaml
index abfd6aeb..9fc912cc 100644
--- a/resources/windows/setup-guide.yaml
+++ b/resources/windows/setup-guide.yaml
@@ -5,7 +5,5 @@ version: 1.0.0
appVersion:
- '2016'
- '2019'
-configurations:
-- name: dragent.yaml
- file: include/dragent.yaml
+configurations: []
descriptionFile: INSTALL.md
diff --git a/resources/wmi/INSTALL.md b/resources/wmi/INSTALL.md
index f3866cae..74c070c7 100644
--- a/resources/wmi/INSTALL.md
+++ b/resources/wmi/INSTALL.md
@@ -14,16 +14,3 @@ msiexec /i wmi_exporter.msi --collectors.enabled "cpu,cs,logical_disk,os,system,
# Stand alone:
.\wmi_exporter.exe --collectors.enabled "cpu,cs,logical_disk,os,system,net"
```
-
-To make the Sysdig agent to scrape a remote endpoint from just one of the agents, you have to annotate the node that will host the scraping agent:
-```
-kubectl annotate nodes NODEID sysdig.com/scraper=true
-```
-
-Following is the configuration of the Sysdig agent. Be sure to change this line with the IP and PORT of your windows instance:
-> url: "http://IP:PORT/metrics"
-
-To apply, save the file as `dragent.yaml` and apply:
-```
-kubectl apply -f dragent.yaml
-```
diff --git a/resources/wmi/dashboards.yaml b/resources/wmi/dashboards.yaml
index db1c215a..984c7092 100644
--- a/resources/wmi/dashboards.yaml
+++ b/resources/wmi/dashboards.yaml
@@ -26,23 +26,3 @@ configurations:
* User sessions
* Context switches
file: include/dashboard-Grafana-Windows-Node-Overview-2016.json
-- name: Windows Node Overview
- kind: Sysdig
- image: wmi/images/windows-overview-sysdig.png
- description: |
- This dashboard offers information on:
- * General overview of the instance (CPU, memory, network and disk utilization, uptime and number of processes and threads)
- * CPU usage by mode and by core
- * Memory usage and free memory
- * Disk usage and free disk by volume
- * Disk IOPS and throughput
- * Disk requests queued and splitted
- * Bandwidth usage and free by interface
- * Network error rate for inbound and outbound
- * Network discard rate in inbound and outbound
- * Number of processes and threads
- * Processor queue
- * Pagination usage and free pagination
- * User sessions
- * Context switches
- file: include/dashboard-Sysdig-Windows-Node-Overview-2016.json
diff --git a/resources/wmi/images/windows-overview-sysdig.png b/resources/wmi/images/windows-overview-sysdig.png
deleted file mode 100644
index 4c674a7a..00000000
Binary files a/resources/wmi/images/windows-overview-sysdig.png and /dev/null differ
diff --git a/resources/wmi/include/dashboard-Sysdig-Windows-Node-Overview-2016.json b/resources/wmi/include/dashboard-Sysdig-Windows-Node-Overview-2016.json
deleted file mode 100644
index 781b5d91..00000000
--- a/resources/wmi/include/dashboard-Sysdig-Windows-Node-Overview-2016.json
+++ /dev/null
@@ -1,4283 +0,0 @@
-{
- "dashboard": {
- "description": "",
- "eventDisplaySettings": {
- "enabled": false,
- "queryParams": {
- "alertStatuses": [],
- "categories": [],
- "filter": "",
- "severities": [],
- "teamScope": false
- }
- },
- "layout": [
- {
- "h": 2,
- "panelId": 3,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 7,
- "w": 3,
- "x": 3,
- "y": 0
- },
- {
- "h": 4,
- "panelId": 8,
- "w": 12,
- "x": 0,
- "y": 4
- },
- {
- "h": 2,
- "panelId": 9,
- "w": 3,
- "x": 0,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 10,
- "w": 3,
- "x": 0,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 11,
- "w": 3,
- "x": 3,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 13,
- "w": 6,
- "x": 6,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 14,
- "w": 6,
- "x": 12,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 15,
- "w": 6,
- "x": 12,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 16,
- "w": 6,
- "x": 18,
- "y": 0
- },
- {
- "h": 2,
- "panelId": 17,
- "w": 3,
- "x": 18,
- "y": 2
- },
- {
- "h": 2,
- "panelId": 18,
- "w": 3,
- "x": 21,
- "y": 2
- },
- {
- "h": 4,
- "panelId": 19,
- "w": 12,
- "x": 0,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 20,
- "w": 12,
- "x": 12,
- "y": 4
- },
- {
- "h": 4,
- "panelId": 21,
- "w": 12,
- "x": 12,
- "y": 8
- },
- {
- "h": 4,
- "panelId": 22,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 23,
- "w": 6,
- "x": 0,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 24,
- "w": 6,
- "x": 6,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 25,
- "w": 6,
- "x": 6,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 26,
- "w": 6,
- "x": 12,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 27,
- "w": 6,
- "x": 12,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 28,
- "w": 6,
- "x": 18,
- "y": 12
- },
- {
- "h": 4,
- "panelId": 29,
- "w": 6,
- "x": 18,
- "y": 16
- },
- {
- "h": 4,
- "panelId": 30,
- "w": 6,
- "x": 0,
- "y": 20
- },
- {
- "h": 4,
- "panelId": 31,
- "w": 6,
- "x": 6,
- "y": 20
- },
- {
- "h": 4,
- "panelId": 32,
- "w": 6,
- "x": 12,
- "y": 20
- },
- {
- "h": 4,
- "panelId": 33,
- "w": 6,
- "x": 18,
- "y": 20
- },
- {
- "h": 4,
- "panelId": 34,
- "w": 8,
- "x": 0,
- "y": 24
- },
- {
- "h": 4,
- "panelId": 35,
- "w": 8,
- "x": 0,
- "y": 28
- },
- {
- "h": 4,
- "panelId": 36,
- "w": 8,
- "x": 8,
- "y": 24
- },
- {
- "h": 4,
- "panelId": 37,
- "w": 8,
- "x": 8,
- "y": 28
- },
- {
- "h": 4,
- "panelId": 38,
- "w": 8,
- "x": 16,
- "y": 24
- },
- {
- "h": 4,
- "panelId": 39,
- "w": 8,
- "x": 16,
- "y": 28
- },
- {
- "h": 4,
- "panelId": 40,
- "w": 8,
- "x": 0,
- "y": 32
- },
- {
- "h": 4,
- "panelId": 41,
- "w": 8,
- "x": 8,
- "y": 32
- },
- {
- "h": 4,
- "panelId": 42,
- "w": 8,
- "x": 16,
- "y": 32
- },
- {
- "h": 4,
- "panelId": 43,
- "w": 8,
- "x": 0,
- "y": 36
- },
- {
- "h": 4,
- "panelId": 44,
- "w": 8,
- "x": 8,
- "y": 36
- },
- {
- "h": 4,
- "panelId": 45,
- "w": 8,
- "x": 16,
- "y": 36
- }
- ],
- "name": "Windows Node Overview",
- "panels": [
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588245270376,
- "customerId": 995,
- "deferred": false,
- "documentId": "995--2234027315381673292",
- "documentTimestamp": 1588245270376,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1588109574313,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "generator": {
- "aggregationForGroup": "avg",
- "aggregations": [
- "sum",
- "avg",
- "max",
- "min"
- ],
- "avg": true,
- "canCalculate": false,
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1588109574313,
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "groupBy": [
- "instance",
- "nic",
- "proc.commandLine",
- "host.mac",
- "container.id",
- "container.name",
- "scraping_node",
- "proc.name",
- "cloudProvider.tag",
- "host.hostName",
- "agent.tag",
- "container.image",
- "job",
- "container.label"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "wmi_net_bytes_total",
- "identity": false,
- "label": false,
- "lastSeen": 1588243914199,
- "max": true,
- "metricType": "counter",
- "min": true,
- "name": "wmi_net_bytes_total",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": true,
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "timeAvg": false,
- "type": "byte"
- },
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "wmi_net_bytes_total",
- "identity": false,
- "lastSeen": 1588243914199,
- "metricType": "counter",
- "name": "wmi_net_bytes_total",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "host.hostName",
- "host.mac",
- "instance",
- "job",
- "nic",
- "proc.commandLine",
- "proc.name",
- "scraping_node"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "wmi_net_bytes_total",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588245270376,
- "customerId": 995,
- "deferred": false,
- "documentId": "995--5735739363998383830",
- "documentTimestamp": 1588245270376,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "label": true,
- "lastSeen": 1588245234159,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "lastSeen": 1588245234159,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "isVariable": false,
- "operand": "instance",
- "operator": "in",
- "value": [],
- "variable": false
- }
- ],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588245270376,
- "customerId": 995,
- "deferred": false,
- "documentId": "995--7628529364506768192",
- "documentTimestamp": 1588245270376,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "nic",
- "identity": false,
- "label": true,
- "lastSeen": 1588243914199,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "nic",
- "identity": false,
- "lastSeen": 1588243914199,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "nic",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 3,
- "name": "Network Traffic",
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "100 * (wmi_cs_physical_memory_bytes{instance=$host} - wmi_os_physical_memory_free_bytes{instance=$host}) / wmi_cs_physical_memory_bytes{instance=$host}"
- }
- ],
- "description": "",
- "id": 7,
- "name": "Physical Memory Usage",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Mode",
- "timeSeriesDisplayNameTemplate": "{{mode}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * avg by (mode) (rate(wmi_cpu_time_total{instance=$host}[5m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 8,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "CPU Usage by Mode",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * sum(rate(wmi_cpu_time_total{instance=$host,mode != 'idle'}[5m])) / count(wmi_cpu_core_frequency_mhz{instance=$host})"
- }
- ],
- "description": "",
- "id": 9,
- "name": "CPU Usage",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "ok"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "high",
- "value": 90.0
- },
- {
- "displayText": "",
- "inputFormat": "0-100",
- "severity": "medium",
- "value": 75.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "count(wmi_cpu_core_frequency_mhz{instance=$host})"
- }
- ],
- "description": "",
- "id": 10,
- "name": "Cores",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "wmi_cs_physical_memory_bytes{instance=$host}"
- }
- ],
- "description": "",
- "id": 11,
- "name": "Total Memory",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588245270376,
- "customerId": 995,
- "deferred": false,
- "documentId": "995-8214089915913572315",
- "documentTimestamp": 1588245270376,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1588109574347,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "generator": {
- "aggregationForGroup": "avg",
- "aggregations": [
- "sum",
- "avg",
- "max",
- "min"
- ],
- "avg": true,
- "canCalculate": false,
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1588109574347,
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "groupBy": [
- "instance",
- "nic",
- "proc.commandLine",
- "host.mac",
- "container.id",
- "container.name",
- "scraping_node",
- "proc.name",
- "cloudProvider.tag",
- "host.hostName",
- "agent.tag",
- "container.image",
- "job",
- "container.label"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "wmi_net_current_bandwidth",
- "identity": false,
- "label": false,
- "lastSeen": 1588243914199,
- "max": true,
- "metricType": "gauge",
- "min": true,
- "name": "wmi_net_current_bandwidth",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": true,
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "timeAvg": false,
- "type": "number"
- },
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "wmi_net_current_bandwidth",
- "identity": false,
- "lastSeen": 1588243914199,
- "metricType": "gauge",
- "name": "wmi_net_current_bandwidth",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "host.hostName",
- "host.mac",
- "instance",
- "job",
- "nic",
- "proc.commandLine",
- "proc.name",
- "scraping_node"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "number"
- },
- "groupAggregation": "avg",
- "id": "wmi_net_current_bandwidth",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588245270376,
- "customerId": 995,
- "deferred": false,
- "documentId": "995--5735739363998383830",
- "documentTimestamp": 1588245270376,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "label": true,
- "lastSeen": 1588245234159,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "lastSeen": 1588245234159,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "isVariable": false,
- "operand": "instance",
- "operator": "in",
- "value": [],
- "variable": false
- }
- ],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588245270376,
- "customerId": 995,
- "deferred": false,
- "documentId": "995--7628529364506768192",
- "documentTimestamp": 1588245270376,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "nic",
- "identity": false,
- "label": true,
- "lastSeen": 1588243914199,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "nic",
- "identity": false,
- "lastSeen": 1588243914199,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "nic",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 13,
- "name": "Bandwidth",
- "type": "basicToplist"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588245270376,
- "customerId": 995,
- "deferred": false,
- "documentId": "995--2551064981596268356",
- "documentTimestamp": 1588245270376,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1588109574313,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "generator": {
- "aggregationForGroup": "avg",
- "aggregations": [
- "sum",
- "avg",
- "max",
- "min"
- ],
- "avg": true,
- "canCalculate": false,
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1588109574313,
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "groupBy": [
- "instance",
- "proc.commandLine",
- "host.mac",
- "container.id",
- "volume",
- "container.name",
- "scraping_node",
- "proc.name",
- "cloudProvider.tag",
- "host.hostName",
- "agent.tag",
- "container.image",
- "job",
- "container.label"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "wmi_logical_disk_free_bytes",
- "identity": false,
- "label": false,
- "lastSeen": 1588243914199,
- "max": true,
- "metricType": "gauge",
- "min": true,
- "name": "wmi_logical_disk_free_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": true,
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "timeAvg": false,
- "type": "byte"
- },
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "wmi_logical_disk_free_bytes",
- "identity": false,
- "lastSeen": 1588243914199,
- "metricType": "gauge",
- "name": "wmi_logical_disk_free_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "host.hostName",
- "host.mac",
- "instance",
- "job",
- "proc.commandLine",
- "proc.name",
- "scraping_node",
- "volume"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "wmi_logical_disk_free_bytes",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588245270376,
- "customerId": 995,
- "deferred": false,
- "documentId": "995--5735739363998383830",
- "documentTimestamp": 1588245270376,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "label": true,
- "lastSeen": 1588245234159,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "lastSeen": 1588245234159,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "isVariable": false,
- "operand": "instance",
- "operator": "in",
- "value": [],
- "variable": false
- }
- ],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588245270376,
- "customerId": 995,
- "deferred": false,
- "documentId": "995-2321968193766360325",
- "documentTimestamp": 1588245270376,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "volume",
- "identity": false,
- "label": true,
- "lastSeen": 1588243914199,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "volume",
- "identity": false,
- "lastSeen": 1588243914199,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "volume",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 14,
- "name": "Free Disk",
- "type": "basicToplist"
- },
- {
- "basicQueries": [
- {
- "compareTo": {
- "delta": 1,
- "enabled": false,
- "timeFormat": "day"
- },
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "metrics": [
- {
- "descriptor": {
- "aggregationForGroup": "avg",
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588245270376,
- "customerId": 995,
- "deferred": false,
- "documentId": "995-9220049982100341206",
- "documentTimestamp": 1588245270376,
- "documentType": "metric",
- "experimental": false,
- "firstSeen": 1588109574313,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusRawMetric",
- "generator": {
- "aggregationForGroup": "avg",
- "aggregations": [
- "sum",
- "avg",
- "max",
- "min"
- ],
- "avg": true,
- "canCalculate": false,
- "canFilter": false,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "firstSeen": 1588109574313,
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "groupBy": [
- "instance",
- "proc.commandLine",
- "host.mac",
- "container.id",
- "volume",
- "container.name",
- "scraping_node",
- "proc.name",
- "cloudProvider.tag",
- "host.hostName",
- "agent.tag",
- "container.image",
- "job",
- "container.label"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "wmi_logical_disk_size_bytes",
- "identity": false,
- "label": false,
- "lastSeen": 1588243914199,
- "max": true,
- "metricType": "gauge",
- "min": true,
- "name": "wmi_logical_disk_size_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": true,
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "timeAvg": false,
- "type": "byte"
- },
- "groupAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "wmi_logical_disk_size_bytes",
- "identity": false,
- "lastSeen": 1588243914199,
- "metricType": "gauge",
- "name": "wmi_logical_disk_size_bytes",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [
- "agent.tag",
- "cloudProvider.tag",
- "container.id",
- "container.image",
- "container.label",
- "container.name",
- "host.hostName",
- "host.mac",
- "instance",
- "job",
- "proc.commandLine",
- "proc.name",
- "scraping_node",
- "volume"
- ],
- "timeAggregations": [
- "avg",
- "sum",
- "min",
- "max"
- ],
- "type": "byte"
- },
- "groupAggregation": "avg",
- "id": "wmi_logical_disk_size_bytes",
- "sorting": null,
- "timeAggregation": "avg"
- }
- ],
- "scope": {
- "expressions": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588245270376,
- "customerId": 995,
- "deferred": false,
- "documentId": "995--5735739363998383830",
- "documentTimestamp": 1588245270376,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "label": true,
- "lastSeen": 1588245234159,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "lastSeen": 1588245234159,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "isVariable": false,
- "operand": "instance",
- "operator": "in",
- "value": [],
- "variable": false
- }
- ],
- "extendsDashboardScope": true
- },
- "segmentation": {
- "direction": "desc",
- "labels": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588245270376,
- "customerId": 995,
- "deferred": false,
- "documentId": "995-2321968193766360325",
- "documentTimestamp": 1588245270376,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "volume",
- "identity": false,
- "label": true,
- "lastSeen": 1588243914199,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "volume",
- "identity": false,
- "lastSeen": 1588243914199,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "",
- "id": "volume",
- "sorting": null
- }
- ],
- "limit": 10
- }
- }
- ],
- "description": "",
- "id": 15,
- "name": "Disk Size",
- "type": "basicToplist"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "s",
- "unit": "relativeTime",
- "yAxis": "auto"
- },
- "query": "(time() - wmi_system_system_up_time{instance=$host}) "
- }
- ],
- "description": "",
- "id": 16,
- "name": "Up Time",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "high"
- },
- "values": [
- {
- "displayText": "",
- "inputFormat": "s",
- "severity": "ok",
- "value": 3600.0
- }
- ]
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "wmi_system_threads{instance=$host}"
- }
- ],
- "description": "",
- "id": 17,
- "name": "Threads",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "{{instance}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "wmi_os_processes{instance=$host}"
- }
- ],
- "description": "",
- "id": 18,
- "name": "Processes",
- "numberThresholds": {
- "base": {
- "displayText": "",
- "severity": "none"
- },
- "values": []
- },
- "type": "advancedNumber"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Core",
- "timeSeriesDisplayNameTemplate": "{{core}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * sum by (core) (rate(wmi_cpu_time_total{instance=$host,mode != 'idle'}[5m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 19,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "CPU Usage by Core",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Physical Memory",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100* (wmi_cs_physical_memory_bytes{instance=$host} - wmi_os_physical_memory_free_bytes{instance=$host}) / wmi_cs_physical_memory_bytes{instance=$host}"
- },
- {
- "displayInfo": {
- "displayName": "",
- "timeSeriesDisplayNameTemplate": "Virtual Memory",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "100 * (wmi_os_virtual_memory_bytes{instance=$host} - wmi_os_virtual_memory_free_bytes{instance=$host}) / wmi_os_virtual_memory_bytes{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 20,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Memory Usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Physical Memory",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "wmi_os_physical_memory_free_bytes{instance=$host}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Virtual Memory",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "wmi_os_virtual_memory_free_bytes{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 21,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Free Memory",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * (wmi_logical_disk_size_bytes{instance=$host} - wmi_logical_disk_free_bytes{instance=$host}) / wmi_logical_disk_size_bytes{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 22,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Disk Usage by Volume",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "wmi_logical_disk_free_bytes{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 23,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Free Disk by Volume",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(wmi_logical_disk_writes_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 24,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Disk Write IOPS",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(wmi_logical_disk_reads_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": 2,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 25,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Disk Read IOPS",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(wmi_logical_disk_read_bytes_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 26,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Disk Read Throughput",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(wmi_logical_disk_write_bytes_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 27,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Disk Write Throughput",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "wmi_logical_disk_requests_queued{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 28,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Disk Reqs. Queued",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "Volume",
- "timeSeriesDisplayNameTemplate": "{{volume}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(wmi_logical_disk_split_ios_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 29,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Disk ops Splitted",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * rate(wmi_net_packets_received_errors{instance=$host}[5m]) / (rate(wmi_net_packets_received_errors{instance=$host}[5m]) + rate(wmi_net_packets_received_total{instance=$host}[5m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 30,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Network Inbound Error Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * rate(wmi_net_packets_outbound_errors{instance=$host}[5m]) / (rate(wmi_net_packets_outbound_errors{instance=$host}[5m]) + rate(wmi_net_packets_sent_total{instance=$host}[5m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 31,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Network Outbound Error Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * rate(wmi_net_packets_received_discarded{instance=$host}[5m]) / (rate(wmi_net_packets_received_discarded{instance=$host}[5m]) + rate(wmi_net_packets_received_total{instance=$host}[5m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 32,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Network Inbound Discard Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * rate(wmi_net_packets_outbound_discarded{instance=$host}[5m]) / (rate(wmi_net_packets_outbound_discarded{instance=$host}[5m]) + rate(wmi_net_packets_sent_total{instance=$host}[5m]))"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 33,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Network Outbound Discard Rate",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * (rate(wmi_net_bytes_total{instance=$host}[5m])) * 8 / wmi_net_current_bandwidth{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 34,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Bandwidth Usage by Interface",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "wmi_net_current_bandwidth{instance=$host} - ((rate(wmi_net_bytes_total{instance=$host}[5m])) * 8) "
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 35,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Bandwidth Free by Interface",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(wmi_net_packets_received_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 36,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Network Received IOPS",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(wmi_net_packets_sent_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 37,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Network Sent IOPS",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(wmi_net_bytes_received_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 38,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Network Received Throughput",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": "NIC",
- "timeSeriesDisplayNameTemplate": "{{nic}}",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "B/s",
- "unit": "byteRate",
- "yAxis": "auto"
- },
- "query": "rate(wmi_net_bytes_sent_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B/s",
- "maxValue": null,
- "minInputFormat": "B/s",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 39,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Network Sent Throughput",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Processes",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "wmi_os_processes{instance=$host}"
- },
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Threads",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "wmi_system_threads{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 40,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Processes and Threads",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Queue",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "wmi_system_processor_queue_length{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 41,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Processor Queue",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Pagination",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": null,
- "displayFormat": "auto",
- "inputFormat": "0-100",
- "unit": "%",
- "yAxis": "auto"
- },
- "query": "100 * (wmi_os_paging_limit_bytes{instance=$host} - wmi_os_paging_free_bytes{instance=$host}) / wmi_os_paging_limit_bytes{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "0-100",
- "maxValue": null,
- "minInputFormat": "0-100",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 42,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Pagination Usage",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Sessions",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": 0,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "wmi_os_users{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 43,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "User Sessions",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Switches",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": 0,
- "displayFormat": "auto",
- "inputFormat": "1",
- "unit": "number",
- "yAxis": "auto"
- },
- "query": "rate(wmi_system_context_switches_total{instance=$host}[5m])"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 44,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Context Switches",
- "type": "advancedTimechart"
- },
- {
- "advancedQueries": [
- {
- "displayInfo": {
- "displayName": " ",
- "timeSeriesDisplayNameTemplate": "Free Pagination",
- "type": "lines"
- },
- "enabled": true,
- "format": {
- "decimals": 0,
- "displayFormat": "auto",
- "inputFormat": "B",
- "unit": "byte",
- "yAxis": "auto"
- },
- "query": "wmi_os_paging_free_bytes{instance=$host}"
- }
- ],
- "axesConfiguration": {
- "bottom": {
- "enabled": true
- },
- "left": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "B",
- "maxValue": null,
- "minInputFormat": "B",
- "minValue": 0.0,
- "scale": "linear",
- "unit": "auto"
- },
- "right": {
- "decimals": null,
- "displayFormat": "auto",
- "displayName": null,
- "enabled": true,
- "maxInputFormat": "1",
- "maxValue": null,
- "minInputFormat": "1",
- "minValue": null,
- "scale": "linear",
- "unit": "auto"
- }
- },
- "description": "",
- "id": 45,
- "legendConfiguration": {
- "enabled": true,
- "layout": "inline",
- "position": "bottom",
- "showCurrent": true
- },
- "name": "Free Pagination",
- "type": "advancedTimechart"
- }
- ],
- "schema": 3,
- "scopeExpressionList": [
- {
- "descriptor": {
- "aggregationForGroup": "none",
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "createdAt": 1588245270376,
- "customerId": 995,
- "deferred": false,
- "documentId": "995--5735739363998383830",
- "documentTimestamp": 1588245270376,
- "documentType": "metric",
- "experimental": false,
- "generatedFrom": "com.draios.model.metrics.custom.PrometheusAbstractMetric$Tag",
- "generator": {
- "aggregationForGroup": "none",
- "aggregations": [
- "distinct"
- ],
- "avg": false,
- "canCalculate": false,
- "canFilter": true,
- "canGroupBy": false,
- "canMonitor": false,
- "category": "prometheus",
- "concat": false,
- "context": [],
- "count": false,
- "countDistinct": false,
- "deferred": false,
- "experimental": false,
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "groupBy": [],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "label": true,
- "lastSeen": 1588245234159,
- "max": false,
- "metricType": "segmentBy",
- "min": false,
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "rateOfChange": false,
- "scale": 1.0,
- "scopes": [],
- "sum": false,
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "timeAvg": false,
- "type": "string"
- },
- "groupAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "heuristic": false,
- "hidden": false,
- "id": "instance",
- "identity": false,
- "lastSeen": 1588245234159,
- "metricType": "tag",
- "namespaces": [
- "host",
- "host.process",
- "host.container",
- "cloudProvider",
- "mesos",
- "ecs",
- "kubernetes.cluster",
- "kubernetes.namespace",
- "kubernetes.deployment",
- "kubernetes.job",
- "kubernetes.daemonSet",
- "kubernetes.service",
- "kubernetes.node",
- "kubernetes.replicaSet",
- "kubernetes.statefulSet",
- "kubernetes.resourcequota",
- "kubernetes.persistentvolume",
- "kubernetes.persistentvolumeclaim",
- "kubernetes.pod"
- ],
- "routingInfo": {
- "customerId": 995,
- "routing": "995"
- },
- "scale": 1.0,
- "scopes": [],
- "segment": false,
- "segmentations": [],
- "timeAggregations": [
- "concat",
- "distinct",
- "count"
- ],
- "type": "string"
- },
- "displayName": "host",
- "isVariable": true,
- "operand": "instance",
- "operator": "equals",
- "value": [],
- "variable": true
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/resources/wmi/include/dragent.yaml b/resources/wmi/include/dragent.yaml
deleted file mode 100644
index 367e949d..00000000
--- a/resources/wmi/include/dragent.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-apiVersion: v1
-data:
- dragent.yaml: |
- new_k8s: true
- k8s_cluster_name: cluster_name
- jmx:
- enabled: false
- metrics_excess_log: true
- app_checks_enabled: false
- 10s_flush_enable: true
- use_promscrape: true
- prometheus:
- enabled: true
- histograms: true
- ingest_raw: true
- ingest_calculated: false
- interval: 60
- timeout: 30
- log_errors: true
- max_metrics: 3000
- max_metrics_per_process: 20000
- remote_services:
- - wmi:
- kubernetes.node.annotation.sysdig.com/scraper: true
- conf:
- url: "http://IP:PORT/metrics"
- tags:
- scraping_node: "{kubernetes.node.name}"
- process_filter:
- - include:
- kubernetes.pod.annotation.prometheus.io/scrape: true
- conf:
- path: "{kubernetes.pod.annotation.prometheus.io/path}"
- port: "{kubernetes.pod.annotation.prometheus.io/port}"
- snaplen: 512
- tags: role:cluster
-kind: ConfigMap
-metadata:
- labels:
- app: sysdig-agent
- name: sysdig-agent
- namespace: sysdig-agent
\ No newline at end of file
diff --git a/resources/wmi/setup-guide.yaml b/resources/wmi/setup-guide.yaml
index 42d4f6d9..eb040cb1 100644
--- a/resources/wmi/setup-guide.yaml
+++ b/resources/wmi/setup-guide.yaml
@@ -5,7 +5,5 @@ version: 1.0.0
appVersion:
- '2016'
- '2019'
-configurations:
-- name: dragent.yaml
- file: include/dragent.yaml
+configurations: []
descriptionFile: INSTALL.md
diff --git a/templates/alerts.yaml b/templates/alerts.yaml
index 4ab18c34..f36a61a7 100644
--- a/templates/alerts.yaml
+++ b/templates/alerts.yaml
@@ -14,25 +14,4 @@ configurations:
severity: page
annotations:
summary: Text {{$labels.label}}
-- kind: Sysdig
- data: |-
- {
- "alert": {
- "condition": null,
- "customNotification": {
- "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}",
- "useNewTemplate": false
- },
- "enabled": true,
- "name": null,
- "rateOfChange": false,
- "reNotify": false,
- "reNotifyMinutes": 10,
- "severity": 4,
- "severityLabel": "LOW",
- "severityLevel": null,
- "timespan": 600000000,
- "type": "PROMETHEUS"
- }
- }
descriptionFile: ALERTS.md
diff --git a/templates/dashboards.yaml b/templates/dashboards.yaml
index 1997236e..32f52099 100644
--- a/templates/dashboards.yaml
+++ b/templates/dashboards.yaml
@@ -5,13 +5,6 @@ version: 1.0.0
appVersion:
- 1.0.0
configurations:
-- name: ''
- kind: Sysdig
- image: ''
- description: |
- This dashboard offers information on:
- *
- file: include/dashboard-Sysdig--1.0.0.json
- name: ''
kind: Grafana
image: ''