added grafana dashboard for edqs entities
This commit is contained in:
		
							parent
							
								
									e1e6f7c98b
								
							
						
					
					
						commit
						44721a255c
					
				@ -0,0 +1,161 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "annotations": {
 | 
				
			||||||
 | 
					    "list": [
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        "builtIn": 1,
 | 
				
			||||||
 | 
					        "datasource": "-- Grafana --",
 | 
				
			||||||
 | 
					        "enable": true,
 | 
				
			||||||
 | 
					        "hide": true,
 | 
				
			||||||
 | 
					        "iconColor": "rgba(0, 211, 255, 1)",
 | 
				
			||||||
 | 
					        "name": "Annotations & Alerts",
 | 
				
			||||||
 | 
					        "target": {
 | 
				
			||||||
 | 
					          "limit": 100,
 | 
				
			||||||
 | 
					          "matchAny": false,
 | 
				
			||||||
 | 
					          "tags": [],
 | 
				
			||||||
 | 
					          "type": "dashboard"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "type": "dashboard"
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "editable": true,
 | 
				
			||||||
 | 
					  "fiscalYearStartMonth": 0,
 | 
				
			||||||
 | 
					  "graphTooltip": 0,
 | 
				
			||||||
 | 
					  "id": 6,
 | 
				
			||||||
 | 
					  "iteration": 1737564772936,
 | 
				
			||||||
 | 
					  "links": [],
 | 
				
			||||||
 | 
					  "liveNow": false,
 | 
				
			||||||
 | 
					  "panels": [
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      "fieldConfig": {
 | 
				
			||||||
 | 
					        "defaults": {
 | 
				
			||||||
 | 
					          "color": {
 | 
				
			||||||
 | 
					            "mode": "palette-classic"
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "custom": {
 | 
				
			||||||
 | 
					            "axisLabel": "",
 | 
				
			||||||
 | 
					            "axisPlacement": "auto",
 | 
				
			||||||
 | 
					            "barAlignment": 0,
 | 
				
			||||||
 | 
					            "drawStyle": "line",
 | 
				
			||||||
 | 
					            "fillOpacity": 0,
 | 
				
			||||||
 | 
					            "gradientMode": "none",
 | 
				
			||||||
 | 
					            "hideFrom": {
 | 
				
			||||||
 | 
					              "legend": false,
 | 
				
			||||||
 | 
					              "tooltip": false,
 | 
				
			||||||
 | 
					              "viz": false
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            "lineInterpolation": "smooth",
 | 
				
			||||||
 | 
					            "lineWidth": 1,
 | 
				
			||||||
 | 
					            "pointSize": 1,
 | 
				
			||||||
 | 
					            "scaleDistribution": {
 | 
				
			||||||
 | 
					              "type": "linear"
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            "showPoints": "auto",
 | 
				
			||||||
 | 
					            "spanNulls": false,
 | 
				
			||||||
 | 
					            "stacking": {
 | 
				
			||||||
 | 
					              "group": "A",
 | 
				
			||||||
 | 
					              "mode": "none"
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            "thresholdsStyle": {
 | 
				
			||||||
 | 
					              "mode": "off"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "decimals": 0,
 | 
				
			||||||
 | 
					          "mappings": [],
 | 
				
			||||||
 | 
					          "thresholds": {
 | 
				
			||||||
 | 
					            "mode": "absolute",
 | 
				
			||||||
 | 
					            "steps": [
 | 
				
			||||||
 | 
					              {
 | 
				
			||||||
 | 
					                "color": "green",
 | 
				
			||||||
 | 
					                "value": null
 | 
				
			||||||
 | 
					              },
 | 
				
			||||||
 | 
					              {
 | 
				
			||||||
 | 
					                "color": "red",
 | 
				
			||||||
 | 
					                "value": 80
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "overrides": []
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "gridPos": {
 | 
				
			||||||
 | 
					        "h": 10,
 | 
				
			||||||
 | 
					        "w": 12,
 | 
				
			||||||
 | 
					        "x": 0,
 | 
				
			||||||
 | 
					        "y": 0
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "id": 2,
 | 
				
			||||||
 | 
					      "options": {
 | 
				
			||||||
 | 
					        "legend": {
 | 
				
			||||||
 | 
					          "calcs": [],
 | 
				
			||||||
 | 
					          "displayMode": "list",
 | 
				
			||||||
 | 
					          "placement": "bottom"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "tooltip": {
 | 
				
			||||||
 | 
					          "mode": "single",
 | 
				
			||||||
 | 
					          "sort": "none"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "targets": [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          "datasource": {
 | 
				
			||||||
 | 
					            "type": "prometheus",
 | 
				
			||||||
 | 
					            "uid": "9BonzvTSz"
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "exemplar": true,
 | 
				
			||||||
 | 
					          "expr": "sum by (objectType) (edqs_object_count{tenantId=~\"$tenantId\"})",
 | 
				
			||||||
 | 
					          "interval": "",
 | 
				
			||||||
 | 
					          "legendFormat": "{{objectType}}",
 | 
				
			||||||
 | 
					          "refId": "A"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      "title": "EDQS object count",
 | 
				
			||||||
 | 
					      "type": "timeseries"
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  ],
 | 
				
			||||||
 | 
					  "refresh": "",
 | 
				
			||||||
 | 
					  "schemaVersion": 35,
 | 
				
			||||||
 | 
					  "style": "dark",
 | 
				
			||||||
 | 
					  "tags": [],
 | 
				
			||||||
 | 
					  "templating": {
 | 
				
			||||||
 | 
					    "list": [
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        "current": {
 | 
				
			||||||
 | 
					          "selected": true,
 | 
				
			||||||
 | 
					          "text": [
 | 
				
			||||||
 | 
					            "All"
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
 | 
					          "value": [
 | 
				
			||||||
 | 
					            "$__all"
 | 
				
			||||||
 | 
					          ]
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "definition": "label_values(edqs_object_count, tenantId)",
 | 
				
			||||||
 | 
					        "hide": 0,
 | 
				
			||||||
 | 
					        "includeAll": true,
 | 
				
			||||||
 | 
					        "label": "Tenant",
 | 
				
			||||||
 | 
					        "multi": true,
 | 
				
			||||||
 | 
					        "name": "tenantId",
 | 
				
			||||||
 | 
					        "options": [],
 | 
				
			||||||
 | 
					        "query": {
 | 
				
			||||||
 | 
					          "query": "label_values(edqs_object_count, tenantId)",
 | 
				
			||||||
 | 
					          "refId": "StandardVariableQuery"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "refresh": 1,
 | 
				
			||||||
 | 
					        "regex": "",
 | 
				
			||||||
 | 
					        "skipUrlSync": false,
 | 
				
			||||||
 | 
					        "sort": 0,
 | 
				
			||||||
 | 
					        "type": "query"
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "time": {
 | 
				
			||||||
 | 
					    "from": "now-15m",
 | 
				
			||||||
 | 
					    "to": "now"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "timepicker": {},
 | 
				
			||||||
 | 
					  "timezone": "",
 | 
				
			||||||
 | 
					  "title": "EDQS",
 | 
				
			||||||
 | 
					  "uid": "mK5A_DdHk",
 | 
				
			||||||
 | 
					  "version": 9,
 | 
				
			||||||
 | 
					  "weekStart": ""
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user