Skip to content

Instantly share code, notes, and snippets.

@vicenteg
Last active August 29, 2015 14:13
Show Gist options
  • Save vicenteg/f62e6e8a480133d031a3 to your computer and use it in GitHub Desktop.
Save vicenteg/f62e6e8a480133d031a3 to your computer and use it in GitHub Desktop.
Grafana dashboard for Node metrics - OpenTSDB backend
{
"id": null,
"title": "MapR Node Metrics",
"originalTitle": "MapR Node Metrics",
"tags": [],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"sharedCrosshair": false,
"rows": [
{
"title": "Row1",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"title": "Disk Throughput",
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"id": 1,
"datasource": null,
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bytes",
"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)"
},
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"percentage": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": false
},
"targets": [
{
"errors": {},
"aggregator": "sum",
"downsampleAggregator": "sum",
"metric": "mapr.disks.READBYTES",
"shouldComputeRate": true
},
{
"errors": {},
"aggregator": "sum",
"downsampleAggregator": "sum",
"metric": "mapr.disks.WRITEBYTES",
"shouldComputeRate": true
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
},
{
"title": "Disk Ops",
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"id": 2,
"datasource": null,
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"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)"
},
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"percentage": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": false
},
"targets": [
{
"errors": {},
"aggregator": "sum",
"downsampleAggregator": "sum",
"metric": "mapr.disks.READOPS",
"shouldComputeRate": true
},
{
"errors": {},
"aggregator": "sum",
"downsampleAggregator": "sum",
"metric": "mapr.disks.WRITEOPS",
"shouldComputeRate": true
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
}
]
},
{
"title": "New row",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"title": "Network Throughput",
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"id": 3,
"datasource": null,
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bytes",
"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)"
},
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"percentage": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": false
},
"targets": [
{
"errors": {},
"aggregator": "sum",
"downsampleAggregator": "sum",
"metric": "mapr.network.BYTESIN",
"shouldComputeRate": true
},
{
"errors": {},
"aggregator": "sum",
"downsampleAggregator": "sum",
"metric": "mapr.network.BYTESOUT",
"shouldComputeRate": true
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
},
{
"title": "Network Packets",
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"id": 4,
"datasource": null,
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"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)"
},
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"percentage": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": false
},
"targets": [
{
"errors": {},
"aggregator": "sum",
"downsampleAggregator": "sum",
"metric": "mapr.network.PKTSIN",
"shouldComputeRate": true
},
{
"target": "",
"errors": {},
"aggregator": "sum",
"downsampleAggregator": "sum",
"metric": "mapr.network.PKTSOUT",
"shouldComputeRate": true
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
}
]
},
{
"title": "New row",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"title": "RPCs",
"error": false,
"span": 4,
"editable": true,
"type": "graph",
"id": 5,
"datasource": null,
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bytes",
"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)"
},
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"percentage": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": false
},
"targets": [
{
"errors": {},
"aggregator": "sum",
"downsampleAggregator": "sum",
"metric": "mapr.rpc.count",
"shouldComputeRate": false
},
{
"target": "",
"errors": {},
"aggregator": "sum",
"downsampleAggregator": "sum",
"metric": "mapr.rpc.inbytes",
"shouldComputeRate": false
},
{
"target": "",
"errors": {},
"aggregator": "sum",
"downsampleAggregator": "sum",
"metric": "mapr.rpc.outbytes",
"shouldComputeRate": false
}
],
"aliasColors": {},
"seriesOverrides": [
{
"alias": "mapr.rpc.count",
"yaxis": 2
},
{
"alias": "mapr.rpc.inbytes",
"fill": 3
},
{
"alias": "mapr.rpc.outbytes",
"fill": 3
}
],
"links": []
},
{
"title": "Storage Capacity",
"error": false,
"span": 4,
"editable": true,
"type": "graph",
"id": 6,
"datasource": null,
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bytes",
"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)"
},
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": true,
"percentage": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": false
},
"targets": [
{
"target": "",
"errors": {},
"aggregator": "sum",
"downsampleAggregator": "sum",
"metric": "mapr.mfs.available"
},
{
"target": "",
"errors": {},
"aggregator": "sum",
"downsampleAggregator": "sum",
"metric": "mapr.mfs.available"
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
},
{
"title": "Memory Usage",
"error": false,
"span": 4,
"editable": true,
"type": "graph",
"id": 7,
"datasource": null,
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bytes",
"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)"
},
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"percentage": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": false
},
"targets": [
{
"errors": {},
"aggregator": "sum",
"downsampleAggregator": "sum",
"metric": "mapr.memory.used"
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
}
]
}
],
"nav": [
{
"type": "timepicker",
"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,
"collapse": false,
"notice": false
}
],
"time": {
"from": "now-6h",
"to": "now"
},
"templating": {
"list": []
},
"annotations": {
"list": []
},
"refresh": "10s",
"version": 6,
"hideAllLegends": false
}
# tsdb mkmetric mapr.disks.READBYTES mapr.disks.WRITEOPS mapr.disks.WRITEBYTES mapr.disks.READOPS mapr.disks.READBYTES mapr.disks.WRITEOPS mapr.disks.WRITEBYTES mapr.disks.READOPS mapr.disks.READBYTES mapr.disks.WRITEOPS mapr.disks.WRITEBYTES mapr.disks.READOPS mapr.cpus.CPUTOTAL mapr.cpus.CPUIDLE mapr.cpus.CPUIOWAIT mapr.cpus.CPUTOTAL mapr.cpus.CPUIDLE mapr.cpus.CPUIOWAIT mapr.cpus.CPUTOTAL mapr.cpus.CPUIDLE mapr.cpus.CPUIOWAIT mapr.cpus.CPUTOTAL mapr.cpus.CPUIDLE mapr.cpus.CPUIOWAIT mapr.cpus.CPUTOTAL mapr.cpus.CPUIDLE mapr.cpus.CPUIOWAIT mapr.cpus.CPUTOTAL mapr.cpus.CPUIDLE mapr.cpus.CPUIOWAIT mapr.cpus.CPUTOTAL mapr.cpus.CPUIDLE mapr.cpus.CPUIOWAIT mapr.cpus.CPUTOTAL mapr.cpus.CPUIDLE mapr.cpus.CPUIOWAIT mapr.network.PKTSOUT mapr.network.BYTESOUT mapr.network.PKTSIN mapr.network.BYTESIN mapr.memory.used mapr.mfs.available mapr.mfs.used mapr.rpc.count mapr.rpc.inbytes mapr.rpc.outbytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment