Skip to content

Instantly share code, notes, and snippets.

@km09
Created December 23, 2018 16:22
Show Gist options
  • Save km09/1fd2ea579e6432a3194561fbfcfcc132 to your computer and use it in GitHub Desktop.
Save km09/1fd2ea579e6432a3194561fbfcfcc132 to your computer and use it in GitHub Desktop.
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#bf1b00",
"#bf1b00",
"#299c46"
],
"datasource": "telegraf",
"decimals": 2,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 15,
"y": 3
},
"id": 18,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"groupBy": [],
"measurement": "ticker",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"sp500"
],
"type": "field"
}
]
],
"tags": []
}
],
"thresholds": "-9001,0",
"title": "S&P 500 (VUSA)",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "API ERR",
"value": "-9001"
}
],
"valueName": "current"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment