mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06:00
603 lines
13 KiB
JSON
603 lines
13 KiB
JSON
|
{
|
|||
|
"annotations": {
|
|||
|
"list": [
|
|||
|
{
|
|||
|
"builtIn": 1,
|
|||
|
"datasource": "-- Grafana --",
|
|||
|
"enable": true,
|
|||
|
"hide": true,
|
|||
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|||
|
"name": "Annotations & Alerts",
|
|||
|
"type": "dashboard"
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
"editable": true,
|
|||
|
"gnetId": null,
|
|||
|
"graphTooltip": 0,
|
|||
|
"links": [],
|
|||
|
"panels": [
|
|||
|
{
|
|||
|
"datasource": null,
|
|||
|
"gridPos": {
|
|||
|
"h": 1,
|
|||
|
"w": 24,
|
|||
|
"x": 0,
|
|||
|
"y": 0
|
|||
|
},
|
|||
|
"id": 7,
|
|||
|
"title": "Cell styles",
|
|||
|
"type": "row"
|
|||
|
},
|
|||
|
{
|
|||
|
"datasource": "gdev-testdata",
|
|||
|
"fieldConfig": {
|
|||
|
"defaults": {
|
|||
|
"custom": {
|
|||
|
"align": "center",
|
|||
|
"displayMode": "color-background"
|
|||
|
},
|
|||
|
"mappings": [],
|
|||
|
"thresholds": {
|
|||
|
"mode": "percentage",
|
|||
|
"steps": [
|
|||
|
{
|
|||
|
"color": "green",
|
|||
|
"value": null
|
|||
|
},
|
|||
|
{
|
|||
|
"color": "blue",
|
|||
|
"value": 20
|
|||
|
},
|
|||
|
{
|
|||
|
"color": "orange",
|
|||
|
"value": 60
|
|||
|
},
|
|||
|
{
|
|||
|
"color": "red",
|
|||
|
"value": 70
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
"unit": "degree"
|
|||
|
},
|
|||
|
"overrides": [
|
|||
|
{
|
|||
|
"matcher": {
|
|||
|
"id": "byName",
|
|||
|
"options": "Max"
|
|||
|
},
|
|||
|
"properties": [
|
|||
|
{
|
|||
|
"id": "custom.width",
|
|||
|
"value": 84
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"matcher": {
|
|||
|
"id": "byName",
|
|||
|
"options": "Last"
|
|||
|
},
|
|||
|
"properties": [
|
|||
|
{
|
|||
|
"id": "custom.width",
|
|||
|
"value": 78
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"matcher": {
|
|||
|
"id": "byName",
|
|||
|
"options": "Mean"
|
|||
|
},
|
|||
|
"properties": [
|
|||
|
{
|
|||
|
"id": "custom.width",
|
|||
|
"value": 74
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"matcher": {
|
|||
|
"id": "byName",
|
|||
|
"options": "Field"
|
|||
|
},
|
|||
|
"properties": [
|
|||
|
{
|
|||
|
"id": "custom.align",
|
|||
|
"value": "left"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
"gridPos": {
|
|||
|
"h": 16,
|
|||
|
"w": 7,
|
|||
|
"x": 0,
|
|||
|
"y": 1
|
|||
|
},
|
|||
|
"id": 4,
|
|||
|
"options": {
|
|||
|
"showHeader": true,
|
|||
|
"sortBy": [
|
|||
|
{
|
|||
|
"desc": true,
|
|||
|
"displayName": "Last"
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
"pluginVersion": "7.1.0-pre",
|
|||
|
"targets": [
|
|||
|
{
|
|||
|
"refId": "A",
|
|||
|
"scenarioId": "random_walk",
|
|||
|
"seriesCount": 15,
|
|||
|
"stringInput": ""
|
|||
|
}
|
|||
|
],
|
|||
|
"timeFrom": null,
|
|||
|
"timeShift": null,
|
|||
|
"title": "Colored background",
|
|||
|
"transformations": [
|
|||
|
{
|
|||
|
"id": "reduce",
|
|||
|
"options": {
|
|||
|
"reducers": ["max", "mean", "last"]
|
|||
|
}
|
|||
|
}
|
|||
|
],
|
|||
|
"type": "table"
|
|||
|
},
|
|||
|
{
|
|||
|
"datasource": "gdev-testdata",
|
|||
|
"fieldConfig": {
|
|||
|
"defaults": {
|
|||
|
"custom": {
|
|||
|
"align": null
|
|||
|
},
|
|||
|
"mappings": [],
|
|||
|
"thresholds": {
|
|||
|
"mode": "percentage",
|
|||
|
"steps": [
|
|||
|
{
|
|||
|
"color": "orange",
|
|||
|
"value": null
|
|||
|
},
|
|||
|
{
|
|||
|
"color": "red",
|
|||
|
"value": 50
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"overrides": [
|
|||
|
{
|
|||
|
"matcher": {
|
|||
|
"id": "byName",
|
|||
|
"options": "Value"
|
|||
|
},
|
|||
|
"properties": [
|
|||
|
{
|
|||
|
"id": "custom.displayMode",
|
|||
|
"value": "gradient-gauge"
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"matcher": {
|
|||
|
"id": "byName",
|
|||
|
"options": "Info"
|
|||
|
},
|
|||
|
"properties": [
|
|||
|
{
|
|||
|
"id": "custom.width",
|
|||
|
"value": 92
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"matcher": {
|
|||
|
"id": "byName",
|
|||
|
"options": "Min"
|
|||
|
},
|
|||
|
"properties": [
|
|||
|
{
|
|||
|
"id": "custom.width",
|
|||
|
"value": 76
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"matcher": {
|
|||
|
"id": "byName",
|
|||
|
"options": "Max"
|
|||
|
},
|
|||
|
"properties": [
|
|||
|
{
|
|||
|
"id": "custom.width",
|
|||
|
"value": 89
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"matcher": {
|
|||
|
"id": "byName",
|
|||
|
"options": "Time"
|
|||
|
},
|
|||
|
"properties": [
|
|||
|
{
|
|||
|
"id": "custom.width",
|
|||
|
"value": 165
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
"gridPos": {
|
|||
|
"h": 16,
|
|||
|
"w": 8,
|
|||
|
"x": 7,
|
|||
|
"y": 1
|
|||
|
},
|
|||
|
"id": 2,
|
|||
|
"options": {
|
|||
|
"showHeader": true,
|
|||
|
"sortBy": [
|
|||
|
{
|
|||
|
"desc": false,
|
|||
|
"displayName": "Min"
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
"pluginVersion": "7.1.0-pre",
|
|||
|
"targets": [
|
|||
|
{
|
|||
|
"refId": "A",
|
|||
|
"scenarioId": "random_walk_table",
|
|||
|
"stringInput": ""
|
|||
|
}
|
|||
|
],
|
|||
|
"timeFrom": null,
|
|||
|
"timeShift": null,
|
|||
|
"title": "Bar gauge cells",
|
|||
|
"transformations": [
|
|||
|
{
|
|||
|
"id": "organize",
|
|||
|
"options": {
|
|||
|
"excludeByName": {
|
|||
|
"Time": true
|
|||
|
},
|
|||
|
"indexByName": {
|
|||
|
"Info": 1,
|
|||
|
"Max": 3,
|
|||
|
"Min": 2,
|
|||
|
"Time": 0,
|
|||
|
"Value": 4
|
|||
|
},
|
|||
|
"renameByName": {}
|
|||
|
}
|
|||
|
}
|
|||
|
],
|
|||
|
"type": "table"
|
|||
|
},
|
|||
|
{
|
|||
|
"datasource": "gdev-testdata",
|
|||
|
"description": "",
|
|||
|
"fieldConfig": {
|
|||
|
"defaults": {
|
|||
|
"custom": {
|
|||
|
"align": null
|
|||
|
},
|
|||
|
"mappings": [],
|
|||
|
"thresholds": {
|
|||
|
"mode": "percentage",
|
|||
|
"steps": [
|
|||
|
{
|
|||
|
"color": "blue",
|
|||
|
"value": null
|
|||
|
},
|
|||
|
{
|
|||
|
"color": "green",
|
|||
|
"value": 50
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"overrides": [
|
|||
|
{
|
|||
|
"matcher": {
|
|||
|
"id": "byName",
|
|||
|
"options": "Value"
|
|||
|
},
|
|||
|
"properties": [
|
|||
|
{
|
|||
|
"id": "custom.displayMode",
|
|||
|
"value": "lcd-gauge"
|
|||
|
},
|
|||
|
{
|
|||
|
"id": "custom.align",
|
|||
|
"value": "center"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
"gridPos": {
|
|||
|
"h": 16,
|
|||
|
"w": 9,
|
|||
|
"x": 15,
|
|||
|
"y": 1
|
|||
|
},
|
|||
|
"id": 5,
|
|||
|
"options": {
|
|||
|
"showHeader": true,
|
|||
|
"sortBy": []
|
|||
|
},
|
|||
|
"pluginVersion": "7.1.0-pre",
|
|||
|
"targets": [
|
|||
|
{
|
|||
|
"refId": "A",
|
|||
|
"scenarioId": "random_walk_table",
|
|||
|
"stringInput": ""
|
|||
|
}
|
|||
|
],
|
|||
|
"timeFrom": null,
|
|||
|
"timeShift": null,
|
|||
|
"title": "Retro LCD cell",
|
|||
|
"transformations": [
|
|||
|
{
|
|||
|
"id": "organize",
|
|||
|
"options": {
|
|||
|
"excludeByName": {
|
|||
|
"Info": false,
|
|||
|
"Max": true,
|
|||
|
"Min": true,
|
|||
|
"Time": false
|
|||
|
},
|
|||
|
"indexByName": {
|
|||
|
"Info": 1,
|
|||
|
"Max": 3,
|
|||
|
"Min": 2,
|
|||
|
"Time": 0,
|
|||
|
"Value": 4
|
|||
|
},
|
|||
|
"renameByName": {}
|
|||
|
}
|
|||
|
}
|
|||
|
],
|
|||
|
"type": "table"
|
|||
|
},
|
|||
|
{
|
|||
|
"collapsed": false,
|
|||
|
"datasource": null,
|
|||
|
"gridPos": {
|
|||
|
"h": 1,
|
|||
|
"w": 24,
|
|||
|
"x": 0,
|
|||
|
"y": 17
|
|||
|
},
|
|||
|
"id": 9,
|
|||
|
"panels": [],
|
|||
|
"title": "Data links",
|
|||
|
"type": "row"
|
|||
|
},
|
|||
|
{
|
|||
|
"datasource": "gdev-testdata",
|
|||
|
"fieldConfig": {
|
|||
|
"defaults": {
|
|||
|
"custom": {
|
|||
|
"align": "center",
|
|||
|
"displayMode": "color-text"
|
|||
|
},
|
|||
|
"decimals": 2,
|
|||
|
"mappings": [],
|
|||
|
"thresholds": {
|
|||
|
"mode": "percentage",
|
|||
|
"steps": [
|
|||
|
{
|
|||
|
"color": "green",
|
|||
|
"value": null
|
|||
|
},
|
|||
|
{
|
|||
|
"color": "blue",
|
|||
|
"value": 20
|
|||
|
},
|
|||
|
{
|
|||
|
"color": "orange",
|
|||
|
"value": 50
|
|||
|
},
|
|||
|
{
|
|||
|
"color": "red",
|
|||
|
"value": 70
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
"unit": "percent"
|
|||
|
},
|
|||
|
"overrides": [
|
|||
|
{
|
|||
|
"matcher": {
|
|||
|
"id": "byName",
|
|||
|
"options": "Time"
|
|||
|
},
|
|||
|
"properties": [
|
|||
|
{
|
|||
|
"id": "custom.align",
|
|||
|
"value": null
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"matcher": {
|
|||
|
"id": "byName",
|
|||
|
"options": "{name=\"S1\", server=\"A\"}"
|
|||
|
},
|
|||
|
"properties": [
|
|||
|
{
|
|||
|
"id": "links",
|
|||
|
"value": [
|
|||
|
{
|
|||
|
"title": "Details",
|
|||
|
"url": "http://detail?serverLabel=${__field.labels.server}&valueNumeric=${__value.numeric}"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
"gridPos": {
|
|||
|
"h": 8,
|
|||
|
"w": 12,
|
|||
|
"x": 0,
|
|||
|
"y": 18
|
|||
|
},
|
|||
|
"id": 3,
|
|||
|
"maxDataPoints": "10",
|
|||
|
"options": {
|
|||
|
"showHeader": true
|
|||
|
},
|
|||
|
"pluginVersion": "7.1.0-pre",
|
|||
|
"targets": [
|
|||
|
{
|
|||
|
"alias": "S1",
|
|||
|
"labels": "server=A",
|
|||
|
"refId": "A",
|
|||
|
"scenarioId": "random_walk",
|
|||
|
"seriesCount": 1,
|
|||
|
"stringInput": ""
|
|||
|
},
|
|||
|
{
|
|||
|
"alias": "S2",
|
|||
|
"labels": "server=B",
|
|||
|
"refId": "B",
|
|||
|
"scenarioId": "random_walk",
|
|||
|
"seriesCount": 1,
|
|||
|
"stringInput": ""
|
|||
|
},
|
|||
|
{
|
|||
|
"alias": "S3",
|
|||
|
"labels": "server=C",
|
|||
|
"refId": "C",
|
|||
|
"scenarioId": "random_walk",
|
|||
|
"seriesCount": 1,
|
|||
|
"stringInput": ""
|
|||
|
}
|
|||
|
],
|
|||
|
"timeFrom": null,
|
|||
|
"timeShift": null,
|
|||
|
"title": "Data link with labels and numeric value",
|
|||
|
"transformations": [
|
|||
|
{
|
|||
|
"id": "seriesToColumns",
|
|||
|
"options": {}
|
|||
|
}
|
|||
|
],
|
|||
|
"type": "table"
|
|||
|
},
|
|||
|
{
|
|||
|
"datasource": "gdev-testdata",
|
|||
|
"fieldConfig": {
|
|||
|
"defaults": {
|
|||
|
"custom": {
|
|||
|
"align": "center",
|
|||
|
"displayMode": "auto"
|
|||
|
},
|
|||
|
"mappings": [],
|
|||
|
"thresholds": {
|
|||
|
"mode": "percentage",
|
|||
|
"steps": [
|
|||
|
{
|
|||
|
"color": "green",
|
|||
|
"value": null
|
|||
|
},
|
|||
|
{
|
|||
|
"color": "blue",
|
|||
|
"value": 20
|
|||
|
},
|
|||
|
{
|
|||
|
"color": "orange",
|
|||
|
"value": 60
|
|||
|
},
|
|||
|
{
|
|||
|
"color": "red",
|
|||
|
"value": 70
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
"unit": "degree"
|
|||
|
},
|
|||
|
"overrides": []
|
|||
|
},
|
|||
|
"gridPos": {
|
|||
|
"h": 8,
|
|||
|
"w": 5,
|
|||
|
"x": 12,
|
|||
|
"y": 18
|
|||
|
},
|
|||
|
"id": 10,
|
|||
|
"options": {
|
|||
|
"showHeader": false,
|
|||
|
"sortBy": [
|
|||
|
{
|
|||
|
"desc": true,
|
|||
|
"displayName": "Last"
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
"pluginVersion": "7.1.0-pre",
|
|||
|
"targets": [
|
|||
|
{
|
|||
|
"refId": "A",
|
|||
|
"scenarioId": "random_walk_table",
|
|||
|
"seriesCount": 5,
|
|||
|
"stringInput": ""
|
|||
|
}
|
|||
|
],
|
|||
|
"timeFrom": null,
|
|||
|
"timeShift": null,
|
|||
|
"title": "No header",
|
|||
|
"transformations": [
|
|||
|
{
|
|||
|
"id": "organize",
|
|||
|
"options": {
|
|||
|
"excludeByName": {
|
|||
|
"Min": true,
|
|||
|
"Time": true,
|
|||
|
"Value": true
|
|||
|
},
|
|||
|
"indexByName": {
|
|||
|
"Info": 2,
|
|||
|
"Max": 4,
|
|||
|
"Min": 3,
|
|||
|
"Time": 0,
|
|||
|
"Value": 1
|
|||
|
},
|
|||
|
"renameByName": {}
|
|||
|
}
|
|||
|
}
|
|||
|
],
|
|||
|
"type": "table"
|
|||
|
}
|
|||
|
],
|
|||
|
"schemaVersion": 25,
|
|||
|
"style": "dark",
|
|||
|
"tags": ["gdev", "panel-tests"],
|
|||
|
"templating": {
|
|||
|
"list": []
|
|||
|
},
|
|||
|
"time": {
|
|||
|
"from": "now-6h",
|
|||
|
"to": "now"
|
|||
|
},
|
|||
|
"timepicker": {
|
|||
|
"refresh_intervals": ["10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"]
|
|||
|
},
|
|||
|
"timezone": "",
|
|||
|
"title": "Panel Tests - React Table",
|
|||
|
"uid": "U_bZIMRMk",
|
|||
|
"version": 17
|
|||
|
}
|