Skip to content

Instantly share code, notes, and snippets.

@addshore
Created September 4, 2015 10:23
Show Gist options
  • Save addshore/126d0b284def37c6ce65 to your computer and use it in GitHub Desktop.
Save addshore/126d0b284def37c6ce65 to your computer and use it in GitHub Desktop.
Grafana Xhprof General Dashboard
{
"id": null,
"title": "Xhprof General",
"originalTitle": "Xhprof General",
"tags": [
"API"
],
"style": "dark",
"timezone": "utc",
"editable": true,
"hideControls": false,
"sharedCrosshair": true,
"rows": [
{
"title": "xhprof $class $method",
"height": "350px",
"editable": true,
"collapse": false,
"panels": [
{
"id": 13,
"span": 12,
"type": "graph",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_formats": [
"short",
"short"
],
"grid": {
"max": null,
"min": null,
"leftMax": null,
"rightMax": null,
"leftMin": 0,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)",
"thresholdLine": false
},
"resolution": 100,
"lines": true,
"fill": 0,
"linewidth": 2,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"spyable": true,
"options": false,
"legend": {
"show": true,
"values": true,
"min": false,
"max": true,
"current": false,
"total": true,
"avg": true,
"hideEmpty": true,
"alignAsTable": true
},
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": true,
"zerofill": true,
"nullPointMode": "null",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true,
"shared": false
},
"targets": [
{
"target": "aliasByNode(sortByMaxima(MediaWiki.xhprof.$class.$method.$what.$value), 2, 3, 4, 5)",
"hide": false
}
],
"aliasColors": {},
"aliasYAxis": {},
"title": "",
"datasource": "graphite",
"renderer": "flot",
"annotate": {
"enable": false
},
"seriesOverrides": [],
"leftYAxisLabel": "",
"height": "",
"timeFrom": null,
"timeShift": null,
"links": []
}
],
"showTitle": true
}
],
"nav": [
{
"type": "timepicker",
"collapse": false,
"enable": true,
"status": "Stable",
"time_options": [
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d",
"6M"
],
"refresh_intervals": [
"1m",
"5m",
"15m",
"30m",
"1h="
],
"now": true,
"notice": false,
"nowDelay": ""
}
],
"time": {
"from": "now-30d",
"to": "now"
},
"templating": {
"list": [
{
"type": "query",
"datasource": "graphite",
"refresh_on_load": false,
"name": "class",
"options": [],
"includeAll": true,
"allFormat": "wildcard",
"refresh": true,
"query": "MediaWiki.xhprof.{Wikibase,Wikidata}*",
"current": {
"text": "",
"value": ""
}
},
{
"type": "query",
"datasource": "graphite",
"refresh_on_load": false,
"name": "method",
"options": [],
"includeAll": true,
"allFormat": "wildcard",
"refresh": true,
"query": "MediaWiki.xhprof.$class.*",
"current": {
"text": "",
"value": ""
}
},
{
"type": "query",
"datasource": "graphite",
"refresh_on_load": false,
"name": "what",
"options": [],
"includeAll": true,
"allFormat": "wildcard",
"refresh": true,
"query": "MediaWiki.xhprof.$class.$method.*",
"current": {
"text": "null",
"value": "null"
}
},
{
"type": "query",
"datasource": "graphite",
"refresh_on_load": false,
"name": "value",
"options": [],
"includeAll": true,
"allFormat": "wildcard",
"refresh": true,
"query": "MediaWiki.xhprof.$class.$method.$what.*",
"current": {
"text": "null",
"value": "null"
}
}
],
"enable": true
},
"annotations": {
"list": [
{
"name": "Show deployments",
"datasource": "graphite",
"showLine": true,
"iconColor": "rgba(203, 244, 238, 0.82)",
"lineColor": "rgba(31, 134, 168, 0.59)",
"iconSize": 9,
"enable": false,
"target": "exclude(aliasByNode(deploy.*.count,-2),\"all\")"
}
],
"enable": true
},
"refresh": "1m",
"version": 6,
"hideAllLegends": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment