* Migration to be verified: v42 HideFrom tooltip migration * snap update * make gen cue * Add comments of 42 being the final version
162 lines
3.3 KiB
JSON
162 lines
3.3 KiB
JSON
{
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"apiVersion": "v1",
|
|
"type": "prometheus",
|
|
"uid": "default-ds-uid"
|
|
},
|
|
"id": 1,
|
|
"options": {
|
|
"thresholds": [
|
|
{
|
|
"color": "red",
|
|
"value": 100
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 50
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
}
|
|
],
|
|
"valueOptions": {
|
|
"decimals": 2,
|
|
"prefix": "Value: ",
|
|
"stat": "last",
|
|
"suffix": " ms",
|
|
"unit": "ms"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"apiVersion": "v1",
|
|
"type": "prometheus",
|
|
"uid": "default-ds-uid"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Complete Gauge Panel",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"apiVersion": "v1",
|
|
"type": "prometheus",
|
|
"uid": "default-ds-uid"
|
|
},
|
|
"id": 2,
|
|
"options": {
|
|
"valueOptions": {
|
|
"decimals": 1,
|
|
"unit": "percent"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"apiVersion": "v1",
|
|
"type": "prometheus",
|
|
"uid": "default-ds-uid"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Partial Gauge Panel",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"apiVersion": "v1",
|
|
"type": "prometheus",
|
|
"uid": "default-ds-uid"
|
|
},
|
|
"id": 3,
|
|
"options": {
|
|
"valueOptions": {
|
|
"decimals": 0,
|
|
"stat": "avg",
|
|
"unit": "bytes"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"apiVersion": "v1",
|
|
"type": "prometheus",
|
|
"uid": "default-ds-uid"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Buggy Gauge Panel",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"apiVersion": "v1",
|
|
"type": "prometheus",
|
|
"uid": "default-ds-uid"
|
|
},
|
|
"id": 4,
|
|
"options": {
|
|
"anotherProp": 42,
|
|
"customProperty": "customValue",
|
|
"thresholds": [
|
|
{
|
|
"color": "blue",
|
|
"value": 10
|
|
}
|
|
],
|
|
"valueOptions": {
|
|
"unit": "short"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"apiVersion": "v1",
|
|
"type": "prometheus",
|
|
"uid": "default-ds-uid"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Custom Properties Gauge Panel",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"apiVersion": "v1",
|
|
"type": "prometheus",
|
|
"uid": "default-ds-uid"
|
|
},
|
|
"id": 5,
|
|
"options": {
|
|
"legend": {
|
|
"show": true,
|
|
"showLegend": true
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"apiVersion": "v1",
|
|
"type": "prometheus",
|
|
"uid": "default-ds-uid"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Non-Gauge Panel",
|
|
"type": "graph"
|
|
}
|
|
],
|
|
"refresh": "",
|
|
"schemaVersion": 42,
|
|
"title": "V18 Gauge Options Migration Test Dashboard"
|
|
} |