Skip to content

Instantly share code, notes, and snippets.

@justindag
Last active October 31, 2015 17:30
Show Gist options
  • Select an option

  • Save justindag/7b7c5eede3d36bf54a7b to your computer and use it in GitHub Desktop.

Select an option

Save justindag/7b7c5eede3d36bf54a7b to your computer and use it in GitHub Desktop.
Grafana Go Runtime Stats Panel
{
"title": "Runtime Memory Stats",
"error": false,
"span": 5,
"editable": true,
"type": "graph",
"id": 8,
"datasource": null,
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bytes",
"none"
],
"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)"
},
"lines": true,
"fill": 2,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": true,
"percentage": false,
"legend": {
"show": true,
"values": true,
"min": true,
"max": true,
"current": true,
"total": false,
"avg": true,
"alignAsTable": true
},
"nullPointMode": "null as zero",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": false
},
"targets": [
{
"target": "alias(stats.counters.seekr.runtime.heap.count, \"Heap\")"
},
{
"target": "alias(stats.counters.seekr.runtime.stackinuse.count, \"Stack In Use\")"
},
{
"target": "alias(stats.counters.seekr.runtime.heapinuse.count, \"Heap In Use\")"
},
{
"target": "alias(stats.counters.seekr.runtime.memallocated.count, \"Memory Allocated\")"
},
{
"target": "alias(stats.counters.seekr.runtime.mallocs.count, \"Mallocs\")",
"hide": true
},
{
"target": "alias(stats.counters.seekr.runtime.frees.count, \"Frees\")",
"hide": true
},
{
"target": "alias(stats.counters.seekr.runtime.system.count, 'System')"
}
],
"aliasColors": {
"stats.counters.seekr.runtime.frees.count": "#EA6460",
"stats.counters.seekr.runtime.stackinuse.count": "#3F2B5B",
"stats.counters.seekr.runtime.heapinuse.count": "#FCEACA",
"Stack In Use": "#DEDAF7",
"Memory Allocated": "#E24D42",
"Heap In Use": "#F9BA8F",
"Heap": "#9AC48A",
"System": "#6D1F62"
},
"seriesOverrides": [],
"links": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment