Skip to content

Instantly share code, notes, and snippets.

@thaibui
Last active December 17, 2017 01:17
Show Gist options
  • Save thaibui/ad4a55884442dc23a944ac85061fa127 to your computer and use it in GitHub Desktop.
Save thaibui/ad4a55884442dc23a944ac85061fa127 to your computer and use it in GitHub Desktop.
Ambari Grafana - Cluster Performance
{
"id": 45,
"title": "Cluster Performance",
"originalTitle": "Cluster Performance",
"tags": [],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"sharedCrosshair": false,
"rows": [
{
"collapse": false,
"editable": true,
"height": "300px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": null,
"decimals": 2,
"editable": true,
"error": false,
"fill": 2,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 2,
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"aggregator": "sum",
"alias": "Input",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "bytes_in",
"precision": "default",
"refId": "A",
"seriesAggregator": "none",
"transform": "none"
},
{
"aggregator": "sum",
"alias": "Output",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "bytes_out",
"precision": "default",
"refId": "B",
"seriesAggregator": "none",
"transform": "none"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Network IO",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bytes",
"short"
]
},
{
"aliasColors": {},
"bars": false,
"datasource": null,
"decimals": 0,
"editable": true,
"error": false,
"fill": 1,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 4,
"isNew": true,
"legend": {
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"aggregator": "sum",
"alias": "Total",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "mem_total",
"precision": "default",
"refId": "A",
"seriesAggregator": "none",
"transform": "none"
},
{
"aggregator": "sum",
"alias": "Free",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "mem_free",
"precision": "default",
"refId": "B",
"seriesAggregator": "none",
"transform": "none"
},
{
"aggregator": "sum",
"alias": "Used",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "mem_used",
"precision": "default",
"refId": "C",
"seriesAggregator": "none",
"transform": "none"
},
{
"aggregator": "sum",
"alias": "Cached",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "mem_cached",
"precision": "default",
"refId": "D",
"seriesAggregator": "none",
"transform": "none"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Memory",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"kbytes",
"short"
]
}
],
"showTitle": true,
"title": "IO Stats"
},
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": null,
"decimals": 2,
"editable": true,
"error": false,
"format": "percent",
"id": 8,
"interval": null,
"isNew": true,
"links": [],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"aggregator": "avg",
"alias": "Disk Used",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "disk_percent",
"precision": "default",
"refId": "A",
"seriesAggregator": "none",
"transform": "none"
}
],
"thresholds": "",
"title": "Disk Used",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"aliasColors": {},
"bars": false,
"datasource": null,
"decimals": 1,
"editable": true,
"error": false,
"fill": 2,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 6,
"isNew": true,
"leftYAxisLabel": "Rate",
"legend": {
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"aggregator": "sum",
"alias": "Read",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "read_bps",
"precision": "default",
"refId": "A",
"seriesAggregator": "none",
"transform": "none"
},
{
"aggregator": "sum",
"alias": "Write",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "write_bps",
"precision": "default",
"refId": "B",
"seriesAggregator": "none",
"transform": "none"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Cluster Disk Throughput",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bps",
"short"
]
}
],
"title": "New row"
},
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": null,
"decimals": 2,
"editable": true,
"error": false,
"fill": 2,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 5,
"isNew": true,
"legend": {
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": true,
"steppedLine": false,
"targets": [
{
"aggregator": "avg",
"alias": "Load",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "load_one",
"precision": "default",
"refId": "A",
"seriesAggregator": "none",
"transform": "none"
},
{
"aggregator": "avg",
"alias": "CPU IO Wait",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "cpu_wio",
"precision": "default",
"refId": "B",
"seriesAggregator": "none",
"transform": "none"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Avg. Load vs. IO Wait",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"percent",
"short"
]
}
],
"title": "New row"
},
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": null,
"decimals": 2,
"editable": true,
"error": false,
"fill": 2,
"grid": {
"leftLogBase": 1,
"leftMax": 100,
"leftMin": 0,
"rightLogBase": 1,
"rightMax": 100,
"rightMin": null,
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"hideTimeOverride": false,
"id": 3,
"isNew": true,
"leftYAxisLabel": "Utilization",
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "IO Wait",
"color": "#EAB839",
"fill": 4
},
{
"alias": "App",
"color": "#0A50A1"
},
{
"alias": "System",
"color": "#EF843C"
}
],
"span": 12,
"stack": true,
"steppedLine": false,
"targets": [
{
"aggregator": "avg",
"alias": "Idle",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "cpu_idle",
"precision": "default",
"refId": "A",
"seriesAggregator": "none",
"transform": "none"
},
{
"aggregator": "avg",
"alias": "App",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "cpu_user",
"precision": "default",
"refId": "B",
"seriesAggregator": "none",
"transform": "none"
},
{
"aggregator": "avg",
"alias": "System",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "cpu_system",
"precision": "default",
"refId": "C",
"seriesAggregator": "none",
"transform": "none"
},
{
"aggregator": "avg",
"alias": "IO Wait",
"app": "HOST",
"downsampleAggregator": "avg",
"errors": {},
"metric": "cpu_wio",
"precision": "default",
"refId": "D",
"seriesAggregator": "none",
"transform": "none"
}
],
"timeFrom": null,
"timeShift": null,
"title": "CPU Utlizations",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"percent",
"percent"
]
}
],
"title": "New row"
}
],
"time": {
"from": "now-1h",
"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"
]
},
"templating": {
"list": []
},
"annotations": {
"list": []
},
"refresh": "5s",
"schemaVersion": 8,
"version": 46,
"links": []
}
@thaibui
Copy link
Author

thaibui commented Dec 17, 2017

See example dashboard create via this spec here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment