diff --git a/ansible/install/grafana-dashboards.yml b/ansible/install/grafana-dashboards.yml index e56f8dd04..02a611e76 100644 --- a/ansible/install/grafana-dashboards.yml +++ b/ansible/install/grafana-dashboards.yml @@ -14,6 +14,7 @@ cloud_dashboards: true overwrite_existing: true static_dashboards: + - cloud_ceph_monitoring - cloud_gnocchi_status - cloud_instance_count - cloud_keystone_token_count diff --git a/ansible/install/group_vars/all.yml b/ansible/install/group_vars/all.yml index f9412450a..317c54ce9 100644 --- a/ansible/install/group_vars/all.yml +++ b/ansible/install/group_vars/all.yml @@ -91,6 +91,13 @@ apache_undercloud_mod_status_port: 5001 apache_controller_collectd_plugin: false apache_controller_mod_status_port: 5001 +######################## +# Ceph plugin +######################## +# Overcloud Controller +ceph_controller_collectd_plugin: false +ceph_storage_collectd_plugin: false + ######################## # Gnocchi backlog plugin ######################## diff --git a/ansible/install/roles/collectd-openstack/tasks/main.yml b/ansible/install/roles/collectd-openstack/tasks/main.yml index 12ec83312..19074a142 100644 --- a/ansible/install/roles/collectd-openstack/tasks/main.yml +++ b/ansible/install/roles/collectd-openstack/tasks/main.yml @@ -25,6 +25,7 @@ with_items: - collectd - collectd-apache + - collectd-ceph - collectd-mysql - collectd-turbostat @@ -156,6 +157,15 @@ when: "('undercloud' in group_names or '{{inventory_hostname}}' == groups['controller'][0])" # End Rabbitmq monitoring +# CephStorage OSD monitoring +# Only Monitors a single OSD on each CephStorage Node +- name: Get 1st OSD socket + shell: ls /var/run/ceph/ceph-osd.*.asok | head -n 1 | egrep -o '[0-9]+' + register: cephstorage_osd_socket + become: true + when: "('cephstorage' in group_names and {{ceph_storage_collectd_plugin}} == true)" +# End CephStorage OSD monitoring + - name: Configure collectd.conf template: src: "{{config_type}}.collectd.conf.j2" diff --git a/ansible/install/roles/collectd-openstack/templates/cephstorage.collectd.conf.j2 b/ansible/install/roles/collectd-openstack/templates/cephstorage.collectd.conf.j2 index 2157ad0da..1f2e43b08 100644 --- a/ansible/install/roles/collectd-openstack/templates/cephstorage.collectd.conf.j2 +++ b/ansible/install/roles/collectd-openstack/templates/cephstorage.collectd.conf.j2 @@ -16,6 +16,9 @@ LoadPlugin "logfile" LoadPlugin write_graphite +{% if ceph_storage_collectd_plugin %} +LoadPlugin ceph +{% endif %} LoadPlugin cpu LoadPlugin conntrack LoadPlugin df @@ -75,6 +78,16 @@ PreCacheChain "PreCache" +{% if ceph_storage_collectd_plugin %} + + LongRunAvgLatency false + ConvertSpecialMetricTypes true + + SocketPath "/var/run/ceph/ceph-osd.{{cephstorage_osd_socket.stdout}}.asok" + + + +{% endif %} ValuesPercentage true diff --git a/ansible/install/roles/collectd-openstack/templates/controller.collectd.conf.j2 b/ansible/install/roles/collectd-openstack/templates/controller.collectd.conf.j2 index b9f6e5b5a..21f286164 100644 --- a/ansible/install/roles/collectd-openstack/templates/controller.collectd.conf.j2 +++ b/ansible/install/roles/collectd-openstack/templates/controller.collectd.conf.j2 @@ -19,6 +19,11 @@ LoadPlugin write_graphite {% if apache_controller_collectd_plugin %} LoadPlugin apache {% endif %} +{% if ceph_controller_collectd_plugin %} +{% if inventory_hostname == groups['controller'][0] %} +LoadPlugin ceph +{% endif %} +{% endif %} LoadPlugin cpu LoadPlugin conntrack {% if keystone_overcloud_collectd_plugin %} @@ -96,6 +101,19 @@ PreCacheChain "PreCache" {% endif %} +{% if ceph_controller_collectd_plugin %} +{% if inventory_hostname == groups['controller'][0] %} + + + LongRunAvgLatency false + ConvertSpecialMetricTypes true + + SocketPath "/var/run/ceph/ceph-mon.{{inventory_hostname}}.asok" + + + +{% endif %} +{% endif %} {% if keystone_overcloud_collectd_plugin %} {%if inventory_hostname == groups['controller'][0] %} diff --git a/ansible/install/roles/grafana-dashboards/files/cloud_ceph_monitoring.json b/ansible/install/roles/grafana-dashboards/files/cloud_ceph_monitoring.json new file mode 100644 index 000000000..5fc0e606c --- /dev/null +++ b/ansible/install/roles/grafana-dashboards/files/cloud_ceph_monitoring.json @@ -0,0 +1,1993 @@ +{ + "dashboard": { + "annotations": { + "list": [] + }, + "editable": true, + "gnetId": null, + "hideControls": false, + "id": null, + "links": [], + "rows": [ + { + "collapse": true, + "height": "200px", + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "decimals": 0, + "editable": true, + "error": false, + "fill": 0, + "grid": {}, + "id": 1, + "legend": { + "alignAsTable": true, + "avg": false, + "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": "A", + "target": "alias($Cloud.$Node.processes-ceph-mon.ps_count.processes, 'Mon Processes')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.processes-ceph-mon.ps_count.threads, 'Mon Threads')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.processes-ceph-osd.ps_count.processes, 'OSD Processes')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.processes-ceph-osd.ps_count.threads, 'OSD Threads')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Process/Thread Count", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "decimals": 0, + "editable": true, + "error": false, + "fill": 0, + "grid": {}, + "id": 2, + "legend": { + "alignAsTable": true, + "avg": false, + "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": true, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias(scale($Cloud.$Node.processes-ceph-mon.ps_cputime.syst, 0.0001), 'Ceph Mon System')" + }, + { + "refId": "B", + "target": "alias(scale($Cloud.$Node.processes-ceph-mon.ps_cputime.user, 0.0001), 'Ceph Mon User')" + }, + { + "refId": "C", + "target": "alias(scale($Cloud.$Node.processes-ceph-osd.ps_cputime.syst, 0.0001), 'Ceph OSD System')" + }, + { + "refId": "D", + "target": "alias(scale($Cloud.$Node.processes-ceph-osd.ps_cputime.user, 0.0001), 'Ceph OSD User')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "CPU Util", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "decimals": 0, + "editable": true, + "error": false, + "fill": 0, + "grid": {}, + "id": 3, + "legend": { + "alignAsTable": true, + "avg": false, + "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": "A", + "target": "alias($Cloud.$Node.processes-ceph-mon.ps_rss, 'Ceph Mon RSS')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.processes-ceph-mon.ps_vm, 'Ceph Mon Virtual')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.processes-ceph-osd.ps_rss, 'Ceph OSD RSS')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.processes-ceph-osd.ps_vm, 'Ceph OSD Virtual')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Memory", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bits", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "decimals": 0, + "editable": true, + "error": false, + "fill": 0, + "grid": {}, + "id": 4, + "legend": { + "alignAsTable": true, + "avg": false, + "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": "A", + "target": "alias($Cloud.$Node.processes-ceph-mon.ps_pagefaults.majflt, 'Ceph Mon Majflt')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.processes-ceph-mon.ps_pagefaults.minflt, 'Ceph Mon Minflt')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.processes-ceph-osd.ps_pagefaults.majflt, 'Ceph OSD Majflt')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.processes-ceph-osd.ps_pagefaults.minflt, 'Ceph OSD Minflt')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Page Faults", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "decimals": 0, + "editable": true, + "error": false, + "fill": 0, + "grid": {}, + "id": 5, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.processes-ceph-mon.ps_disk_ops.read, 'Ceph Mon Read')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.processes-ceph-mon.ps_disk_ops.write, 'Ceph Mon Write')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.processes-ceph-osd.ps_disk_ops.read, 'Ceph OSD Read')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.processes-ceph-osd.ps_disk_ops.write, 'Ceph OSD Write')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "IOPs(Estimated via SYSCALLS)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "iops", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "decimals": 0, + "editable": true, + "error": false, + "fill": 0, + "grid": {}, + "id": 6, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.processes-ceph-mon.ps_disk_octets.read, 'Ceph Mon Read')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.processes-ceph-mon.ps_disk_octets.write, 'Ceph Mon Write')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.processes-ceph-osd.ps_disk_octets.read, 'Ceph OSD Read')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.processes-ceph-osd.ps_disk_octets.write, 'Ceph OSD Write')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "IO Throughput(Estimated via SYSCALLS)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Ceph Process Metrics", + "titleSize": "h6" + }, + { + "collapse": true, + "editable": true, + "height": "200px", + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 7, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numMon, 'Count')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numMonQuorum, 'Quorum')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_rate-Mon_numElections, 'Elections')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_rate-Mon_electionCall, 'Call')" + }, + { + "refId": "E", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_rate-Mon_electionLose, 'Lose')" + }, + { + "refId": "F", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_rate-Mon_electionWin, 'Win')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Mon Count/Quorum/Elections", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 8, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Mon_numSessions, 'Open')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_rate-Mon_sessionAdd, 'Add')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_rate-Mon_sessionRm, 'RM')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_rate-Mon_sessionTrim, 'Trim')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Mon Sessions", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 9, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numOsd, 'Total OSDs')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numOsdUp, 'OSDs Up')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numOsdIn, 'OSDs In')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_osdEpoch, 'Epoch')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "OSDs", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 10, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numMdsUp, 'Up')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numMdsIn, 'In')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numMdsFailed, 'Failed')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_mdsEpoch, 'Epoch')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "MDS", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 11, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numObject, 'Total Objects')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numObjectDegraded, 'Degraded Objects')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numObjectMisplaced, 'Misplaced Objects')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numObjectUnfound, 'Unfound Objects')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Objects", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 12, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numPg, 'Total PGs')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numPgActive, 'PGs Active')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numPgActiveClean, 'PGs Active-Clean')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numPgPeering, 'PGs Peering')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Placement Groups", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 13, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numPool, 'Pools')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Pools", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 1, + "id": 14, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Bytes Available", + "stack": "A" + }, + { + "alias": "Bytes Used", + "stack": "A" + } + ], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_osdBytes, 'Total Bytes')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_osdBytesUsed, 'Bytes Used')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_osdBytesAvail, 'Bytes Available')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "OSD Bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 1, + "id": 15, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numBytes, 'Size of all objects')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Size of All Objects", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 16, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Compact Queue Length", + "steppedLine": true, + "yaxis": 2 + } + ], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Leveldb_leveldbCompactQueueLen, 'Compact Queue Length')" + }, + { + "refId": "B", + "target": "aliasByNode(aliasSub($Cloud.$Node.ceph-mon_*.ceph_rate-Leveldb_*, 'ceph_rate-Leveldb_leveldb', ''), 3)" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "LevelDB Queue/Operations", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": "Queue Length", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 17, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": false, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 2, + "points": true, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "aliasByNode(aliasSub($Cloud.$Node.ceph-mon_*.ceph_latency-Leveldb_*, 'ceph_latency-Leveldb_leveldb', ''), 3)" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "LevelDB Latency", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 18, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": false, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Queue Length", + "lines": true, + "yaxis": 2 + }, + { + "alias": "Complete Latency", + "pointradius": 2, + "points": true + } + ], + "span": 6, + "stack": false, + "steppedLine": true, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_latency-FinisherMonstore_completeLatency, 'Complete Latency')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-FinisherMonstore_queueLen, 'Queue Length')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Finisher Monstore", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": "Queue Length", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 19, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "aliasByNode(aliasSub($Cloud.$Node.ceph-mon_*.ceph_rate-Paxos_*, 'ceph_rate-Paxos_', ''), 3)" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Paxos Rate", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 20, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": false, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 1, + "points": true, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "aliasByNode(aliasSub($Cloud.$Node.ceph-mon_*.ceph_latency-Paxos_*, 'ceph_latency-Paxos_', ''), 3)" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Paxos Latency", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "\u00b5s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 21, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Bytes Max", + "yaxis": 2 + }, + { + "alias": "Bytes Current", + "yaxis": 2 + } + ], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-ThrottleMonClientBytes_max, 'Bytes Max')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-ThrottleMonClientBytes_val, 'Bytes Current')" + }, + { + "refId": "C", + "target": "aliasByNode(aliasSub($Cloud.$Node.ceph-mon_*.ceph_rate-ThrottleMonClientBytes_*, 'ceph_rate-ThrottleMonClientBytes_', ''), 3)" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Throttle Mon Client", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 22, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Bytes Max", + "yaxis": 2 + }, + { + "alias": "Bytes Current", + "yaxis": 2 + } + ], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-ThrottleMonDaemonBytes_max, 'Bytes Max')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-ThrottleMonDaemonBytes_val, 'Bytes Current')" + }, + { + "refId": "C", + "target": "aliasByNode(aliasSub($Cloud.$Node.ceph-mon_*.ceph_rate-ThrottleMonDaemonBytes_*, 'ceph_rate-ThrottleMonDaemonBytes_', ''), 3)" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Throttle Mon Daemon", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + "id": 23, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Bytes Max", + "yaxis": 2 + }, + { + "alias": "Bytes Current", + "yaxis": 2 + } + ], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-ThrottleMsgrDispatchThrottlerMon_max, 'Bytes Max')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-ThrottleMsgrDispatchThrottlerMon_val, 'Bytes Current')" + }, + { + "refId": "C", + "target": "aliasByNode(aliasSub($Cloud.$Node.ceph-mon_*.ceph_rate-ThrottleMsgrDispatchThrottlerMon_*, 'ceph_rate-ThrottleMsgrDispatchThrottlerMon_', ''), 3)" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Throttle Msgr Dispatch Throttler Mon", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "showTitle": true, + "title": "Ceph Mon" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "allFormat": "glob", + "allValue": null, + "current": { + "text": "", + "value": "" + }, + "datasource": null, + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "multiFormat": "glob", + "name": "Cloud", + "options": [], + "query": "*", + "refresh": 1, + "regex": "/^(?!stats[d]*[_counts]*$).*$/", + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allFormat": "glob", + "allValue": null, + "current": { + "tags": [], + "text": "overcloud-cephstorage-0", + "value": "overcloud-cephstorage-0" + }, + "datasource": "RDU Perf Graphite", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "multiFormat": "glob", + "name": "Node", + "options": [], + "query": "$Cloud.*", + "refresh": 1, + "regex": "/.*[c][oe][np][th].*/", + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "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 Ceph Monitoring", + "version": 1 + } +} diff --git a/ansible/install/roles/grafana-dashboards/files/cloud_gnocchi_status.json b/ansible/install/roles/grafana-dashboards/files/cloud_gnocchi_status.json index e8b80c9e0..394314d28 100644 --- a/ansible/install/roles/grafana-dashboards/files/cloud_gnocchi_status.json +++ b/ansible/install/roles/grafana-dashboards/files/cloud_gnocchi_status.json @@ -51,7 +51,7 @@ "seriesOverrides": [], "span": 12, "stack": false, - "steppedLine": false, + "steppedLine": true, "targets": [ { "refId": "A", @@ -151,7 +151,7 @@ ] }, "time": { - "from": "now-24h", + "from": "now-1h", "to": "now" }, "timepicker": { diff --git a/ansible/install/roles/grafana-dashboards/files/cloud_keystone_token_count.json b/ansible/install/roles/grafana-dashboards/files/cloud_keystone_token_count.json index 0b9777789..1a2973b4b 100644 --- a/ansible/install/roles/grafana-dashboards/files/cloud_keystone_token_count.json +++ b/ansible/install/roles/grafana-dashboards/files/cloud_keystone_token_count.json @@ -151,7 +151,7 @@ ] }, "time": { - "from": "now-24h", + "from": "now-1h", "to": "now" }, "timepicker": { diff --git a/ansible/install/roles/grafana-dashboards/files/cloud_rabbitmq_monitoring.json b/ansible/install/roles/grafana-dashboards/files/cloud_rabbitmq_monitoring.json index 9f2d83f5c..2e9cde139 100644 --- a/ansible/install/roles/grafana-dashboards/files/cloud_rabbitmq_monitoring.json +++ b/ansible/install/roles/grafana-dashboards/files/cloud_rabbitmq_monitoring.json @@ -11,7 +11,7 @@ "links": [], "rows": [ { - "collapse": false, + "collapse": true, "height": "200px", "panels": [ { @@ -479,8 +479,8 @@ "titleSize": "h6" }, { - "collapse": false, - "height": 250, + "collapse": true, + "height": "200px", "panels": [ { "aliasColors": {}, @@ -596,7 +596,7 @@ "seriesOverrides": [], "span": 12, "stack": false, - "steppedLine": false, + "steppedLine": true, "targets": [ { "refId": "A", @@ -880,7 +880,7 @@ "seriesOverrides": [], "span": 12, "stack": false, - "steppedLine": false, + "steppedLine": true, "targets": [ { "refId": "A", @@ -932,7 +932,7 @@ "titleSize": "h6" }, { - "collapse": false, + "collapse": true, "height": "200px", "panels": [ { diff --git a/ansible/install/roles/grafana-dashboards/templates/openstack_general_system_performance.json.j2 b/ansible/install/roles/grafana-dashboards/templates/openstack_general_system_performance.json.j2 index 45a071454..34688bade 100644 --- a/ansible/install/roles/grafana-dashboards/templates/openstack_general_system_performance.json.j2 +++ b/ansible/install/roles/grafana-dashboards/templates/openstack_general_system_performance.json.j2 @@ -1,5 +1,6 @@ {% set vars = {'panel_idx': 0, 'temp_count': 0} %} {% set apache_groups = ['undercloud', 'controller', '*'] %} +{% set cephmon_groups = ['controller', '*'] %} {% set gnocchi_groups = ['controller', '*'] %} {% set ironic_groups = ['undercloud'] %} {% set mariadb_groups = ['undercloud', 'controller', '*'] %} @@ -277,43 +278,35 @@ "targets": [ { "refId": "A", - "target": "alias($Cloud.$Node.$cpus0.cpu-system, 'System')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus0.cpu-system, 'System')" }, { "refId": "B", - "target": "alias($Cloud.$Node.$cpus0.cpu-user, 'User')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus0.cpu-user, 'User')" }, { "refId": "C", - "target": "alias($Cloud.$Node.$cpus0.cpu-nice, 'Nice')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus0.cpu-nice, 'Nice')" }, { "refId": "D", - "target": "alias($Cloud.$Node.$cpus0.cpu-steal, 'Steal')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus0.cpu-steal, 'Steal')" }, { "refId": "E", - "target": "alias($Cloud.$Node.$cpus0.cpu-softirq, 'SoftIRQ')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus0.cpu-softirq, 'SoftIRQ')" }, { "refId": "F", - "target": "alias($Cloud.$Node.$cpus0.cpu-interrupt, 'Interrupt')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus0.cpu-interrupt, 'Interrupt')" }, { "refId": "G", - "target": "alias($Cloud.$Node.$cpus0.cpu-wait, 'Wait')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus0.cpu-wait, 'Wait')" }, { "refId": "H", - "target": "alias($Cloud.$Node.$cpus0.cpu-idle, 'Idle')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus0.cpu-idle, 'Idle')" } ], "timeFrom": null, @@ -390,43 +383,35 @@ "targets": [ { "refId": "A", - "target": "alias($Cloud.$Node.$cpus00.cpu-system, 'System')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus00.cpu-system, 'System')" }, { "refId": "B", - "target": "alias($Cloud.$Node.$cpus00.cpu-user, 'User')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus00.cpu-user, 'User')" }, { "refId": "C", - "target": "alias($Cloud.$Node.$cpus00.cpu-nice, 'Nice')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus00.cpu-nice, 'Nice')" }, { "refId": "D", - "target": "alias($Cloud.$Node.$cpus00.cpu-steal, 'Steal')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus00.cpu-steal, 'Steal')" }, { "refId": "E", - "target": "alias($Cloud.$Node.$cpus00.cpu-softirq, 'SoftIRQ')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus00.cpu-softirq, 'SoftIRQ')" }, { "refId": "F", - "target": "alias($Cloud.$Node.$cpus00.cpu-interrupt, 'Interrupt')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus00.cpu-interrupt, 'Interrupt')" }, { "refId": "G", - "target": "alias($Cloud.$Node.$cpus00.cpu-wait, 'Wait')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus00.cpu-wait, 'Wait')" }, { "refId": "H", - "target": "alias($Cloud.$Node.$cpus00.cpu-idle, 'Idle')", - "textEditor": false + "target": "alias($Cloud.$Node.$cpus00.cpu-idle, 'Idle')" } ], "timeFrom": null, @@ -1312,8 +1297,7 @@ "targets": [ { "refId": "A", - "target": "aliasByNode(aliasSub($Cloud.$Node.df-*.percent_bytes-used, 'df-', ''), 2)", - "textEditor": false + "target": "aliasByNode(aliasSub($Cloud.$Node.df-*.percent_bytes-used, 'df-', ''), 2)" } ], "timeFrom": null, @@ -2148,8 +2132,7 @@ "targets": [ { "refId": "B", - "target": "aliasByNode(aliasSub($Cloud.$Node.irq.irq-[A-Z]*, 'irq-', ''), 3)", - "textEditor": false + "target": "aliasByNode(aliasSub($Cloud.$Node.irq.irq-[A-Z]*, 'irq-', ''), 3)" } ], "timeFrom": null, @@ -2215,8 +2198,7 @@ "targets": [ { "refId": "B", - "target": "alias(sumSeries($Cloud.$Node.irq.irq-[0-9]*), 'Interrupts')", - "textEditor": false + "target": "alias(sumSeries($Cloud.$Node.irq.irq-[0-9]*), 'Interrupts')" } ], "timeFrom": null, @@ -2599,7 +2581,7 @@ {% if item.template_node_type in apache_groups %} { "title": "Apache", - "height": "250px", + "height": "200px", "editable": true, "collapse": true, "panels": [ @@ -2662,8 +2644,7 @@ "targets": [ { "refId": "A", - "target": "aliasSub(aliasByNode($Cloud.$Node.apache-status.apache_bytes, 3), 'apache_', '')", - "textEditor": false + "target": "aliasSub(aliasByNode($Cloud.$Node.apache-status.apache_bytes, 3), 'apache_', '')" } ], "aliasColors": {}, @@ -2728,9 +2709,8 @@ "timeShift": null, "targets": [ { - "refId": "C", - "target": "aliasSub(aliasByNode($Cloud.$Node.apache-status.apache_requests, 3), 'apache_', '')", - "textEditor": false + "refId": "A", + "target": "aliasSub(aliasByNode($Cloud.$Node.apache-status.apache_requests, 3), 'apache_', '')" } ], "aliasColors": {}, @@ -2796,13 +2776,11 @@ "targets": [ { "refId": "A", - "target": "aliasSub(aliasByNode($Cloud.$Node.apache-status.apache_connections, 3), 'apache_', '')", - "textEditor": false + "target": "aliasSub(aliasByNode($Cloud.$Node.apache-status.apache_connections, 3), 'apache_', '')" }, { "refId": "B", - "target": "aliasSub(aliasByNode($Cloud.$Node.apache-status.apache_idle_workers, 3), 'apache_', '')", - "textEditor": false + "target": "aliasSub(aliasByNode($Cloud.$Node.apache-status.apache_idle_workers, 3), 'apache_', '')" } ], "aliasColors": {}, @@ -2868,8 +2846,7 @@ "targets": [ { "refId": "A", - "target": "aliasSub(aliasByNode($Cloud.$Node.apache-status.apache_scoreboard-*, 3), 'apache_scoreboard-', '')", - "textEditor": false + "target": "aliasSub(aliasByNode($Cloud.$Node.apache-status.apache_scoreboard-*, 3), 'apache_scoreboard-', '')" } ], "aliasColors": {}, @@ -2880,10 +2857,1401 @@ "showTitle": true }, {% endif %} + {% if item.template_node_type in cephmon_groups %} + { + "title": "Ceph Mon", + "height": "200px", + "editable": true, + "collapse": true, + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numMon, 'Count')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numMonQuorum, 'Quorum')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_rate-Mon_numElections, 'Elections')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_rate-Mon_electionCall, 'Call')" + }, + { + "refId": "E", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_rate-Mon_electionLose, 'Lose')" + }, + { + "refId": "F", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_rate-Mon_electionWin, 'Win')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Mon Count/Quorum/Elections", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Mon_numSessions, 'Open')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_rate-Mon_sessionAdd, 'Add')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_rate-Mon_sessionRm, 'RM')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_rate-Mon_sessionTrim, 'Trim')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Mon Sessions", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numOsd, 'Total OSDs')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numOsdUp, 'OSDs Up')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numOsdIn, 'OSDs In')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_osdEpoch, 'Epoch')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "OSDs", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numMdsUp, 'Up')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numMdsIn, 'In')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numMdsFailed, 'Failed')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_mdsEpoch, 'Epoch')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "MDS", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numObject, 'Total Objects')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numObjectDegraded, 'Degraded Objects')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numObjectMisplaced, 'Misplaced Objects')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numObjectUnfound, 'Unfound Objects')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Objects", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numPg, 'Total PGs')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numPgActive, 'PGs Active')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numPgActiveClean, 'PGs Active-Clean')" + }, + { + "refId": "D", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numPgPeering, 'PGs Peering')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Placement Groups", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numPool, 'Pools')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Pools", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 1, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Bytes Available", + "stack": "A" + }, + { + "alias": "Bytes Used", + "stack": "A" + } + ], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_osdBytes, 'Total Bytes')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_osdBytesUsed, 'Bytes Used')" + }, + { + "refId": "C", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_osdBytesAvail, 'Bytes Available')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "OSD Bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 1, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Cluster_numBytes, 'Size of all objects')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Size of All Objects", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Compact Queue Length", + "steppedLine": true, + "yaxis": 2 + } + ], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-Leveldb_leveldbCompactQueueLen, 'Compact Queue Length')" + }, + { + "refId": "B", + "target": "aliasByNode(aliasSub($Cloud.$Node.ceph-mon_*.ceph_rate-Leveldb_*, 'ceph_rate-Leveldb_leveldb', ''), 3)" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "LevelDB Queue/Operations", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": "Queue Length", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": false, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 2, + "points": true, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "aliasByNode(aliasSub($Cloud.$Node.ceph-mon_*.ceph_latency-Leveldb_*, 'ceph_latency-Leveldb_leveldb', ''), 3)" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "LevelDB Latency", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": false, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Queue Length", + "lines": true, + "yaxis": 2 + }, + { + "alias": "Complete Latency", + "pointradius": 2, + "points": true + } + ], + "span": 6, + "stack": false, + "steppedLine": true, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_latency-FinisherMonstore_completeLatency, 'Complete Latency')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-FinisherMonstore_queueLen, 'Queue Length')" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Finisher Monstore", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": "Queue Length", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "aliasByNode(aliasSub($Cloud.$Node.ceph-mon_*.ceph_rate-Paxos_*, 'ceph_rate-Paxos_', ''), 3)" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Paxos Rate", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "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 + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": false, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 1, + "points": true, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "aliasByNode(aliasSub($Cloud.$Node.ceph-mon_*.ceph_latency-Paxos_*, 'ceph_latency-Paxos_', ''), 3)" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Paxos Latency", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "µs", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Bytes Max", + "yaxis": 2 + }, + { + "alias": "Bytes Current", + "yaxis": 2 + } + ], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-ThrottleMonClientBytes_max, 'Bytes Max')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-ThrottleMonClientBytes_val, 'Bytes Current')" + }, + { + "refId": "C", + "target": "aliasByNode(aliasSub($Cloud.$Node.ceph-mon_*.ceph_rate-ThrottleMonClientBytes_*, 'ceph_rate-ThrottleMonClientBytes_', ''), 3)" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Throttle Mon Client", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Bytes Max", + "yaxis": 2 + }, + { + "alias": "Bytes Current", + "yaxis": 2 + } + ], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-ThrottleMonDaemonBytes_max, 'Bytes Max')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-ThrottleMonDaemonBytes_val, 'Bytes Current')" + }, + { + "refId": "C", + "target": "aliasByNode(aliasSub($Cloud.$Node.ceph-mon_*.ceph_rate-ThrottleMonDaemonBytes_*, 'ceph_rate-ThrottleMonDaemonBytes_', ''), 3)" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Throttle Mon Daemon", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "fill": 0, + {% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %} + "id": {{vars.panel_idx}}, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Bytes Max", + "yaxis": 2 + }, + { + "alias": "Bytes Current", + "yaxis": 2 + } + ], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "refId": "A", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-ThrottleMsgrDispatchThrottlerMon_max, 'Bytes Max')" + }, + { + "refId": "B", + "target": "alias($Cloud.$Node.ceph-mon_*.ceph_bytes-ThrottleMsgrDispatchThrottlerMon_val, 'Bytes Current')" + }, + { + "refId": "C", + "target": "aliasByNode(aliasSub($Cloud.$Node.ceph-mon_*.ceph_rate-ThrottleMsgrDispatchThrottlerMon_*, 'ceph_rate-ThrottleMsgrDispatchThrottlerMon_', ''), 3)" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Throttle Msgr Dispatch Throttler Mon", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "showTitle": true + }, + {% endif %} {% if item.template_node_type in gnocchi_groups %} { "title": "Gnocchi Backlog", - "height": "250px", + "height": "200px", "editable": true, "collapse": true, "panels": [ @@ -2899,8 +4267,7 @@ "targets": [ { "target": "aliasByMetric(aliasSub($Cloud.$Node.gnocchi_status.*, 'gauge-', ''))", - "refId": "A", - "textEditor": false + "refId": "A" } ], "datasource": null, @@ -2952,7 +4319,7 @@ "rightSide": true }, "nullPointMode": "connected", - "steppedLine": false, + "steppedLine": true, "tooltip": { "value_type": "cumulative", "shared": true, @@ -4114,7 +5481,7 @@ {% if item.template_node_type in rabbitmq_groups %} { "collapse": true, - "height": 250, + "height": "200px", "panels": [ { "aliasColors": {}, @@ -4232,12 +5599,11 @@ "seriesOverrides": [], "span": 12, "stack": false, - "steppedLine": false, + "steppedLine": true, "targets": [ { "refId": "A", - "target": "aliasByNode(aliasSub(aliasSub($Cloud.$Node.rabbitmq_monitoring.gauge-queue_total-*-count, 'gauge-queue_total-', ''), '-count', ''), 3)", - "textEditor": false + "target": "aliasByNode(aliasSub(aliasSub($Cloud.$Node.rabbitmq_monitoring.gauge-queue_total-*-count, 'gauge-queue_total-', ''), '-count', ''), 3)" } ], "thresholds": [], @@ -4308,8 +5674,7 @@ "targets": [ { "refId": "A", - "target": "aliasByNode(aliasSub(aliasSub($Cloud.$Node.rabbitmq_monitoring.gauge-queue_total-*-rate, 'gauge-queue_total-', ''), '-rate', ''), 3)", - "textEditor": false + "target": "aliasByNode(aliasSub(aliasSub($Cloud.$Node.rabbitmq_monitoring.gauge-queue_total-*-rate, 'gauge-queue_total-', ''), '-rate', ''), 3)" } ], "thresholds": [], @@ -4380,8 +5745,7 @@ "targets": [ { "refId": "A", - "target": "aliasByNode(aliasSub(aliasSub($Cloud.$Node.rabbitmq_monitoring.gauge-message_total-*-count, 'gauge-message_total-', ''), '-count', ''), 3)", - "textEditor": false + "target": "aliasByNode(aliasSub(aliasSub($Cloud.$Node.rabbitmq_monitoring.gauge-message_total-*-count, 'gauge-message_total-', ''), '-count', ''), 3)" } ], "thresholds": [], @@ -4452,8 +5816,7 @@ "targets": [ { "refId": "A", - "target": "aliasByNode(aliasSub(aliasSub($Cloud.$Node.rabbitmq_monitoring.gauge-message_total-*-rate, 'gauge-message_total-', ''), '-rate', ''), 3)", - "textEditor": false + "target": "aliasByNode(aliasSub(aliasSub($Cloud.$Node.rabbitmq_monitoring.gauge-message_total-*-rate, 'gauge-message_total-', ''), '-rate', ''), 3)" } ], "thresholds": [], @@ -4520,12 +5883,11 @@ "seriesOverrides": [], "span": 12, "stack": false, - "steppedLine": false, + "steppedLine": true, "targets": [ { "refId": "A", - "target": "aliasByMetric(aliasSub($Cloud.$Node.rabbitmq_monitoring.*-msg_count-*, 'gauge-msg_count-', ''))", - "textEditor": false + "target": "aliasByMetric(aliasSub($Cloud.$Node.rabbitmq_monitoring.*-msg_count-*, 'gauge-msg_count-', ''))" } ], "thresholds": [], @@ -4576,7 +5938,7 @@ { "collapse": true, "editable": true, - "height": "250px", + "height": "200px", "showTitle": true, "panels": [ { @@ -4735,7 +6097,7 @@ { "collapse": true, "editable": true, - "height": "250px", + "height": "200px", "showTitle": true, "panels": [ { @@ -4894,7 +6256,7 @@ { "collapse": true, "editable": true, - "height": "250px", + "height": "200px", "showTitle": true, "panels": [ { @@ -5053,7 +6415,7 @@ { "collapse": true, "editable": true, - "height": "250px", + "height": "200px", "showTitle": true, "panels": [ { diff --git a/ansible/install/roles/grafana-dashboards/vars/main.yml b/ansible/install/roles/grafana-dashboards/vars/main.yml index 1723a0d06..0565356c6 100644 --- a/ansible/install/roles/grafana-dashboards/vars/main.yml +++ b/ansible/install/roles/grafana-dashboards/vars/main.yml @@ -339,8 +339,8 @@ per_process_panels: OpenStack-CephStorage: - name: "Ceph" processes: - - ceph-osd - ceph-mon + - ceph-osd - name: "Open vSwitch" processes: - ovs-vswitchd @@ -399,8 +399,8 @@ per_process_panels: - ceilometer_wsgi - name: "Ceph" processes: - - ceph-osd - ceph-mon + - ceph-osd - name: "Cinder" processes: - cinder-api