Skip to content

Instantly share code, notes, and snippets.

@dannykopping
Created August 21, 2023 12:18
Show Gist options
  • Save dannykopping/76b9c8c8ad4e01f9e72d3a6f16bb7432 to your computer and use it in GitHub Desktop.
Save dannykopping/76b9c8c8ad4e01f9e72d3a6f16bb7432 to your computer and use it in GitHub Desktop.
SLI-panel.json
{
"datasource": {
"uid": "mimir",
"type": "prometheus"
},
"type": "gauge",
"title": "SLI",
"gridPos": {
"x": 0,
"y": 0,
"w": 12,
"h": 8
},
"id": 1,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "mimir"
},
"refId": "A",
"expr": "98",
"range": true,
"instant": false,
"editorMode": "code",
"legendFormat": "__auto"
}
],
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "auto",
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "green",
"value": 99
},
{
"color": "green",
"value": 99.9
},
{
"color": "green",
"value": 99.99
},
{
"color": "green",
"value": 99.999
}
]
},
"color": {
"mode": "thresholds"
},
"custom": {
"neutral": 0
},
"min": 0,
"max": 100
},
"overrides": []
},
"pluginVersion": "10.2.0-59689",
"description": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment