Skip to content

Instantly share code, notes, and snippets.

@bbangert
Created November 14, 2014 00:02
Show Gist options
  • Save bbangert/394eda539d441687af49 to your computer and use it in GitHub Desktop.
Save bbangert/394eda539d441687af49 to your computer and use it in GitHub Desktop.
pushgo grafana dashboard json
{
"id": null,
"title": "Grafana",
"originalTitle": "Grafana",
"tags": [],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"rows": [
{
"title": "test",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"id": 4,
"span": 6,
"type": "graph",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_formats": [
"bytes",
"short"
],
"grid": {
"max": null,
"min": null,
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"resolution": 100,
"lines": true,
"fill": 1,
"linewidth": 2,
"points": false,
"pointradius": 5,
"bars": false,
"stack": true,
"spyable": true,
"options": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": true,
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"targets": [
{
"target": "randomWalk('random walk')",
"function": "max",
"column": "memory_usage",
"series": "stats",
"query": "select max(memory_usage) from \"stats\" where $timeFilter and container_name =~ /^\\/docker/ group by time($interval) order asc",
"interval": "1s",
"condition": "container_name =~ /^\\/docker/",
"groupby_field": ""
}
],
"aliasColors": {},
"aliasYAxis": {},
"title": "Memory Usage",
"datasource": "graphite",
"renderer": "flot",
"annotate": {
"enable": false
},
"seriesOverrides": []
},
{
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"id": 5,
"datasource": null,
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_formats": [
"ns",
"short"
],
"grid": {
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"annotate": {
"enable": false
},
"resolution": 100,
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"percentage": false,
"zerofill": true,
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"targets": [
{
"function": "mean",
"column": "cpu_cumulative_usage",
"series": "stats",
"query": "select mean(cpu_cumulative_usage) from \"stats\" where $timeFilter group by time($interval) order asc",
"interval": "5s"
}
],
"aliasColors": {},
"seriesOverrides": [],
"title": "CPU"
}
]
},
{
"title": "New row",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"id": 6,
"datasource": null,
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_formats": [
"short",
"short"
],
"grid": {
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"annotate": {
"enable": false
},
"resolution": 100,
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"percentage": false,
"zerofill": true,
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"targets": [
{
"function": "max",
"column": "value",
"series": "stats.gauges.pushgo.update.client.connections",
"query": "select max(value) from \"stats.gauges.pushgo.update.client.connections\" where $timeFilter group by time($interval) order asc",
"interval": "1s"
}
],
"aliasColors": {},
"seriesOverrides": [],
"title": "Connection Count"
},
{
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"id": 7,
"datasource": null,
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_formats": [
"short",
"short"
],
"grid": {
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"annotate": {
"enable": false
},
"resolution": 100,
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"percentage": false,
"zerofill": true,
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"targets": [
{
"function": "mean",
"column": "value",
"series": "stats.counters.pushgo.updates.appserver.received.count",
"query": "select mean(value) from \"stats.counters.pushgo.updates.appserver.received.count\" where $timeFilter group by time($interval) order asc",
"alias": "incoming"
}
],
"aliasColors": {},
"seriesOverrides": [],
"title": "Notification Count"
}
]
},
{
"title": "New row",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"error": false,
"span": 12,
"editable": true,
"type": "graph",
"id": 8,
"datasource": null,
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_formats": [
"short",
"short"
],
"grid": {
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"annotate": {
"enable": false
},
"resolution": 100,
"lines": true,
"fill": 3,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"percentage": false,
"zerofill": true,
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"targets": [
{
"function": "sum",
"column": "value",
"series": "stats.counters.pushgo.updates.client.hello.count",
"query": "select sum(value) from \"stats.counters.pushgo.updates.client.hello.count\" where $timeFilter group by time($interval) order asc",
"alias": "hello"
},
{
"target": "",
"function": "sum",
"column": "value",
"series": "stats.counters.pushgo.updates.client.ping.count",
"query": "select sum(value) from \"stats.counters.pushgo.updates.client.ping.count\" where $timeFilter group by time($interval) order asc",
"alias": "ping"
},
{
"target": "",
"function": "mean",
"column": "value",
"series": "stats.counters.pushgo.updates.client.register.count",
"query": "select mean(value) from \"stats.counters.pushgo.updates.client.register.count\" where $timeFilter group by time($interval) order asc",
"alias": "register"
}
],
"aliasColors": {},
"seriesOverrides": [],
"title": "Client Commands"
}
]
}
],
"nav": [
{
"type": "timepicker",
"collapse": false,
"enable": true,
"status": "Stable",
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
],
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"now": true,
"notice": false
}
],
"time": {
"from": "now-5m",
"to": "now"
},
"templating": {
"list": []
},
"annotations": {
"list": [],
"enable": false
},
"version": 6
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment