Skip to content

Commit

Permalink
Add missing datasource to all dashboards (#577)
Browse files Browse the repository at this point in the history
Signed-off-by: QuentinBisson <[email protected]>
  • Loading branch information
QuentinBisson authored Jun 12, 2024
1 parent 6ab98a6 commit 118d860
Show file tree
Hide file tree
Showing 86 changed files with 1,678 additions and 1,091 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Added missing datasource to all dashboards and panels.

### Removed

- Ger rid the of useless analytics panels.

## [3.17.0] - 2024-06-07

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,7 @@
"uid": "$datasource"
},
"definition": "label_values(etcd_request_duration_seconds_bucket, operation)",
"hide": 2,
"hide": 0,
"includeAll": true,
"multi": true,
"name": "etcd_operation",
Expand Down Expand Up @@ -1633,7 +1633,7 @@
"uid": "$datasource"
},
"definition": "label_values(apiserver_flowcontrol_dispatched_requests_total, priority_level)",
"hide": 2,
"hide": 0,
"includeAll": true,
"multi": true,
"name": "priority_level",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"panels": [
{
"columns": [],
"datasource": "default",
"datasource": "$datasource",
"description": "List of credentials currently installed",
"fontSize": "100%",
"gridPos": {
Expand Down Expand Up @@ -77,7 +77,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "default",
"datasource": "$datasource",
"description": "Rate of requests to credentiald to create, list, and search for credentials.",
"fill": 1,
"gridPos": {
Expand Down Expand Up @@ -178,7 +178,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "default",
"datasource": "$datasource",
"description": "95th percentile latency for credentiald for creating, listing, and searching for credentials.",
"fill": 1,
"gridPos": {
Expand Down Expand Up @@ -279,7 +279,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "default",
"datasource": "$datasource",
"description": "Rate of errors for credentiald for accessing Kubernetes.",
"fill": 1,
"gridPos": {
Expand Down Expand Up @@ -383,7 +383,22 @@
"owner:team-honeybadger"
],
"templating": {
"list": []
"list": [
{
"current": {
"text": "default",
"value": "default"
},
"hide": 0,
"label": "Data source",
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
}
]
},
"time": {
"from": "now-3h",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "$datasource"
},
"description": "",
"fieldConfig": {
Expand Down Expand Up @@ -123,7 +123,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "$datasource"
},
"editorMode": "code",
"expr": "sum by(reason) (rate(kube_event_count{type=\"Normal\", namespace=\"$namespace\"}[$rate_interval]))",
Expand All @@ -138,7 +138,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "$datasource"
},
"description": "",
"fieldConfig": {
Expand Down Expand Up @@ -216,7 +216,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "$datasource"
},
"editorMode": "code",
"expr": "sum by(reason) (rate(kube_event_count{type=\"Warning\", namespace=\"$namespace\"}[$rate_interval]))",
Expand Down Expand Up @@ -244,7 +244,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -321,7 +321,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "$datasource"
},
"editorMode": "code",
"expr": "sum by (job) (rate(rest_client_requests_total{job=~\"$namespace/.*\"}[$__rate_interval]))",
Expand All @@ -336,7 +336,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -416,7 +416,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "$datasource"
},
"editorMode": "builder",
"expr": "topk(10, sum by (resource) (rate(apiserver_request_total[$__rate_interval])))",
Expand Down Expand Up @@ -444,7 +444,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -521,7 +521,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "$datasource"
},
"editorMode": "code",
"expr": "topk(10, sum by (controller) (rate(controller_runtime_reconcile_total{job=~\"$namespace/.*\"}[$rate_interval])))",
Expand All @@ -536,7 +536,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -613,7 +613,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "$datasource"
},
"editorMode": "code",
"expr": "topk(10, sum by (name) (workqueue_depth{job=~\"$namespace/.+\"}))",
Expand All @@ -635,6 +635,23 @@
],
"templating": {
"list": [
{
"current": {
"text": "default",
"value": "default"
},
"hide": 0,
"includeAll": false,
"label": "Data source",
"multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"auto": false,
"auto_count": 30,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"panels": [
{
"columns": [],
"datasource": "default",
"datasource": "$datasource",
"fontSize": "100%",
"gridPos": {
"h": 19,
Expand Down Expand Up @@ -83,7 +83,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "default",
"datasource": "$datasource",
"fill": 0,
"fillGradient": 0,
"gridPos": {
Expand Down Expand Up @@ -175,7 +175,25 @@
"owner:team-honeybadger"
],
"templating": {
"list": []
"list": [
{
"current": {
"text": "default",
"value": "default"
},
"hide": 0,
"includeAll": false,
"label": "Data source",
"multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
}
]
},
"time": {
"from": "now-3h",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,10 @@
"$__all"
]
},
"datasource": "${datasource}",
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"definition": "label_values(etcd_backup_latest_attempt, tenant_cluster_id)",
"description": null,
"error": null,
Expand Down
Loading

0 comments on commit 118d860

Please sign in to comment.