Packages

Library for interacting with the Grafana API in Elixir

Current section

Files

Jump to
grafana priv mock api dashboards db.json
Raw

priv/mock/api/dashboards/db.json

{
"meta":{
"version":0,
"updatedBy":"admin",
"updated":"2016-04-20T13:27:35-04:00",
"type":"db",
"slug":"worldping-endpoint-dns",
"expires":"0001-01-01T00:00:00Z",
"createdBy":"admin",
"created":"2016-04-20T13:27:35-04:00",
"canStar":true,
"canSave":true,
"canEdit":true
},
"dashboard":{
"version":0,
"title":"worldPing Endpoint: |--- DNS",
"timezone":"browser",
"timepicker":{
"type":"timepicker",
"time_options":["5m","15m","1h","3h","6h","12h","24h","2d","7d","30d"],
"status":"Stable",
"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],
"nowDelay":"1m",
"now":true,
"notice":false,
"enable":true,
"collapse":false
},
"time":{
"to":"now-1m",
"from":"now-3h"
},
"templating":{
"list":[{
"type":"query",
"refresh_on_load":true,
"refresh":true,
"query":"litmus.*",
"options":[],
"name":"endpoint",
"multiFormat":"glob",
"multi":false,
"label":"Endpoint",
"includeAll":false,
"datasource":"raintank",
"current":{},
"allFormat":"glob"
},
{
"useTags":true,
"type":"query",
"tagsQuery":"raintank_db.tags.collectors.*",
"tags":["AsiaPac","EMEA","USA"],
"tagValuesQuery":"raintank_db.tags.collectors.$tag",
"refresh_on_load":true,
"refresh":true,
"query":"litmus.$endpoint.*",
"options":[{
"value":"$__all",
"text":"All",
"selected":true
}],
"name":"probe",
"multiFormat":"glob",
"multi":true,
"label":"Probe(s)",
"includeAll":true,
"datasource":"raintank",
"current":{
"value":"$__all",
"text":"All",
"selected":true
},
"allFormat":"glob"
},
{
"type":"custom",
"refresh_on_load":false,
"query":"100,99.9,99.5,99,95,50",
"options":[{
"value":"100",
"text":"100",
"selected":true
},
{
"value":"99.9",
"text":"99.9",
"selected":false
},
{
"value":"99.5",
"text":"99.5","selected":false
},
{
"value":"99",
"text":"99",
"selected":false
},
{
"value":"95",
"text":"95",
"selected":false
},
{
"value":"50",
"text":"50",
"selected":false
}],
"name":"outliers",
"multiFormat":"glob",
"multi":false,
"label":"Outliers",
"includeAll":false,
"datasource":"raintank",
"current":{
"value":"100",
"text":"100"
},
"allFormat":"glob"
}]
},
"tags":["worldPing","Endpoints"],
"style":"dark",
"sharedCrosshair":true,
"schemaVersion":7,
"rows":[{
"title":"nav",
"panels":[{
"type":"worldping-endpoint-nav",
"transparent":true,
"title":"",
"span":12,
"links":[],
"isNew":true,
"id":596,
"error":false,
"editable":true
}],
"height":"25px",
"editable":true,
"collapse":false
},
{
"title":"ping status for $endpoint (all selected Probes)",
"showTitle":false,
"panels":[{
"valueName":"current",
"valueMaps":[{
"value":"1",
"text":"OK",
"op":"="
},
{
"value":"0",
"text":"ERROR",
"op":"="
}],
"valueFontSize":"80%",
"type":"singlestat",
"transparent":false,
"title":"DNS HEALTH (LAST)",
"thresholds":"0,1,1",
"targets":[{
"target":"averageSeries(health.$endpoint.dns.ok_state)",
"refId":"A"
}],
"sparkline":{
"show":false,
"lineColor":"rgb(110, 208, 224)",
"full":false,
"fillColor":"rgba(255, 255, 255, 0)"
},
"span":3,
"prefixFontSize":"50%",
"prefix":"",
"postfixFontSize":"50%",
"postfix":"",
"nullText":null,
"nullPointMode":"connected",
"maxDataPoints":"100",
"links":[],
"interval":null,
"id":590,
"format":"none",
"error":false,
"editable":true,
"datasource":"raintank",
"colors":["rgba(139, 139, 139, 1)","rgba(139, 139, 139, 1)","rgba(63, 104, 51, 1)"],
"colorValue":true,
"colorBackground":false,
"cacheTimeout":null
},
{
"valueName":"avg",
"valueMaps":[{
"value":"null",
"text":"N/A",
"op":"="
}],
"valueFontSize":"80%",
"type":"singlestat",
"transparent":false,
"title":"DNS UPTIME",
"thresholds":"0,100,100",
"targets":[{
"target":"scale(averageSeries(litmus.$endpoint.$probe.dns.ok_state), 100)",
"refId":"A"
}],
"sparkline":{
"show":false,
"lineColor":"rgb(110, 208, 224)",
"full":false,
"fillColor":"rgba(255, 255, 255, 0)"
},
"span":3,
"prefixFontSize":"50%",
"prefix":"",
"postfixFontSize":"50%",
"postfix":"",
"nullText":null,
"nullPointMode":"connected",
"maxDataPoints":"100",
"links":[],
"interval":null,
"id":593,
"format":"percent",
"error":false,
"editable":true,
"decimals":2,
"datasource":"raintank",
"colors":["rgba(139, 139, 139, 1)","rgba(139, 139, 139, 1)","rgba(63, 104, 51, 1)"],
"colorValue":true,
"colorBackground":false,
"cacheTimeout":null
},
{
"valueName":"avg",
"valueMaps":[{
"value":"null",
"text":"N/A",
"op":"="
}],
"valueFontSize":"80%",
"type":"singlestat",
"title":"DNS ANSWERS",
"thresholds":"",
"targets":[{
"target":"averageSeries(litmus.$endpoint.$probe.dns.answers)",
"refId":"A"
}],
"sparkline":{
"show":true,
"lineColor":"rgb(110, 208, 224)",
"full":false,
"fillColor":"rgba(255, 255, 255, 0)"
},
"span":3,
"prefixFontSize":"50%",
"prefix":"",
"postfixFontSize":"50%",
"postfix":"",
"nullText":null,
"nullPointMode":"connected",
"maxDataPoints":100,
"links":[],
"interval":null,
"id":592,
"format":"none",
"error":false,
"editable":true,
"datasource":"raintank",
"colors":["rgba(139, 139, 139, 1)","rgba(139, 139, 139, 1)","rgba(63, 104, 51, 1)"],
"colorValue":false,
"colorBackground":false,
"cacheTimeout":null
},
{
"valueName":"avg",
"valueMaps":[{
"value":"null",
"text":"N/A",
"op":"="
}],
"valueFontSize":"80%",
"type":"singlestat",
"title":"DNS LATENCY",
"thresholds":"",
"targets":[{
"target":"averageSeries(litmus.$endpoint.$probe.dns.time)",
"refId":"A"
}],
"sparkline":{
"show":true,
"lineColor":"rgb(110, 208, 224)",
"full":false,
"fillColor":"rgba(255, 255, 255, 0)"
},
"span":3,
"prefixFontSize":"50%",
"prefix":"",
"postfixFontSize":"50%",
"postfix":"",
"nullText":null,
"nullPointMode":"connected",
"maxDataPoints":100,
"links":[],
"interval":null,
"id":591,
"format":"ms",
"error":false,
"editable":true,
"decimals":2,
"datasource":"raintank",
"colors":["rgba(139, 139, 139, 1)","rgba(139, 139, 139, 1)","rgba(63, 104, 51, 1)"],
"colorValue":false,
"colorBackground":false,
"cacheTimeout":null
}],
"height":"125px",
"editable":true,
"collapse":false
},
{
"title":"New row",
"panels":[{
"y_formats":["short","short"],
"error":false,
"x-axis":true,
"legend":{
"values":true,
"total":true,
"show":true,
"rightSide":true,
"min":false,
"max":false,
"hideEmpty":true,
"current":true,
"avg":false,
"alignAsTable":true
},
"percentage":false,
"maxDataPoints":"120",
"y-axis":false,
"lines":false,
"linewidth":2,
"seriesOverrides":[{
"color":"#E24D42",
"alias":"//"
},
{
"color":"#629E51",
"alias":"OKs"
}],
"renderer":"flot",
"tooltip":{
"value_type":"individual",
"shared":true
},
"fill":1,
"editable":true,
"leftYAxisLabel":"Errors",
"grid":{
"threshold2Color":"rgba(234, 112, 112, 0.22)",
"threshold2":null,
"threshold1Color":"rgba(56, 149, 0, 0.27)",
"threshold1":null,
"rightMin":null,
"rightMax":null,
"rightLogBase":1,
"leftMin":0,
"leftMax":null,
"leftLogBase":1
},
"timeShift":null,
"transparent":true,
"links":[{
"type":"dashboard",
"title":"worldPing: Events",
"params":"var-monitor_type=dns",
"keepTime":true,
"includeVars":true,
"dashboard":"worldPing: Events",
"dashUri":"db/worldping-events"
}],
"steppedLine":false,
"height":"125",
"aliasColors":{
"ok":"#508642",
"error":"#E24D42"
},
"pointradius":5,
"timeFrom":null,
"type":"graph",
"span":12,
"scopedVars":{},
"id":586,
"bars":true,
"datasource":"raintank",
"targets":[{
"target":"aliasByNode(removeBelowValue(consolidateBy(litmus.$endpoint.$probe.dns.error_state, 'sum'), 1), 2)",
"refId":"A"
}],
"nullPointMode":"null",
"points":false,
"title":"DNS ERRORS (ALL SELECTED PROBES)",
"stack":true
}],
"height":"125",
"editable":true,
"collapse":false
},
{
"title":"ping performance for $endpoint (mean of each selected Probe)",
"showTitle":false,
"panels":[{
"y_formats":["ms","short"],
"error":false,
"x-axis":true,
"legend":{
"values":true,
"total":false,
"sortDesc":true,
"sort":"current",
"show":true,
"rightSide":true,
"min":false,
"max":false,
"current":true,
"avg":true,
"alignAsTable":true
},
"percentage":false,
"maxDataPoints":"",
"y-axis":true,
"lines":false,
"linewidth":2,
"seriesOverrides":[],
"renderer":"flot",
"tooltip":{
"value_type":"individual",
"shared":true
},
"fill":0,
"editable":true,
"leftYAxisLabel":"latency",
"grid":{
"threshold2Color":"rgba(234, 112, 112, 0.22)",
"threshold2":null,
"threshold1Color":"rgba(216, 200, 27, 0.27)",
"threshold1":null,
"rightMin":null,
"rightMax":null,
"rightLogBase":1,
"leftMin":0,
"leftMax":null,
"leftLogBase":1
},
"timeShift":null,
"links":[],
"steppedLine":false,
"height":"600",
"aliasColors":{
"wait":"#EAB839",
"send":"#508642",
"recv":"#6ED0E0",
"dns":"#890F02",
"connect":"#0A50A1"
},
"pointradius":1,
"timeFrom":null,
"type":"graph",
"span":12,
"id":589,
"decimals":1,
"bars":false,
"datasource":"raintank",
"targets":[{
"textEditor":false,
"target":"aliasByNode(removeAbovePercentile(litmus.$endpoint.$probe.dns.time, $outliers), 2)",
"refId":"A",
"hide":false
}],
"nullPointMode":"null",
"points":true,
"title":"DNS PERFORMANCE (EACH INDIVIDUAL PROBE)",
"stack":false
}],
"height":"250px",
"editable":true,
"collapse":false
}],
"refresh":false,
"originalTitle":"worldPing Endpoint: |--- DNS",
"links":[{
"type":"dashboards",
"title":"Endpoint Dashboards",
"tags":["Endpoints"],
"keepTime":true,
"includeVars":true,
"icon":"external link",
"asDropdown":true
}],
"id":6,
"hideControls":true,
"editable":true,
"annotations":{
"list":[]
}
}
}