mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 00:41:08 +08:00
Graphite: Update dashboards (#107479)
This commit is contained in:
@ -1,36 +1,142 @@
|
|||||||
{
|
{
|
||||||
"__inputs": [
|
"__inputs": [
|
||||||
{
|
{
|
||||||
"name": "DS_NAME",
|
"name": "datasource",
|
||||||
|
"description": "",
|
||||||
"type": "datasource",
|
"type": "datasource",
|
||||||
"pluginId": "graphite"
|
"pluginId": "graphite",
|
||||||
|
"pluginName": "Graphite"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"__elements": {},
|
||||||
"revision": "1.0",
|
"__requires": [
|
||||||
"title": "Graphite Carbon Metrics",
|
{
|
||||||
"tags": ["graphite", "carbon"],
|
"type": "grafana",
|
||||||
"timezone": "browser",
|
"id": "grafana",
|
||||||
|
"name": "Grafana",
|
||||||
|
"version": "12.1.0-pre"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "datasource",
|
||||||
|
"id": "graphite",
|
||||||
|
"name": "Graphite",
|
||||||
|
"version": "1.0.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "panel",
|
||||||
|
"id": "timeseries",
|
||||||
|
"name": "Time series",
|
||||||
|
"version": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"annotations": {
|
||||||
|
"enable": false,
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"builtIn": 1,
|
||||||
|
"datasource": {
|
||||||
|
"type": "grafana",
|
||||||
|
"uid": "-- Grafana --"
|
||||||
|
},
|
||||||
|
"enable": true,
|
||||||
|
"hide": true,
|
||||||
|
"iconColor": "rgba(0, 211, 255, 1)",
|
||||||
|
"name": "Annotations & Alerts",
|
||||||
|
"type": "dashboard"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"gnetId": null,
|
"fiscalYearStartMonth": 0,
|
||||||
"graphTooltip": 0,
|
"graphTooltip": 0,
|
||||||
"id": null,
|
"id": null,
|
||||||
|
"links": [],
|
||||||
"panels": [
|
"panels": [
|
||||||
{
|
{
|
||||||
"aliasColors": {},
|
"datasource": {
|
||||||
"annotate": {
|
"type": "graphite",
|
||||||
"enable": false
|
"uid": "${datasource}"
|
||||||
},
|
},
|
||||||
"bars": false,
|
"fieldConfig": {
|
||||||
"dashLength": 10,
|
"defaults": {
|
||||||
"dashes": false,
|
"color": {
|
||||||
"datasource": "${DS_NAME}",
|
"mode": "palette-classic"
|
||||||
"editable": true,
|
},
|
||||||
"fill": 0,
|
"custom": {
|
||||||
"fillGradient": 0,
|
"axisBorderShow": false,
|
||||||
"grid": {
|
"axisCenteredZero": false,
|
||||||
"max": null,
|
"axisColorMode": "text",
|
||||||
"min": 0
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"barWidthFactor": 0.6,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 0,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false
|
||||||
|
},
|
||||||
|
"insertNulls": false,
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"unit": "short"
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"matcher": {
|
||||||
|
"id": "byName",
|
||||||
|
"options": "Points Per Update"
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"id": "custom.axisPlacement",
|
||||||
|
"value": "right"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matcher": {
|
||||||
|
"id": "byName",
|
||||||
|
"options": "CPU"
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"id": "custom.axisPlacement",
|
||||||
|
"value": "right"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 10,
|
"h": 10,
|
||||||
@ -38,111 +144,96 @@
|
|||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"hiddenSeries": false,
|
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"legend": {
|
|
||||||
"avg": false,
|
|
||||||
"current": false,
|
|
||||||
"max": false,
|
|
||||||
"min": false,
|
|
||||||
"show": true,
|
|
||||||
"total": false,
|
|
||||||
"values": false
|
|
||||||
},
|
|
||||||
"lines": true,
|
|
||||||
"linewidth": 1,
|
|
||||||
"loadingEditor": false,
|
|
||||||
"nullPointMode": "null as zero",
|
|
||||||
"options": {
|
"options": {
|
||||||
"dataLinks": []
|
"legend": {
|
||||||
},
|
"calcs": [],
|
||||||
"percentage": false,
|
"displayMode": "list",
|
||||||
"pointradius": 5,
|
"placement": "bottom",
|
||||||
"points": false,
|
"showLegend": true
|
||||||
"renderer": "flot",
|
|
||||||
"resolution": 100,
|
|
||||||
"scale": 1,
|
|
||||||
"seriesOverrides": [
|
|
||||||
{
|
|
||||||
"alias": "Points Per Update",
|
|
||||||
"yaxis": 2
|
|
||||||
},
|
},
|
||||||
{
|
"tooltip": {
|
||||||
"alias": "CPU",
|
"hideZeros": false,
|
||||||
"yaxis": 2
|
"mode": "single",
|
||||||
|
"sort": "none"
|
||||||
}
|
}
|
||||||
],
|
},
|
||||||
"spaceLength": 10,
|
|
||||||
"stack": false,
|
|
||||||
"steppedLine": false,
|
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "graphite",
|
||||||
|
"uid": "${datasource}"
|
||||||
|
},
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"target": "alias(sumSeries(carbon.agents.*.updateOperations),\"Updates\") "
|
"target": "alias(sumSeries(carbon.agents.*.updateOperations),\"Updates\") "
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "graphite",
|
||||||
|
"uid": "${datasource}"
|
||||||
|
},
|
||||||
"refId": "B",
|
"refId": "B",
|
||||||
"target": "alias(sumSeries(carbon.agents.*.metricsReceived),'Metrics Received')"
|
"target": "alias(sumSeries(carbon.agents.*.metricsReceived),'Metrics Received')"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "graphite",
|
||||||
|
"uid": "${datasource}"
|
||||||
|
},
|
||||||
"refId": "C",
|
"refId": "C",
|
||||||
"target": "alias(sumSeries(carbon.agents.*.committedPoints),'Committed Points')"
|
"target": "alias(sumSeries(carbon.agents.*.committedPoints),'Committed Points')"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "graphite",
|
||||||
|
"uid": "${datasource}"
|
||||||
|
},
|
||||||
"refId": "D",
|
"refId": "D",
|
||||||
"target": "alias(sumSeries(carbon.agents.*.pointsPerUpdate),'Points Per Update')"
|
"target": "alias(sumSeries(carbon.agents.*.pointsPerUpdate),'Points Per Update')"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "graphite",
|
||||||
|
"uid": "${datasource}"
|
||||||
|
},
|
||||||
"refId": "E",
|
"refId": "E",
|
||||||
"target": "alias(averageSeries(carbon.agents.*.cpuUsage),'CPU')"
|
"target": "alias(averageSeries(carbon.agents.*.cpuUsage),'CPU')"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "graphite",
|
||||||
|
"uid": "${datasource}"
|
||||||
|
},
|
||||||
"refId": "F",
|
"refId": "F",
|
||||||
"target": "alias(sumSeries(carbon.agents.*.creates),'Creates')"
|
"target": "alias(sumSeries(carbon.agents.*.creates),'Creates')"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": [],
|
|
||||||
"timeFrom": null,
|
|
||||||
"timeRegions": [],
|
|
||||||
"timeShift": null,
|
|
||||||
"title": "Graphite Carbon Metrics",
|
"title": "Graphite Carbon Metrics",
|
||||||
"tooltip": {
|
"type": "timeseries"
|
||||||
"query_as_alias": true,
|
|
||||||
"shared": false,
|
|
||||||
"sort": 0,
|
|
||||||
"value_type": "cumulative"
|
|
||||||
},
|
|
||||||
"type": "graph",
|
|
||||||
"xaxis": {
|
|
||||||
"buckets": null,
|
|
||||||
"mode": "time",
|
|
||||||
"name": null,
|
|
||||||
"show": true,
|
|
||||||
"values": []
|
|
||||||
},
|
|
||||||
"yaxes": [
|
|
||||||
{
|
|
||||||
"format": "short",
|
|
||||||
"logBase": 1,
|
|
||||||
"max": null,
|
|
||||||
"min": null,
|
|
||||||
"show": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"format": "short",
|
|
||||||
"logBase": 1,
|
|
||||||
"max": null,
|
|
||||||
"min": null,
|
|
||||||
"show": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"yaxis": {
|
|
||||||
"align": false,
|
|
||||||
"alignLevel": null
|
|
||||||
},
|
|
||||||
"zerofill": true
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"refresh": "",
|
||||||
|
"revision": "1.0",
|
||||||
|
"schemaVersion": 41,
|
||||||
|
"tags": ["graphite", "carbon"],
|
||||||
|
"templating": {
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"current": {},
|
||||||
|
"hide": 0,
|
||||||
|
"includeAll": false,
|
||||||
|
"label": "",
|
||||||
|
"multi": false,
|
||||||
|
"name": "datasource",
|
||||||
|
"options": [],
|
||||||
|
"query": "graphite",
|
||||||
|
"refresh": 1,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"type": "datasource"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"time": {
|
"time": {
|
||||||
"from": "now-3h",
|
"from": "now-3h",
|
||||||
"to": "now"
|
"to": "now"
|
||||||
@ -156,16 +247,9 @@
|
|||||||
"status": "Stable",
|
"status": "Stable",
|
||||||
"type": "timepicker"
|
"type": "timepicker"
|
||||||
},
|
},
|
||||||
"templating": {
|
"timezone": "browser",
|
||||||
"enable": false,
|
"title": "Graphite Carbon Metrics",
|
||||||
"list": []
|
"uid": "15e2000b-24f6-4831-8993-aea2b84f852b",
|
||||||
},
|
"version": 4,
|
||||||
"annotations": {
|
"weekStart": ""
|
||||||
"enable": false,
|
|
||||||
"list": []
|
|
||||||
},
|
|
||||||
"refresh": false,
|
|
||||||
"schemaVersion": 22,
|
|
||||||
"version": 3,
|
|
||||||
"links": []
|
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user