Merge "Enhancing Dashboards + 3 more static dashboards"

This commit is contained in:
Jenkins 2017-01-31 19:15:14 +00:00 committed by Gerrit Code Review
commit 13f3c9ca55
10 changed files with 1635 additions and 2 deletions

View File

@ -14,7 +14,10 @@
cloud_dashboards: true cloud_dashboards: true
overwrite_existing: true overwrite_existing: true
static_dashboards: static_dashboards:
- cloud-system-performance-comparsion - cloud_instance_count
- cloud_system_performance_comparsion
- cloud_gnocchi_status
- three_node_performance_food_groups
cloud_specific_dashboards: cloud_specific_dashboards:
- cpu - cpu
- memory - memory

View File

@ -0,0 +1,187 @@
{
"dashboard": {
"annotations": {
"list": []
},
"editable": true,
"gnetId": null,
"hideControls": false,
"id": null,
"links": [],
"rows": [
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": null,
"editable": true,
"error": false,
"fill": 0,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 1,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": false,
"targets": [
{
"refId": "B",
"target": "aliasByMetric(aliasSub($Cloud.$Node.gnocchi_status.*, 'gauge-', ''))",
"textEditor": false
}
],
"timeFrom": null,
"timeShift": null,
"title": "$Node Metrics/Measures Backlog",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"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
}
]
}
],
"showTitle": true,
"title": "Gnocchi Backlog"
}
],
"schemaVersion": 12,
"sharedCrosshair": false,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allFormat": "glob",
"current": {
"text": "",
"value": ""
},
"datasource": null,
"hide": 0,
"includeAll": false,
"multi": false,
"multiFormat": "glob",
"name": "Cloud",
"options": [],
"query": "*",
"refresh": 1,
"regex": "/^(?!stats[d]*[_counts]*$).*$/",
"type": "query"
},
{
"current": {
"tags": [],
"text": "overcloud-controller-0",
"value": "overcloud-controller-0"
},
"datasource": null,
"hide": 0,
"includeAll": false,
"multi": false,
"name": "Node",
"options": [
{
"selected": true,
"text": "overcloud-controller-0",
"value": "overcloud-controller-0"
},
{
"selected": false,
"text": "undercloud",
"value": "undercloud"
}
],
"query": "$Cloud.*",
"refresh": 0,
"regex": "/.*[cu][on][dn].*/",
"type": "query"
}
]
},
"time": {
"from": "now-24h",
"to": "now"
},
"timepicker": {
"now": true,
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "utc",
"title": "Cloud Gnocchi Status",
"version": 2
}
}

View File

@ -0,0 +1,159 @@
{
"dashboard": {
"annotations": {
"list": []
},
"editable": true,
"gnetId": null,
"hideControls": false,
"id": null,
"links": [],
"rows": [
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": null,
"editable": true,
"error": false,
"fill": 0,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 1,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": false,
"targets": [
{
"refId": "B",
"target": "alias(sumSeries($Cloud.overcloud-*compute-*.processes-qemu-kvm.ps_count.processes), 'Sum qemu-kvm processes')",
"textEditor": false
}
],
"timeFrom": null,
"timeShift": null,
"title": "Instances Hosted on Computes for $Cloud",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"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
}
]
}
],
"showTitle": true,
"title": "Instance Count"
}
],
"schemaVersion": 12,
"sharedCrosshair": false,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allFormat": "glob",
"current": {
"text": "",
"value": ""
},
"datasource": null,
"hide": 0,
"includeAll": false,
"multi": false,
"multiFormat": "glob",
"name": "Cloud",
"options": [],
"query": "*",
"refresh": 1,
"regex": "/^(?!stats[d]*[_counts]*$).*$/",
"type": "query"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"now": true,
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "utc",
"title": "Cloud Instance Count",
"version": 7
}
}

View File

@ -1684,6 +1684,7 @@
"name": "Node1", "name": "Node1",
"options": [], "options": [],
"query": "$Cloud1.*", "query": "$Cloud1.*",
"regex": "/^(?!stats[d]*[_counts]*$).*$/",
"refresh": true, "refresh": true,
"type": "query" "type": "query"
}, },
@ -1702,6 +1703,7 @@
"options": [], "options": [],
"query": "$Cloud2.*", "query": "$Cloud2.*",
"refresh": true, "refresh": true,
"regex": "/^(?!stats[d]*[_counts]*$).*$/",
"type": "query" "type": "query"
}, },
{ {

View File

@ -28,7 +28,7 @@
when: cloud_dashboards when: cloud_dashboards
- name: Remove Existing Static Dashboard(s) - name: Remove Existing Static Dashboard(s)
command: "curl -X DELETE -H 'Content-Type: application/json' http://{{grafana_username}}:{{grafana_password}}@{{grafana_host}}:{{grafana_port}}/api/dashboards/db/{{item}}" command: "curl -X DELETE -H 'Content-Type: application/json' http://{{grafana_username}}:{{grafana_password}}@{{grafana_host}}:{{grafana_port}}/api/dashboards/db/{{item|replace('_', '-')}}"
when: overwrite_existing when: overwrite_existing
with_items: "{{static_dashboards}}" with_items: "{{static_dashboards}}"

View File

@ -2599,6 +2599,7 @@
"options": [], "options": [],
"query": "*", "query": "*",
"refresh": true, "refresh": true,
"regex": "/^(?!stats[d]*[_counts]*$).*$/",
"type": "query" "type": "query"
}, },
{ {

View File

@ -3022,6 +3022,7 @@
"options": [], "options": [],
"query": "*", "query": "*",
"refresh": true, "refresh": true,
"regex": "/^(?!stats[d]*[_counts]*$).*$/",
"type": "query" "type": "query"
}, },
{ {

View File

@ -2152,6 +2152,7 @@
"options": [], "options": [],
"query": "*", "query": "*",
"refresh": true, "refresh": true,
"regex": "/^(?!stats[d]*[_counts]*$).*$/",
"type": "query" "type": "query"
}, },
{ {

View File

@ -4052,6 +4052,7 @@
"options": [], "options": [],
"query": "*", "query": "*",
"refresh": true, "refresh": true,
"regex": "/^(?!stats[d]*[_counts]*$).*$/",
"type": "query" "type": "query"
}, },
{ {