Skip to content

Commit

Permalink
ignore probe instances in dashboards (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
stehessel authored May 29, 2023
1 parent ec9f476 commit 219bb2d
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 46 deletions.
60 changes: 25 additions & 35 deletions resources/grafana/rhacs-central-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
"fiscalYearStartMonth": 0,
"gnetId": 14765,
"graphTooltip": 0,
"id": 18,
"id": 6,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -134,7 +134,7 @@ spec:
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.1.0",
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -214,7 +214,7 @@ spec:
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.1.0",
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -278,7 +278,7 @@ spec:
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.1.0",
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -358,7 +358,7 @@ spec:
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.1.0",
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -3710,8 +3710,7 @@ spec:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -3802,8 +3801,7 @@ spec:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -3931,8 +3929,7 @@ spec:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4023,8 +4020,7 @@ spec:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4175,8 +4171,7 @@ spec:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4268,8 +4263,7 @@ spec:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4421,8 +4415,7 @@ spec:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4514,8 +4507,7 @@ spec:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4667,8 +4659,7 @@ spec:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4760,8 +4751,7 @@ spec:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4865,8 +4855,7 @@ spec:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -5126,7 +5115,8 @@ spec:
}
],
"refresh": "1m",
"schemaVersion": 37,
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [
"rhacs"
Expand Down Expand Up @@ -5166,7 +5156,7 @@ spec:
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"definition": "label_values(process_cpu_seconds_total{job=\"central\"}, rhacs_org_name)",
"definition": "label_values(process_cpu_seconds_total{job=\"central\", rhacs_org_id!=\"16536854\"}, rhacs_org_name)",
"description": "Red Hat SSO Organisation Name",
"hide": 0,
"includeAll": true,
Expand All @@ -5175,7 +5165,7 @@ spec:
"name": "org_name",
"options": [],
"query": {
"query": "label_values(process_cpu_seconds_total{job=\"central\"}, rhacs_org_name)",
"query": "label_values(process_cpu_seconds_total{job=\"central\", rhacs_org_id!=\"16536854\"}, rhacs_org_name)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
Expand All @@ -5198,7 +5188,7 @@ spec:
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"definition": "label_values(process_cpu_seconds_total{job=\"central\", rhacs_org_name=~\"$org_name\"}, rhacs_org_id)",
"definition": "label_values(process_cpu_seconds_total{job=\"central\", rhacs_org_name=~\"$org_name\", rhacs_org_id!=\"16536854\"}, rhacs_org_id)",
"description": "Red Hat SSO Organisation ID",
"hide": 0,
"includeAll": true,
Expand All @@ -5207,7 +5197,7 @@ spec:
"name": "org_id",
"options": [],
"query": {
"query": "label_values(process_cpu_seconds_total{job=\"central\", rhacs_org_name=~\"$org_name\"}, rhacs_org_id)",
"query": "label_values(process_cpu_seconds_total{job=\"central\", rhacs_org_name=~\"$org_name\", rhacs_org_id!=\"16536854\"}, rhacs_org_id)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
Expand All @@ -5219,8 +5209,8 @@ spec:
{
"current": {
"selected": false,
"text": "ce90s406mnv90blbnu20",
"value": "ce90s406mnv90blbnu20"
"text": "ceccreb6m744ct03d480",
"value": "ceccreb6m744ct03d480"
},
"datasource": {
"type": "prometheus",
Expand Down Expand Up @@ -5341,6 +5331,6 @@ spec:
"timezone": "",
"title": "RHACS Dataplane - Central Metrics",
"uid": "gn38yKZnk",
"version": 3,
"version": 1,
"weekStart": ""
}
12 changes: 6 additions & 6 deletions resources/grafana/rhacs-central-slo-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 21,
"id": 13,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -1249,7 +1249,7 @@ spec:
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"definition": "label_values(central:sli:availability, rhacs_org_name)",
"definition": "label_values(central:sli:availability{rhacs_org_id!=\"16536854\"}, rhacs_org_name)",
"description": "Red Hat SSO Organisation Name",
"hide": 0,
"includeAll": true,
Expand All @@ -1258,7 +1258,7 @@ spec:
"name": "org_name",
"options": [],
"query": {
"query": "label_values(central:sli:availability, rhacs_org_name)",
"query": "label_values(central:sli:availability{rhacs_org_id!=\"16536854\"}, rhacs_org_name)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
Expand All @@ -1281,7 +1281,7 @@ spec:
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"definition": "label_values(central:sli:availability{rhacs_org_name=~\"$org_name\"}, rhacs_org_id)",
"definition": "label_values(central:sli:availability{rhacs_org_name=~\"$org_name\", rhacs_org_id!=\"16536854\"}, rhacs_org_id)",
"description": "Red Hat SSO Organisation ID",
"hide": 0,
"includeAll": true,
Expand All @@ -1290,7 +1290,7 @@ spec:
"name": "org_id",
"options": [],
"query": {
"query": "label_values(central:sli:availability{rhacs_org_name=~\"$org_name\"}, rhacs_org_id)",
"query": "label_values(central:sli:availability{rhacs_org_name=~\"$org_name\", rhacs_org_id!=\"16536854\"}, rhacs_org_id)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
Expand Down Expand Up @@ -1354,6 +1354,6 @@ spec:
"timezone": "",
"title": "RHACS Dataplane - Central SLOs",
"uid": "vH7ntMs4k",
"version": 2,
"version": 1,
"weekStart": ""
}
10 changes: 5 additions & 5 deletions resources/grafana/rhacs-cluster-overview-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 2,
"id": 9,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -1693,7 +1693,7 @@ spec:
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"definition": "label_values(process_cpu_seconds_total{job=\"central\"}, rhacs_org_name)",
"definition": "label_values(process_cpu_seconds_total{job=\"central\", rhacs_org_id!=\"16536854\"}, rhacs_org_name)",
"description": "Red Hat SSO Organisation Name",
"hide": 0,
"includeAll": true,
Expand All @@ -1702,7 +1702,7 @@ spec:
"name": "org_name",
"options": [],
"query": {
"query": "label_values(process_cpu_seconds_total{job=\"central\"}, rhacs_org_name)",
"query": "label_values(process_cpu_seconds_total{job=\"central\", rhacs_org_id!=\"16536854\"}, rhacs_org_name)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
Expand All @@ -1725,7 +1725,7 @@ spec:
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"definition": "label_values(process_cpu_seconds_total{job=\"central\", rhacs_org_name=~\"$org_name\"}, rhacs_org_id)",
"definition": "label_values(process_cpu_seconds_total{job=\"central\", rhacs_org_name=~\"$org_name\", rhacs_org_id!=\"16536854\"}, rhacs_org_id)",
"description": "Red Hat SSO Organisation ID",
"hide": 0,
"includeAll": true,
Expand All @@ -1734,7 +1734,7 @@ spec:
"name": "org_id",
"options": [],
"query": {
"query": "label_values(process_cpu_seconds_total{job=\"central\", rhacs_org_name=~\"$org_name\"}, rhacs_org_id)",
"query": "label_values(process_cpu_seconds_total{job=\"central\", rhacs_org_name=~\"$org_name\", rhacs_org_id!=\"16536854\"}, rhacs_org_id)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
Expand Down

0 comments on commit 219bb2d

Please sign in to comment.