-
Notifications
You must be signed in to change notification settings - Fork 823
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add provisioner metrics to the default dashboard
- Loading branch information
Showing
2 changed files
with
324 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
322 changes: 322 additions & 0 deletions
322
...en/preview/getting-started/getting-started-with-eksctl/karpenter-provisioner-metrics.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,322 @@ | ||
{ | ||
"annotations": { | ||
"list": [ | ||
{ | ||
"builtIn": 1, | ||
"datasource": { | ||
"type": "grafana", | ||
"uid": "-- Grafana --" | ||
}, | ||
"enable": true, | ||
"hide": true, | ||
"iconColor": "rgba(0, 211, 255, 1)", | ||
"name": "Annotations & Alerts", | ||
"target": { | ||
"limit": 100, | ||
"matchAny": false, | ||
"tags": [], | ||
"type": "dashboard" | ||
}, | ||
"type": "dashboard" | ||
} | ||
] | ||
}, | ||
"description": "Usage and limits by provisioner", | ||
"editable": true, | ||
"fiscalYearStartMonth": 0, | ||
"graphTooltip": 0, | ||
"id": 4, | ||
"iteration": 1654094367492, | ||
"links": [], | ||
"liveNow": false, | ||
"panels": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "PBFA97CFB590B2093" | ||
}, | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "thresholds" | ||
}, | ||
"mappings": [], | ||
"max": 100, | ||
"min": 0, | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "green", | ||
"value": null | ||
}, | ||
{ | ||
"color": "red", | ||
"value": 80 | ||
} | ||
] | ||
}, | ||
"unit": "percent" | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": 8, | ||
"w": 24, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"id": 2, | ||
"options": { | ||
"orientation": "auto", | ||
"reduceOptions": { | ||
"calcs": [ | ||
"lastNotNull" | ||
], | ||
"fields": "", | ||
"values": false | ||
}, | ||
"showThresholdLabels": false, | ||
"showThresholdMarkers": true | ||
}, | ||
"pluginVersion": "8.5.3", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "PBFA97CFB590B2093" | ||
}, | ||
"editorMode": "builder", | ||
"expr": "karpenter_provisioner_usage_pct{resource_type=~\"$resource_type\"}", | ||
"interval": "", | ||
"legendFormat": "{{provisioner}}/{{resource_type}}", | ||
"range": true, | ||
"refId": "A" | ||
} | ||
], | ||
"title": "Provisioner Limits", | ||
"type": "gauge" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "PBFA97CFB590B2093" | ||
}, | ||
"description": "", | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "thresholds" | ||
}, | ||
"custom": { | ||
"align": "auto", | ||
"displayMode": "auto", | ||
"filterable": false, | ||
"inspect": false | ||
}, | ||
"mappings": [], | ||
"max": 100, | ||
"min": 0, | ||
"thresholds": { | ||
"mode": "percentage", | ||
"steps": [ | ||
{ | ||
"color": "green", | ||
"value": null | ||
}, | ||
{ | ||
"color": "red", | ||
"value": 80 | ||
} | ||
] | ||
}, | ||
"unit": "percent" | ||
}, | ||
"overrides": [ | ||
{ | ||
"matcher": { | ||
"id": "byName", | ||
"options": "Value" | ||
}, | ||
"properties": [ | ||
{ | ||
"id": "custom.displayMode", | ||
"value": "gradient-gauge" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"gridPos": { | ||
"h": 8, | ||
"w": 24, | ||
"x": 0, | ||
"y": 8 | ||
}, | ||
"id": 6, | ||
"options": { | ||
"footer": { | ||
"fields": "", | ||
"reducer": [ | ||
"sum" | ||
], | ||
"show": false | ||
}, | ||
"showHeader": true | ||
}, | ||
"pluginVersion": "8.5.3", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "PBFA97CFB590B2093" | ||
}, | ||
"editorMode": "builder", | ||
"exemplar": false, | ||
"expr": "karpenter_provisioner_usage_pct{resource_type=~\"$resource_type\"}", | ||
"format": "table", | ||
"instant": true, | ||
"interval": "", | ||
"legendFormat": "{{provisioner}} / {{resource_type}}", | ||
"range": false, | ||
"rawQuery": false, | ||
"refId": "A" | ||
} | ||
], | ||
"title": "Provisioner Limits", | ||
"transformations": [ | ||
{ | ||
"id": "organize", | ||
"options": { | ||
"excludeByName": { | ||
"__name__": true, | ||
"instance": true, | ||
"job": true | ||
}, | ||
"indexByName": {}, | ||
"renameByName": { | ||
"__name__": "" | ||
} | ||
} | ||
} | ||
], | ||
"type": "table" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "PBFA97CFB590B2093" | ||
}, | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "thresholds" | ||
}, | ||
"mappings": [], | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "green", | ||
"value": null | ||
}, | ||
{ | ||
"color": "red", | ||
"value": 80 | ||
} | ||
] | ||
} | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": 15, | ||
"w": 24, | ||
"x": 0, | ||
"y": 16 | ||
}, | ||
"id": 4, | ||
"options": { | ||
"colorMode": "value", | ||
"graphMode": "area", | ||
"justifyMode": "auto", | ||
"orientation": "auto", | ||
"reduceOptions": { | ||
"calcs": [ | ||
"lastNotNull" | ||
], | ||
"fields": "", | ||
"values": false | ||
}, | ||
"textMode": "auto" | ||
}, | ||
"pluginVersion": "8.5.3", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "PBFA97CFB590B2093" | ||
}, | ||
"editorMode": "builder", | ||
"exemplar": false, | ||
"expr": "karpenter_provisioner_usage{resource_type=~\"$resource_type\"}", | ||
"format": "time_series", | ||
"instant": false, | ||
"interval": "", | ||
"legendFormat": "{{provisioner}}/{{resource_type}}", | ||
"range": true, | ||
"rawQuery": true, | ||
"refId": "A" | ||
} | ||
], | ||
"title": "Provisioner Usage", | ||
"transformations": [], | ||
"type": "stat" | ||
} | ||
], | ||
"refresh": "5s", | ||
"schemaVersion": 36, | ||
"style": "dark", | ||
"tags": [], | ||
"templating": { | ||
"list": [ | ||
{ | ||
"current": { | ||
"selected": false, | ||
"text": "All", | ||
"value": "$__all" | ||
}, | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "PBFA97CFB590B2093" | ||
}, | ||
"definition": "label_values(resource_type)", | ||
"hide": 0, | ||
"includeAll": true, | ||
"label": "Resource Name", | ||
"multi": false, | ||
"name": "resource_type", | ||
"options": [], | ||
"query": { | ||
"query": "label_values(resource_type)", | ||
"refId": "StandardVariableQuery" | ||
}, | ||
"refresh": 1, | ||
"regex": "", | ||
"skipUrlSync": false, | ||
"sort": 0, | ||
"type": "query" | ||
} | ||
] | ||
}, | ||
"time": { | ||
"from": "now-6h", | ||
"to": "now" | ||
}, | ||
"timepicker": {}, | ||
"timezone": "", | ||
"title": "Provisioner Usage", | ||
"uid": "dcppDJ9nz", | ||
"version": 14, | ||
"weekStart": "" | ||
} |