Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
add render requests proxying dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Dieterbe committed Mar 24, 2017
1 parent 1b2fb61 commit c5cc8bc
Showing 1 changed file with 242 additions and 0 deletions.
242 changes: 242 additions & 0 deletions docker/extra/dashboards/dashboard-render-requests-proxying.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,242 @@
{
"__inputs": [
{
"name": "DS_MT-DIRECT",
"label": "mt-direct",
"description": "",
"type": "datasource",
"pluginId": "graphite",
"pluginName": "Graphite"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "4.2.0"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "graphite",
"name": "Graphite",
"version": "1.0.0"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": []
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false,
"id": null,
"links": [],
"refresh": false,
"rows": [
{
"collapse": false,
"height": "250px",
"panels": [
{
"aliasColors": {
"proxied-reqs": "#E0752D",
"total-reqs": "#64B0C8"
},
"bars": false,
"datasource": "${DS_MT-DIRECT}",
"fill": 10,
"id": 1,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "total",
"yaxis": 2
},
{
"alias": "proxied-reqs",
"yaxis": 2,
"zindex": 1
},
{
"alias": "total-reqs",
"yaxis": 2
}
],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"refId": "A",
"target": "alias(perSecond(metrictank.stats.docker-env.default.api.request.render.proxied.counter32), 'proxied-reqs')"
},
{
"refId": "C",
"target": "alias(metrictank.stats.docker-env.default.api.request.render.values.count32, 'total-reqs')"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "render requests",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"columns": [
{
"text": "Total",
"value": "total"
}
],
"datasource": "${DS_MT-DIRECT}",
"filterNull": false,
"fontSize": "100%",
"id": 2,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"span": 6,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"refId": "A",
"target": "aliasByNode(perSecond(metrictank.stats.docker-env.default.api.request.render.proxy-due-to.*.counter32), 8)",
"textEditor": false
}
],
"title": "render requests proxied due to",
"transform": "timeseries_aggregations",
"type": "table"
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": false,
"title": "Dashboard Row",
"titleSize": "h6"
}
],
"schemaVersion": 14,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-5m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "render request proxying",
"version": 0
}

0 comments on commit c5cc8bc

Please sign in to comment.