- /etc/carbon/storage-schemas.conf
- /etc/httpd/conf.d/graphite-web.conf
- /etc/yum.repos.d/cephmetrics.repo
+ - /etc/yum.repos.d/cephmetrics-custom.repo
- /etc/yum.repos.d/grafana.repo
- /tmp/dashboard.yml
- /tmp/dashUpdater.py
+++ /dev/null
----
-defaults:
- cluster: ceph
- collector_dependencies:
- yum:
- # For the json python module
- - python-libs
- # For the rados python module
- - python-rados
- # For the ceph_daemon python module
- - ceph-common
- # For semodule
- - make
- - libsemanage-python
- - policycoreutils-python
- - selinux-policy-devel
- apt:
- # For the json module, via libpython2.7-stdlib
- - python2.7
- # For the rados python module
- - python-rados
- # For the ceph_daemon python module
- - ceph-common
+++ /dev/null
-../../../../cephmetrics.py
\ No newline at end of file
+++ /dev/null
-../../../../selinux/cephmetrics.te
\ No newline at end of file
+++ /dev/null
-../../../../collectors
\ No newline at end of file
+++ /dev/null
-../../../../etc
\ No newline at end of file
+++ /dev/null
----
-- name: Restart collectd
- service:
- name: collectd
- enabled: yes
- state: restarted
+++ /dev/null
----
-dependencies:
- - role: cephmetrics-common
+++ /dev/null
----
-- name: Ship collectd.conf
- copy:
- src: files/etc/collectd.conf
- dest: "{{ collectd_conf }}"
- notify: Restart collectd
-
-- name: Set PluginDir in collectd.conf
- replace:
- dest: "{{ collectd_conf }}"
- regexp: 'PluginDir ".*"'
- replace: 'PluginDir "{{ collectd_dir }}"'
- notify: Restart collectd
-
-- name: Set Include path in collectd.conf
- replace:
- dest: "{{ collectd_conf }}"
- regexp: 'Include ".*"'
- replace: 'Include "{{ collectd_conf_d }}/*.conf"'
- notify: Restart collectd
-
-- name: Ship /etc/collectd.d or /etc/collectd/collectd.conf.d
- copy:
- src: files/etc/collectd.d/
- dest: "{{ collectd_conf_d }}"
- notify: Restart collectd
-
-- name: Set hostname in write_graphite.conf
- replace:
- dest: "{{ collectd_conf_d }}/write_graphite.conf"
- regexp: 'Host ".*"'
- replace: "Host \"{{ groups['ceph-grafana'][0] }}\""
- notify: Restart collectd
-
-- name: Set cluster name in cephmetrics.conf
- replace:
- dest: "{{ collectd_conf_d }}/cephmetrics.conf"
- regexp: 'ClusterName ".*"'
- replace: 'ClusterName "{{ cluster }}"'
- notify: Restart collectd
-
-- name: Set EventURL in cephmetrics.conf
- lineinfile:
- dest: "{{ collectd_conf_d }}/cephmetrics.conf"
- regexp: 'EventURL ".*"'
- insertafter: 'ClusterName ".*"'
- line: " EventURL \"http://{{ groups['ceph-grafana'][0] }}:{{ graphite.web_port if graphite.service == 'graphite-web' else graphite.api_port }}/events/\""
- notify: Restart collectd
-
-- name: Set ModulePath in cephmetrics.conf
- replace:
- dest: "{{ collectd_conf_d }}/cephmetrics.conf"
- regexp: 'ModulePath ".*"'
- replace: 'ModulePath "{{ collectd_cephmetrics_dir }}"'
- notify: Restart collectd
+++ /dev/null
----
-- name: Create collectors directory
- file:
- name: "{{ collectd_cephmetrics_dir }}/collectors"
- state: directory
-
-- name: Ship collector plugins
- copy:
- src: files/collectors/
- dest: "{{ collectd_cephmetrics_dir }}/collectors"
- notify: Restart collectd
-
-- name: Ship cephmetrics.py
- copy:
- src: files/cephmetrics.py
- dest: "{{ collectd_cephmetrics_dir }}"
- notify: Restart collectd
+++ /dev/null
----
-- name: Install collectd
- package:
- name: collectd
- state: latest
- when:
- - devel_mode
- notify: Restart collectd
-
-- name: Install cephmetrics-collectors
- package:
- name: cephmetrics-collectors
- state: latest
- when:
- - ansible_pkg_mgr == "yum"
- - not devel_mode
- notify: Restart collectd
-
-- name: Install dependencies for collector plugins
- package:
- name: "{{ item }}"
- state: latest
- with_items: "{{ collector_dependencies[ansible_pkg_mgr] }}"
- when:
- - devel_mode
- notify: Restart collectd
+++ /dev/null
----
-- include: merge_vars.yml
- tags:
- - always
-
-- name: Skip if not configured
- meta: end_play
- when: backend.metrics != 'cephmetrics'
-
-- include: setup_repos.yml
- tags:
- - packages
- - repos
-
-- include: install_packages.yml
- tags:
- - packages
-
-- include: set_collectd_vars.yml
- tags:
- - collectors
-
-- include: install_collectd_plugins.yml
- when:
- - devel_mode
- tags:
- - collectors
-
-- include: configure_collectd.yml
- tags:
- - collectors
-
-- include: selinux.yml
- when:
- - ansible_pkg_mgr == "yum"
- - ansible_selinux.status is defined
- - ansible_selinux.status == 'enabled'
- tags:
- - selinux
-
-- include: start_collectd.yml
- tags:
- - services
+++ /dev/null
-../../cephmetrics-common/tasks/merge_vars.yml
\ No newline at end of file
+++ /dev/null
----
-- name: Enable collectd_tcp_network_connect SELinux boolean
- seboolean:
- name: collectd_tcp_network_connect
- state: yes
- persistent: yes
-
-- name: Restore SELinux context of OSD journals
- shell: "restorecon -R -v /var/lib/ceph/osd/*/{journal,block.wal}"
- when: "'osds' in group_names"
- register: restorecon
- changed_when: restorecon.stdout|length != 0
- failed_when: restorecon.rc != 0 and restorecon.rc != 255
-
-- include: selinux_module.yml
- when:
- - devel_mode
+++ /dev/null
----
-- name: Remove SELinux policy package
- command: semodule -r cephmetrics
- failed_when: false
-
-- name: Remove any SELinux-related files
- file:
- path: "{{ item }}"
- state: absent
- with_items:
- - /tmp/cephmetrics.fc
- - /tmp/cephmetrics.if
- - /tmp/cephmetrics.pp
- - /tmp/cephmetrics.te
-
-- name: Copy SELinux type enforcement file
- copy:
- src: cephmetrics.te
- dest: /tmp/cephmetrics.te
-
-- name: Build SELinux policy package
- command: make -f /usr/share/selinux/devel/Makefile cephmetrics.pp
- args:
- chdir: /tmp
-
-- name: Load SELinux policy package
- command: semodule -i /tmp/cephmetrics.pp
- notify: Restart collectd
+++ /dev/null
----
-- name: Set collectd_dir
- set_fact:
- collectd_dir: "/usr/lib{{ '64' if ansible_pkg_mgr == 'yum' else '' }}/collectd"
-
-- name: Set collectd_cephmetrics_dir
- set_fact:
- collectd_cephmetrics_dir: "{{ collectd_dir }}/cephmetrics"
-
-- name: Set collectd_conf
- set_fact:
- collectd_conf: "/etc/{{ 'collectd/' if ansible_pkg_mgr == 'apt' else '' }}collectd.conf"
-
-- name: Set collectd_conf_d
- set_fact:
- collectd_conf_d: "/etc/collectd{{ '/collectd.conf' if ansible_pkg_mgr == 'apt' else '' }}.d"
-
+++ /dev/null
----
-- name: Add collectd repo
- template:
- src: collectd.list
- dest: /etc/apt/sources.list.d/collectd.list
- when:
- - ansible_pkg_mgr == 'apt'
- - devel_mode
-
-- name: Add collectd.org GPG key to apt
- apt_key:
- id: 3994D24FB8543576
- state: present
- keyserver: ha.pool.sks-keyservers.net
- when:
- - ansible_pkg_mgr == 'apt'
- - devel_mode
-
-- name: Update apt cache
- apt:
- update_cache: true
- when:
- - ansible_pkg_mgr == 'apt'
- - devel_mode
+++ /dev/null
----
-- name: Start collectd
- service:
- name: collectd
- enabled: yes
- state: started
+++ /dev/null
-deb http://pkg.ci.collectd.org/deb {{ ansible_distribution_release }} collectd-5.7
+++ /dev/null
-import pytest
-
-testinfra_hosts = ['!ceph-grafana']
-
-
-class TestCollectd(object):
- def maybe_skip(self, host):
- vars = host.ansible.get_variables()
- if vars.get('backend', dict()).get('metrics', 'mgr') != 'cephmetrics':
- pytest.skip()
-
- def test_service_enabled(self, host):
- self.maybe_skip(host)
- assert host.service('collectd').is_enabled
- assert host.service('collectd').is_running
-
- def test_logfile_present(self, host):
- self.maybe_skip(host)
- assert host.file('/var/log/collectd-cephmetrics.log').is_file
when:
- not containerized
-- include: sanity.yml
- tags:
- - sanity
-
- include: install_packages.yml
tags:
- packages
+++ /dev/null
----
- - name: Fail when containerized and classic are combined
- fail:
- msg: "Containers are not supported with backend.metrics set to 'cephmetrics'!"
- when:
- - backend.metrics == 'cephmetrics'
- - containerized
- name: Enable and start services
service:
name: "{{ docker.service_name }}"
- state: started
+ state: restarted
enabled: true
update_alerts: false
grafana:
container_name: "grafana/grafana"
+ container_tag: latest
container_cpu_period: 100000
container_cpu_cores: 2
# container_memory is in GB
container_memory: 4
- # version currently only applies to containers
- version: latest
uid: 472
datasource: Local
# You need to change these in the web UI on an already deployed machine, first
+++ /dev/null
-../../../../dashUpdater.py
\ No newline at end of file
+++ /dev/null
-{
- "meta": {
- "canSave": true,
- "created": "2017-08-03T21:42:28Z",
- "canStar": true,
- "expires": "0001-01-01T00:00:00Z",
- "updated": "2017-08-18T05:26:10Z",
- "slug": "alert-status",
- "version": 15,
- "createdBy": "admin",
- "updatedBy": "admin",
- "type": "db",
- "canEdit": true
- },
- "dashboard": {
- "style": "dark",
- "rows": [
- {
- "repeat": null,
- "titleSize": "h6",
- "collapse": false,
- "title": "Dashboard Row",
- "height": "250px",
- "repeatRowId": null,
- "panels": [
- {
- "span": 12,
- "stateFilter": [
- "alerting"
- ],
- "links": [],
- "show": "current",
- "title": "Active Ceph Alert List",
- "onlyAlertsOnDashboard": true,
- "limit": "20",
- "sortOrder": 3,
- "type": "alertlist",
- "id": 1
- }
- ],
- "showTitle": false,
- "repeatIteration": null
- },
- {
- "repeat": null,
- "titleSize": "h5",
- "collapse": false,
- "title": "Health Checks",
- "height": 250,
- "repeatRowId": null,
- "panels": [
- {
- "bars": false,
- "timeFrom": null,
- "links": [],
- "thresholds": [
- {
- "colorMode": "critical",
- "line": true,
- "fill": true,
- "value": 0,
- "op": "gt"
- }
- ],
- "spaceLength": 10,
- "nullPointMode": "null",
- "renderer": "flot",
- "linewidth": 2,
- "steppedLine": true,
- "id": 2,
- "maxDataPoints": "360",
- "fill": 1,
- "span": 2,
- "title": "Overall Ceph Health",
- "tooltip": {
- "sort": 1,
- "shared": false,
- "value_type": "individual"
- },
- "targets": [
- {
- "textEditor": true,
- "target": "alias(maxSeries(consolidateBy(keepLastValue(transformNull(collectd.*.$domain.cephmetrics.gauge.*.mon.health,0)),\"max\")),\"Ceph Health\")",
- "refId": "A"
- }
- ],
- "yaxes": [
- {
- "logBase": 1,
- "format": "short",
- "max": "10",
- "min": "0",
- "label": "",
- "show": true
- },
- {
- "logBase": 1,
- "show": false,
- "max": null,
- "format": "short",
- "label": null,
- "min": null
- }
- ],
- "xaxis": {
- "buckets": null,
- "show": true,
- "values": [],
- "mode": "time",
- "name": null
- },
- "seriesOverrides": [],
- "percentage": false,
- "type": "graph",
- "dashes": false,
- "description": "The chart plots the clusters health, over time. Health is depicted as a integer; 0, 4 or 8 where 0 is OK, 4 is WARN and 8 represents an ERROR state.",
- "alert": {
- "noDataState": "no_data",
- "name": "Overall Ceph Health",
- "frequency": "10s",
- "notifications": [
- {
- "id": 1
- }
- ],
- "handler": 1,
- "executionErrorState": "keep_state",
- "message": "Cluster Health is not OK",
- "conditions": [
- {
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "A",
- "20s",
- "now"
- ]
- },
- "evaluator": {
- "type": "gt",
- "params": [
- 0
- ]
- },
- "reducer": {
- "params": [],
- "type": "max"
- },
- "type": "query"
- }
- ]
- },
- "hideTimeOverride": false,
- "dashLength": 10,
- "stack": false,
- "timeShift": null,
- "aliasColors": {
- "Ceph Health (0:OK, 4:Warning,8:Error)": "#DEDAF7",
- "Ceph Health": "#890F02",
- "ceph health": "#890F02"
- },
- "lines": true,
- "legend": {
- "total": false,
- "min": false,
- "max": false,
- "show": true,
- "current": false,
- "values": false,
- "avg": false
- },
- "points": false,
- "datasource": "Local",
- "pointradius": 5,
- "minSpan": 2
- },
- {
- "bars": false,
- "timeFrom": null,
- "links": [],
- "thresholds": [
- {
- "colorMode": "critical",
- "line": true,
- "fill": true,
- "value": 0,
- "op": "gt"
- }
- ],
- "spaceLength": 10,
- "nullPointMode": "null",
- "renderer": "flot",
- "linewidth": 1,
- "steppedLine": false,
- "targets": [
- {
- "textEditor": true,
- "hide": true,
- "target": "currentAbove(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.*.osd.*.osd_percent_used),0),85)",
- "refId": "A"
- },
- {
- "targetFull": "alias(countSeries(currentAbove(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.*.osd.*.osd_percent_used),0),85)),\"OSDs Near Full\")",
- "textEditor": true,
- "target": "alias(countSeries(#A),\"OSDs Near Full\")",
- "refId": "B"
- }
- ],
- "fill": 1,
- "span": 2,
- "title": "Disks Near Full",
- "tooltip": {
- "sort": 0,
- "shared": true,
- "value_type": "individual"
- },
- "id": 3,
- "yaxes": [
- {
- "logBase": 1,
- "min": "0",
- "max": null,
- "format": "short",
- "label": null,
- "show": true
- },
- {
- "logBase": 1,
- "min": null,
- "max": null,
- "format": "short",
- "show": false,
- "label": null
- }
- ],
- "xaxis": {
- "buckets": null,
- "values": [],
- "mode": "time",
- "name": null,
- "show": true
- },
- "seriesOverrides": [],
- "percentage": false,
- "type": "graph",
- "dashes": false,
- "description": "This shows how many disks are at or above 80% full. Performance may degrade beyond this threshold on filestore (XFS) backed OSD's.",
- "alert": {
- "noDataState": "ok",
- "name": "Disks Near Full",
- "frequency": "60s",
- "notifications": [
- {
- "id": 1
- }
- ],
- "handler": 1,
- "executionErrorState": "keep_state",
- "message": "DIsks Near full detected within the cluster. Warning threshold is 80% full.",
- "conditions": [
- {
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "A",
- "1m",
- "now"
- ]
- },
- "evaluator": {
- "params": [
- 0
- ],
- "type": "gt"
- },
- "reducer": {
- "type": "max",
- "params": []
- },
- "type": "query"
- }
- ]
- },
- "dashLength": 10,
- "stack": false,
- "timeShift": null,
- "aliasColors": {},
- "lines": true,
- "legend": {
- "total": false,
- "show": false,
- "max": false,
- "min": false,
- "current": false,
- "values": false,
- "avg": false
- },
- "points": false,
- "datasource": "Local",
- "pointradius": 5,
- "minSpan": 2
- },
- {
- "bars": true,
- "timeFrom": "5m",
- "links": [],
- "thresholds": [
- {
- "colorMode": "critical",
- "line": true,
- "op": "gt",
- "value": 0,
- "fill": true
- }
- ],
- "spaceLength": 10,
- "nullPointMode": "null",
- "renderer": "flot",
- "linewidth": 2,
- "steppedLine": true,
- "targets": [
- {
- "textEditor": true,
- "hide": true,
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.*.mon.num_osd), \"max\")),\"total\")",
- "refId": "A"
- },
- {
- "hide": true,
- "textEditor": true,
- "refId": "B",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.*.mon.num_osd_up), \"max\")),\"up\")"
- },
- {
- "hide": false,
- "targetFull": "alias(diffSeries(alias(keepLastValue(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.*.mon.num_osd), \"max\")),\"total\"),alias(keepLastValue(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.*.mon.num_osd_up), \"max\")),\"up\")), \"down\")",
- "textEditor": true,
- "refId": "C",
- "target": "alias(diffSeries(#A,#B), \"down\")"
- }
- ],
- "fill": 2,
- "span": 2,
- "title": "OSDs Down",
- "tooltip": {
- "sort": 0,
- "shared": true,
- "value_type": "individual"
- },
- "id": 4,
- "yaxes": [
- {
- "logBase": 1,
- "format": "short",
- "max": null,
- "min": "0",
- "label": null,
- "show": true
- },
- {
- "logBase": 1,
- "min": null,
- "max": null,
- "format": "short",
- "show": false,
- "label": null
- }
- ],
- "xaxis": {
- "buckets": null,
- "show": true,
- "values": [],
- "mode": "time",
- "name": null
- },
- "seriesOverrides": [],
- "percentage": false,
- "type": "graph",
- "dashes": false,
- "description": "Count of OSDs currently in a DOWN state",
- "alert": {
- "noDataState": "ok",
- "name": "OSDs Down",
- "frequency": "10s",
- "notifications": [
- {
- "id": 1
- }
- ],
- "handler": 1,
- "executionErrorState": "alerting",
- "message": "OSD Down event",
- "conditions": [
- {
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "C",
- "30s",
- "now"
- ]
- },
- "evaluator": {
- "type": "gt",
- "params": [
- 0
- ]
- },
- "reducer": {
- "params": [],
- "type": "max"
- },
- "type": "query"
- }
- ]
- },
- "hideTimeOverride": true,
- "dashLength": 10,
- "stack": false,
- "timeShift": null,
- "aliasColors": {},
- "lines": false,
- "legend": {
- "rightSide": false,
- "total": false,
- "min": false,
- "max": false,
- "show": false,
- "current": false,
- "values": false,
- "alignAsTable": false,
- "avg": false,
- "hideZero": false
- },
- "points": false,
- "datasource": "Local",
- "pointradius": 5,
- "minSpan": 2
- },
- {
- "bars": false,
- "timeFrom": null,
- "links": [],
- "thresholds": [
- {
- "colorMode": "critical",
- "line": true,
- "op": "gt",
- "value": 85,
- "fill": true
- }
- ],
- "spaceLength": 10,
- "nullPointMode": "null",
- "renderer": "flot",
- "stack": false,
- "linewidth": 1,
- "steppedLine": false,
- "targets": [
- {
- "hide": true,
- "textEditor": true,
- "refId": "A",
- "target": "alias(maxSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.*.mon.osd_bytes,1, \"maxSeries\")), \"Raw Capacity\")"
- },
- {
- "hide": true,
- "textEditor": true,
- "refId": "B",
- "target": "alias(maxSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.*.mon.osd_bytes_used,1, \"maxSeries\")), \"Used Raw\")"
- },
- {
- "targetFull": "alias(asPercent(alias(maxSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.*.mon.osd_bytes_used,1, \"maxSeries\")), \"Used Raw\"), alias(maxSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.*.mon.osd_bytes,1, \"maxSeries\")), \"Raw Capacity\")), \"Raw Capacity Used %\")",
- "textEditor": true,
- "target": "alias(asPercent(#B, #A), \"Raw Capacity Used %\")",
- "refId": "C"
- }
- ],
- "fill": 1,
- "span": 2,
- "title": "Cluster Capacity",
- "tooltip": {
- "sort": 0,
- "shared": true,
- "value_type": "individual"
- },
- "id": 5,
- "points": false,
- "xaxis": {
- "buckets": null,
- "show": true,
- "values": [],
- "mode": "time",
- "name": null
- },
- "seriesOverrides": [],
- "percentage": false,
- "type": "graph",
- "dashes": false,
- "description": "This trigger raises a notification if the raw used crosses the 85% capacity threshold of the ceph cluster",
- "alert": {
- "noDataState": "keep_state",
- "name": "Cluster Capacity",
- "frequency": "60s",
- "notifications": [
- {
- "id": 1
- }
- ],
- "handler": 1,
- "executionErrorState": "alerting",
- "message": "Cluster Capacity Limit Warning",
- "conditions": [
- {
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "C",
- "1h",
- "now"
- ]
- },
- "evaluator": {
- "params": [
- 85
- ],
- "type": "gt"
- },
- "reducer": {
- "params": [],
- "type": "avg"
- },
- "type": "query"
- }
- ]
- },
- "dashLength": 10,
- "legend": {
- "total": false,
- "min": false,
- "max": false,
- "show": true,
- "current": false,
- "values": false,
- "avg": false
- },
- "timeShift": null,
- "aliasColors": {},
- "lines": true,
- "yaxes": [
- {
- "logBase": 1,
- "min": "0",
- "max": "100",
- "format": "percent",
- "show": true,
- "label": ""
- },
- {
- "logBase": 1,
- "min": null,
- "max": null,
- "format": "short",
- "show": false,
- "label": null
- }
- ],
- "datasource": "Local",
- "pointradius": 5,
- "minSpan": 2
- },
- {
- "bars": false,
- "timeFrom": "6h",
- "links": [],
- "thresholds": [
- {
- "colorMode": "critical",
- "line": true,
- "fill": true,
- "value": 0,
- "op": "gt"
- }
- ],
- "spaceLength": 10,
- "nullPointMode": "null",
- "renderer": "flot",
- "linewidth": 2,
- "steppedLine": false,
- "targets": [
- {
- "textEditor": true,
- "refId": "A",
- "target": "alias(maxSeries(consolidateBy(collectd.*.$domain.cephmetrics.gauge.*.mon.num_pgs_stuck, \"maxSeries\")), \"# pg's stuck inactive\")"
- }
- ],
- "fill": 2,
- "span": 2,
- "title": "PG's Stuck",
- "tooltip": {
- "sort": 0,
- "shared": false,
- "value_type": "individual"
- },
- "id": 8,
- "yaxes": [
- {
- "logBase": 1,
- "min": "0",
- "max": null,
- "format": "short",
- "show": true,
- "label": null
- },
- {
- "logBase": 1,
- "show": false,
- "max": null,
- "format": "short",
- "min": null,
- "label": null
- }
- ],
- "xaxis": {
- "buckets": null,
- "show": true,
- "values": [
- "total"
- ],
- "mode": "time",
- "name": null
- },
- "seriesOverrides": [],
- "percentage": false,
- "type": "graph",
- "dashes": false,
- "description": "This chart shows whether there are pg's in a stuck state, that need manual intervention to resolve.",
- "alert": {
- "noDataState": "no_data",
- "name": "PG's Stuck",
- "frequency": "60s",
- "notifications": [
- {
- "id": 1
- }
- ],
- "handler": 1,
- "executionErrorState": "alerting",
- "message": "PG's stuck inactive",
- "conditions": [
- {
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "A",
- "1m",
- "now"
- ]
- },
- "evaluator": {
- "params": [
- 0
- ],
- "type": "gt"
- },
- "reducer": {
- "type": "last",
- "params": []
- },
- "type": "query"
- }
- ]
- },
- "hideTimeOverride": true,
- "dashLength": 10,
- "stack": false,
- "timeShift": null,
- "aliasColors": {},
- "lines": true,
- "legend": {
- "total": false,
- "min": false,
- "max": false,
- "show": true,
- "current": false,
- "values": false,
- "avg": false
- },
- "points": false,
- "datasource": "Local",
- "pointradius": 5,
- "minSpan": 2
- },
- {
- "bars": false,
- "timeFrom": null,
- "links": [],
- "thresholds": [
- {
- "colorMode": "critical",
- "line": true,
- "op": "lt",
- "value": 0,
- "fill": true
- }
- ],
- "spaceLength": 10,
- "nullPointMode": "null",
- "renderer": "flot",
- "linewidth": 1,
- "steppedLine": false,
- "targets": [
- {
- "hide": true,
- "textEditor": true,
- "refId": "A",
- "target": "alias(scale(maxSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.*.mon.osd_bytes_avail,1, \"maxSeries\")),0.9), \"Raw Freespace\")"
- },
- {
- "textEditor": true,
- "hide": true,
- "target": "alias(maxSeries(groupByNode(keepLastValue(collectd.*.$domain.cephmetrics.gauge.*.osd.*.stat_bytes),1,\"sumSeries\")), \"Largest OSD Host\")",
- "refId": "B"
- },
- {
- "targetFull": "alias(diffSeries(alias(scale(maxSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.*.mon.osd_bytes_avail,1, \"maxSeries\")),0.9), \"Raw Freespace\"),alias(maxSeries(groupByNode(keepLastValue(collectd.*.$domain.cephmetrics.gauge.*.osd.*.stat_bytes),1,\"sumSeries\")), \"Largest OSD Host\")),\"freespace after Node loss\")",
- "textEditor": true,
- "refId": "C",
- "target": "alias(diffSeries(#A,#B),\"freespace after Node loss\")"
- }
- ],
- "fill": 1,
- "span": 2,
- "title": "OSD Host Loss Check",
- "tooltip": {
- "sort": 0,
- "shared": true,
- "value_type": "individual"
- },
- "id": 9,
- "yaxes": [
- {
- "logBase": 1,
- "show": true,
- "max": null,
- "format": "decbytes",
- "min": "0",
- "label": null
- },
- {
- "logBase": 1,
- "show": true,
- "max": null,
- "format": "short",
- "min": null,
- "label": null
- }
- ],
- "xaxis": {
- "buckets": null,
- "show": true,
- "values": [],
- "mode": "time",
- "name": null
- },
- "seriesOverrides": [],
- "percentage": false,
- "type": "graph",
- "dashes": false,
- "description": "This graph checks the cluster @ 90% full is enough to support the loss of the largest OSD host",
- "alert": {
- "noDataState": "ok",
- "name": "OSD Host Loss Check",
- "frequency": "60s",
- "notifications": [
- {
- "id": 1
- }
- ],
- "handler": 1,
- "executionErrorState": "alerting",
- "message": "OSD Host Loss Free Space Check Failed",
- "conditions": [
- {
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "A",
- "5m",
- "now"
- ]
- },
- "evaluator": {
- "type": "lt",
- "params": [
- 0
- ]
- },
- "reducer": {
- "type": "min",
- "params": []
- },
- "type": "query"
- }
- ]
- },
- "dashLength": 10,
- "stack": false,
- "timeShift": null,
- "aliasColors": {
- "Largest OSD Host": "#890F02"
- },
- "lines": true,
- "legend": {
- "total": false,
- "show": false,
- "max": false,
- "min": false,
- "current": false,
- "values": false,
- "avg": false
- },
- "points": false,
- "datasource": "Local",
- "pointradius": 5,
- "minSpan": 2
- },
- {
- "bars": false,
- "timeFrom": "1h",
- "links": [],
- "thresholds": [
- {
- "colorMode": "critical",
- "line": true,
- "fill": true,
- "value": 1000,
- "op": "gt"
- }
- ],
- "spaceLength": 10,
- "nullPointMode": "null",
- "renderer": "flot",
- "stack": false,
- "linewidth": 1,
- "steppedLine": false,
- "targets": [
- {
- "textEditor": true,
- "refId": "A",
- "target": "aliasByNode(currentAbove(keepLastValue(transformNull(collectd.*.$domain.cephmetrics.gauge.*.osd.*.perf.await,-1)),1000),1,-3)"
- }
- ],
- "maxDataPoints": "",
- "fill": 1,
- "span": 2,
- "title": "Slow OSD responses",
- "tooltip": {
- "sort": 0,
- "shared": true,
- "value_type": "individual"
- },
- "id": 10,
- "yaxes": [
- {
- "logBase": 1,
- "min": "0",
- "max": null,
- "format": "none",
- "label": "ms",
- "show": true
- },
- {
- "logBase": 1,
- "format": "short",
- "max": null,
- "min": null,
- "label": null,
- "show": false
- }
- ],
- "xaxis": {
- "buckets": null,
- "show": true,
- "values": [],
- "mode": "time",
- "name": null
- },
- "seriesOverrides": [],
- "percentage": false,
- "type": "graph",
- "dashes": false,
- "description": "Graph checking for OSD Latencies that are above 1s.",
- "alert": {
- "noDataState": "ok",
- "name": "Slow OSD responses alert",
- "frequency": "30s",
- "notifications": [
- {
- "id": 1
- }
- ],
- "handler": 1,
- "executionErrorState": "alerting",
- "message": "OSD Response time is > 1s",
- "conditions": [
- {
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "A",
- "1m",
- "now"
- ]
- },
- "evaluator": {
- "type": "gt",
- "params": [
- 1000
- ]
- },
- "reducer": {
- "type": "max",
- "params": []
- },
- "type": "query"
- }
- ]
- },
- "hideTimeOverride": true,
- "dashLength": 10,
- "legend": {
- "total": false,
- "show": true,
- "max": false,
- "min": false,
- "current": false,
- "values": false,
- "avg": false
- },
- "timeShift": null,
- "aliasColors": {
- "Largest OSD Host": "#890F02"
- },
- "lines": true,
- "points": false,
- "datasource": "Local",
- "pointradius": 5,
- "minSpan": 2
- },
- {
- "bars": false,
- "timeFrom": null,
- "links": [],
- "thresholds": [
- {
- "colorMode": "critical",
- "line": true,
- "op": "gt",
- "value": 10,
- "fill": true
- }
- ],
- "spaceLength": 10,
- "nullPointMode": "null",
- "renderer": "flot",
- "linewidth": 1,
- "steppedLine": false,
- "id": 11,
- "fill": 1,
- "span": 2,
- "title": "Network Errors",
- "tooltip": {
- "sort": 0,
- "shared": true,
- "value_type": "individual"
- },
- "targets": [
- {
- "textEditor": true,
- "target": "groupByNode(collectd.*.$domain.interface.*.if_{dropped,errors}.*,1,\"sumSeries\")",
- "refId": "A"
- }
- ],
- "points": false,
- "xaxis": {
- "buckets": null,
- "show": true,
- "values": [],
- "mode": "time",
- "name": null
- },
- "seriesOverrides": [],
- "percentage": false,
- "type": "graph",
- "dashes": false,
- "description": "Checks all interfaces for dropped/error packets, and alerts if more than 10 are seen in a 5m interval",
- "alert": {
- "noDataState": "no_data",
- "name": "Network Errors alert",
- "frequency": "30s",
- "notifications": [
- {
- "id": 1
- }
- ],
- "handler": 1,
- "executionErrorState": "keep_state",
- "message": "Network rx/tx issues detected",
- "conditions": [
- {
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "A",
- "5m",
- "now"
- ]
- },
- "evaluator": {
- "type": "gt",
- "params": [
- 10
- ]
- },
- "reducer": {
- "type": "max",
- "params": []
- },
- "type": "query"
- }
- ]
- },
- "dashLength": 10,
- "stack": false,
- "timeShift": null,
- "aliasColors": {},
- "lines": true,
- "legend": {
- "total": false,
- "min": false,
- "max": false,
- "show": false,
- "current": false,
- "values": false,
- "avg": false
- },
- "yaxes": [
- {
- "logBase": 1,
- "format": "none",
- "max": null,
- "min": "0",
- "label": null,
- "show": true
- },
- {
- "logBase": 1,
- "min": null,
- "max": null,
- "format": "short",
- "show": false,
- "label": null
- }
- ],
- "datasource": null,
- "pointradius": 5,
- "minSpan": 2
- },
- {
- "bars": false,
- "timeFrom": null,
- "links": [],
- "thresholds": [
- {
- "colorMode": "critical",
- "line": true,
- "fill": true,
- "value": 85,
- "op": "gt"
- }
- ],
- "spaceLength": 10,
- "nullPointMode": "null",
- "renderer": "flot",
- "linewidth": 2,
- "steppedLine": false,
- "targets": [
- {
- "textEditor": true,
- "refId": "A",
- "target": "groupByNode(collectd.*.$domain.cephmetrics.gauge.*.mon.pools.*.percent_used,-2,'maxSeries')"
- }
- ],
- "fill": 5,
- "span": 2,
- "title": "Pool Capacity",
- "tooltip": {
- "sort": 0,
- "shared": true,
- "value_type": "individual"
- },
- "id": 12,
- "points": false,
- "xaxis": {
- "buckets": null,
- "values": [],
- "mode": "time",
- "name": null,
- "show": true
- },
- "seriesOverrides": [],
- "percentage": false,
- "type": "graph",
- "dashes": false,
- "repeat": null,
- "alert": {
- "noDataState": "keep_state",
- "name": "Pool Capacity",
- "frequency": "60s",
- "notifications": [],
- "handler": 1,
- "executionErrorState": "alerting",
- "conditions": [
- {
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "A",
- "5m",
- "now"
- ]
- },
- "evaluator": {
- "params": [
- 85
- ],
- "type": "gt"
- },
- "reducer": {
- "params": [],
- "type": "avg"
- },
- "type": "query"
- }
- ]
- },
- "dashLength": 10,
- "stack": false,
- "timeShift": null,
- "aliasColors": {},
- "lines": true,
- "legend": {
- "avg": false,
- "min": false,
- "max": false,
- "show": true,
- "current": false,
- "values": false,
- "total": false
- },
- "yaxes": [
- {
- "logBase": 1,
- "format": "percent",
- "max": null,
- "min": null,
- "label": null,
- "show": true
- },
- {
- "logBase": 1,
- "show": true,
- "max": null,
- "format": "short",
- "label": null,
- "min": null
- }
- ],
- "datasource": "Local",
- "pointradius": 5,
- "minSpan": 2
- }
- ],
- "showTitle": true,
- "repeatIteration": null
- }
- ],
- "templating": {
- "list": []
- },
- "links": [],
- "tags": [],
- "graphTooltip": 0,
- "hideControls": true,
- "title": "Alert Status",
- "editable": false,
- "refresh": "10s",
- "annotations": {
- "list": []
- },
- "gnetId": null,
- "version": 15,
- "time": {
- "to": "now",
- "from": "now-1h"
- },
- "timezone": "browser",
- "schemaVersion": 14,
- "timepicker": {
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ],
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ]
- },
- "id": 24
- }
-}
+++ /dev/null
-{
- "dashboard": {
- "annotations": {
- "list": []
- },
- "editable": false,
- "gnetId": null,
- "graphTooltip": 0,
- "hideControls": true,
- "id": 64,
- "links": [
- {
- "asDropdown": true,
- "icon": "external link",
- "includeVars": true,
- "keepTime": true,
- "tags": [
- "overview"
- ],
- "targetBlank": true,
- "title": "Shortcuts",
- "type": "dashboards"
- }
- ],
- "refresh": "10s",
- "rows": [
- {
- "collapse": false,
- "height": "145",
- "panels": [
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "50px",
- "id": 86,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-cluster",
- "dashboard": "Ceph Cluster",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Ceph Cluster",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "10%",
- "prefix": "",
- "prefixFontSize": "10%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": ""
- }
- ],
- "thresholds": "",
- "title": "",
- "transparent": true,
- "type": "singlestat",
- "valueFontSize": "35%",
- "valueMaps": [
- {
- "op": "=",
- "text": "Cluster",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "50px",
- "id": 82,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-pools",
- "dashboard": "Ceph Pools",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Ceph Pools",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "10%",
- "prefix": "",
- "prefixFontSize": "10%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": ""
- }
- ],
- "thresholds": "",
- "title": "",
- "transparent": true,
- "type": "singlestat",
- "valueFontSize": "35%",
- "valueMaps": [
- {
- "op": "=",
- "text": "Pools",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "50px",
- "id": 91,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-osd-information",
- "dashboard": "Ceph OSD Information",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Ceph OSD Information",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "10%",
- "prefix": "",
- "prefixFontSize": "10%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": ""
- }
- ],
- "thresholds": "",
- "title": "",
- "transparent": true,
- "type": "singlestat",
- "valueFontSize": "35%",
- "valueMaps": [
- {
- "op": "=",
- "text": "OSDs",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "50px",
- "id": 84,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-rgw-workload",
- "dashboard": "Ceph - RGW Workload",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Ceph RADOSGW Performance",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "10%",
- "prefix": "",
- "prefixFontSize": "10%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": ""
- }
- ],
- "thresholds": "",
- "title": "",
- "transparent": true,
- "type": "singlestat",
- "valueFontSize": "35%",
- "valueMaps": [
- {
- "op": "=",
- "text": "S3/Swift",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "50px",
- "id": 83,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-backend-storage",
- "dashboard": "Ceph Backend Storage",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "OSD Host Performance",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "10%",
- "prefix": "",
- "prefixFontSize": "10%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": ""
- }
- ],
- "thresholds": "",
- "title": "",
- "transparent": true,
- "type": "singlestat",
- "valueFontSize": "35%",
- "valueMaps": [
- {
- "op": "=",
- "text": "OSD Hosts",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "50px",
- "id": 85,
- "interval": null,
- "links": [
- {
- "dashUri": "db/network-usage-by-node",
- "dashboard": "Network Usage by Node",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Network Usage by Host",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "10%",
- "prefix": "",
- "prefixFontSize": "10%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": ""
- }
- ],
- "thresholds": "",
- "title": "",
- "transparent": true,
- "type": "singlestat",
- "valueFontSize": "35%",
- "valueMaps": [
- {
- "op": "=",
- "text": "Network",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "content": "",
- "id": 95,
- "links": [],
- "minSpan": 4,
- "mode": "markdown",
- "span": 4,
- "title": "",
- "transparent": true,
- "type": "text"
- },
- {
- "id": 94,
- "limit": 10,
- "links": [
- {
- "dashUri": "db/alert-status",
- "dashboard": "Alert Status",
- "targetBlank": true,
- "title": "Alert Status",
- "type": "dashboard"
- }
- ],
- "minSpan": 2,
- "onlyAlertsOnDashboard": false,
- "show": "current",
- "sortOrder": 3,
- "span": 2,
- "stateFilter": [
- "alerting"
- ],
- "title": "Active Alerts",
- "type": "alertlist"
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": false,
- "title": "Dashboard Row",
- "titleSize": "h6"
- },
- {
- "collapse": false,
- "height": "225",
- "panels": [
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(1, 167, 1, 1)",
- "rgba(255,165,0, 1)",
- "rgba(255, 0, 0, 1)"
- ],
- "datasource": "Local",
- "description": "Shows the overall health of the ceph cluster",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "hideTimeOverride": true,
- "id": 28,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-health",
- "dashboard": "Ceph Health",
- "includeVars": true,
- "keepTime": false,
- "targetBlank": true,
- "title": "Ceph Health",
- "type": "dashboard"
- }
- ],
- "mappingType": 2,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "",
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "0",
- "text": "OK",
- "to": "1"
- },
- {
- "from": "1",
- "text": "WARN",
- "to": "4"
- },
- {
- "from": "5",
- "text": "ERROR",
- "to": "99"
- },
- {
- "from": "-10",
- "text": "NODATA",
- "to": "0"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.health),\"max\")",
- "textEditor": true
- }
- ],
- "thresholds": "1,5",
- "timeFrom": "1m",
- "timeShift": null,
- "title": "Health",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "OK",
- "value": "0"
- },
- {
- "op": "=",
- "text": "WARN",
- "value": "4"
- },
- {
- "op": "=",
- "text": "ERROR",
- "value": "8"
- }
- ],
- "valueName": "current"
- },
- {
- "clusterName": "MONs",
- "displayName": "MONs",
- "flipCard": false,
- "flipTime": 5,
- "hideTimeOverride": true,
- "id": 75,
- "isGrayOnNoData": true,
- "links": [],
- "minSpan": 1,
- "namePrefix": "",
- "span": 1,
- "targets": [
- {
- "aggregation": "Last",
- "alias": "total",
- "displayType": "Regular",
- "refId": "D",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_mon), \"max\")),\"total\")",
- "textEditor": true,
- "valueHandler": "Text Only"
- },
- {
- "aggregation": "Last",
- "alias": "quorum",
- "display": true,
- "displayType": "Regular",
- "refId": "E",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_mon_quorum), \"max\")),\"quorum\")",
- "textEditor": true,
- "valueHandler": "Threshold",
- "warn": "1"
- },
- {
- "aggregation": "Last",
- "alias": "down",
- "display": true,
- "displayType": "Regular",
- "refId": "A",
- "target": "alias(diffSeries(#D,#E), \"down\")",
- "targetFull": "alias(diffSeries(alias(keepLastValue(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_mon), \"max\")),\"total\"),alias(keepLastValue(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_mon_quorum), \"max\")),\"quorum\")), \"down\")",
- "textEditor": true,
- "valueHandler": "Threshold",
- "warn": "1"
- }
- ],
- "timeFrom": "1m",
- "timeShift": null,
- "title": "",
- "type": "vonage-status-panel"
- },
- {
- "clusterName": "OSDs",
- "displayName": "OSDs",
- "flipCard": false,
- "flipTime": 5,
- "hideTimeOverride": true,
- "id": 65,
- "links": [
- {
- "dashUri": "db/ceph-osd-information",
- "dashboard": "Ceph OSD Information",
- "targetBlank": true,
- "title": "Ceph OSD Information",
- "type": "dashboard"
- }
- ],
- "minSpan": 1,
- "namePrefix": "",
- "span": 1,
- "targets": [
- {
- "aggregation": "Last",
- "alias": "total",
- "displayType": "Regular",
- "hide": false,
- "refId": "E",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_osd), \"max\")),\"total\")",
- "textEditor": true,
- "valueHandler": "Text Only"
- },
- {
- "aggregation": "Last",
- "alias": "in",
- "displayType": "Regular",
- "hide": false,
- "refId": "F",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_osd_up), \"max\")),\"up\")",
- "textEditor": true,
- "valueHandler": "Text Only"
- },
- {
- "aggregation": "Last",
- "alias": "up",
- "displayType": "Regular",
- "hide": false,
- "refId": "A",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_osd_in), \"max\")),\"in\")",
- "textEditor": true,
- "valueHandler": "Text Only"
- },
- {
- "aggregation": "Last",
- "alias": "out",
- "displayType": "Regular",
- "refId": "C",
- "target": "alias(countSeries(currentBelow(groupByNode(transformNull(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_state.*.in,99),-2,\"maxSeries\"),0.5)),\"out\")",
- "textEditor": true,
- "valueHandler": "Text Only"
- },
- {
- "aggregation": "Last",
- "alias": "down",
- "crit": "5",
- "display": true,
- "displayType": "Regular",
- "refId": "B",
- "target": "alias(countSeries(currentBelow(groupByNode(transformNull(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_state.*.up,99),-2,\"maxSeries\"),0.5)),\"down\")",
- "textEditor": true,
- "valueHandler": "Threshold",
- "warn": "1"
- }
- ],
- "timeFrom": "1m",
- "timeShift": null,
- "title": "",
- "type": "vonage-status-panel"
- },
- {
- "clusterName": "OSD Hosts",
- "displayName": "OSD Hosts",
- "flipTime": 5,
- "hideTimeOverride": true,
- "id": 100,
- "links": [],
- "minSpan": 1,
- "span": 1,
- "targets": [
- {
- "aggregation": "Last",
- "alias": "total",
- "displayType": "Regular",
- "refId": "A",
- "target": "alias(countSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.num_osds),\"total\")",
- "textEditor": true,
- "valueHandler": "Text Only"
- },
- {
- "aggregation": "Last",
- "alias": "up",
- "displayType": "Regular",
- "refId": "B",
- "target": "alias(countSeries(currentAbove(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.num_osds,0)),\"up\")",
- "textEditor": true,
- "valueHandler": "Text Only"
- },
- {
- "aggregation": "Last",
- "alias": "down",
- "crit": "2",
- "display": true,
- "displayType": "Regular",
- "refId": "C",
- "target": "alias(diffSeries(#A, #B), \"down\")",
- "targetFull": "alias(diffSeries(alias(countSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.num_osds),\"total\"), alias(countSeries(currentAbove(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.num_osds,0)),\"up\")), \"down\")",
- "textEditor": true,
- "valueHandler": "Threshold",
- "warn": "1"
- }
- ],
- "timeFrom": "30s",
- "timeShift": null,
- "title": "",
- "type": "vonage-status-panel"
- },
- {
- "clusterName": "RGWs",
- "displayName": "RGWs",
- "flipTime": 5,
- "hideTimeOverride": true,
- "id": 101,
- "isGrayOnNoData": false,
- "links": [],
- "span": 1,
- "targets": [
- {
- "aggregation": "Last",
- "alias": "total",
- "displayType": "Regular",
- "hide": true,
- "refId": "A",
- "target": "constantLine(0)",
- "textEditor": true,
- "valueHandler": "Text Only"
- },
- {
- "aggregation": "Last",
- "displayType": "Regular",
- "hide": true,
- "refId": "B",
- "target": "countSeries(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.put)",
- "textEditor": true,
- "valueHandler": "Regular"
- },
- {
- "aggregation": "Last",
- "alias": "total",
- "displayType": "Regular",
- "hide": false,
- "refId": "C",
- "target": "alias(limit(sortByMaxima(group(#A,#B)),1),\"total\")",
- "targetFull": "alias(limit(sortByMaxima(group(constantLine(0),countSeries(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.put))),1),\"total\")",
- "textEditor": true,
- "valueHandler": "Text Only"
- },
- {
- "displayType": "Regular",
- "hide": true,
- "refId": "D",
- "target": "countSeries(currentAbove(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.put,0))",
- "textEditor": true,
- "valueHandler": "Regular"
- },
- {
- "aggregation": "Last",
- "alias": "up",
- "displayType": "Regular",
- "hide": false,
- "refId": "E",
- "target": "alias(limit(sortByMaxima(group(#A,#D)),1), \"up\")",
- "targetFull": "alias(limit(sortByMaxima(group(constantLine(0),countSeries(currentAbove(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.put,0)))),1), \"up\")",
- "textEditor": true,
- "valueHandler": "Text Only"
- },
- {
- "aggregation": "Last",
- "alias": "down",
- "crit": "6",
- "display": true,
- "displayType": "Regular",
- "hide": false,
- "refId": "F",
- "target": "alias(diffSeries(#B, #D),\"down\")",
- "targetFull": "alias(diffSeries(countSeries(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.put), countSeries(currentAbove(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.put,0))),\"down\")",
- "textEditor": true,
- "valueHandler": "Threshold",
- "warn": "1"
- }
- ],
- "timeFrom": "30s",
- "timeShift": null,
- "title": "",
- "transparent": false,
- "type": "vonage-status-panel"
- },
- {
- "clusterName": "MDS",
- "displayName": "MDS",
- "flipCard": false,
- "flipTime": 5,
- "hideTimeOverride": true,
- "id": 99,
- "links": [],
- "minSpan": 1,
- "namePrefix": "",
- "span": 1,
- "targets": [
- {
- "aggregation": "Last",
- "alias": "up",
- "displayType": "Regular",
- "hide": false,
- "refId": "A",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_mds_up), \"max\")),\"up\")",
- "textEditor": true,
- "valueHandler": "Text Only"
- },
- {
- "aggregation": "Last",
- "alias": "in",
- "displayType": "Regular",
- "hide": false,
- "refId": "E",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_mds_in), \"max\")),\"in\")",
- "textEditor": true,
- "valueHandler": "Text Only"
- },
- {
- "aggregation": "Last",
- "alias": "down",
- "crit": "2",
- "display": true,
- "displayType": "Regular",
- "hide": false,
- "refId": "B",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_mds_failed), \"max\")),\"down\")",
- "textEditor": true,
- "valueHandler": "Threshold",
- "warn": "1"
- }
- ],
- "timeFrom": "1m",
- "timeShift": null,
- "title": "",
- "type": "vonage-status-panel"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(1, 167, 1, 1)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "datasource": "Local",
- "decimals": 0,
- "format": "short",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "hideTimeOverride": true,
- "id": 38,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-cluster",
- "dashboard": "Ceph Cluster",
- "params": "panelId=3&fullscreen&orgId=1",
- "targetBlank": true,
- "title": "Cluster Capacity Information",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "%",
- "postfixFontSize": "40%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "hide": true,
- "refId": "A",
- "target": "alias(maxSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes, 1,\"maxSeries\")), \"raw capacity\")",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "B",
- "target": "alias(maxSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_used, 1,\"maxSeries\")), \"used raw\")",
- "textEditor": true
- },
- {
- "refId": "C",
- "target": "asPercent(#B,#A)",
- "targetFull": "asPercent(alias(maxSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_used, 1,\"maxSeries\")), \"used raw\"),alias(maxSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes, 1,\"maxSeries\")), \"raw capacity\"))",
- "textEditor": true
- }
- ],
- "thresholds": "70,90",
- "timeFrom": "1m",
- "timeShift": null,
- "title": "Capacity Utilization",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "decimals": 1,
- "description": "Shows the growth rate based on osd usage over the past $growth_window.",
- "format": "decbytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "id": 80,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "hide": true,
- "refId": "D",
- "target": "alias(consolidateBy(maxSeries(timeShift(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_used,\"7d\")), \"max\"),\"-$growth_window ago\")",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "E",
- "target": "alias(consolidateBy(maxSeries(timeShift(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_used,\"1d\")), \"max\"),\"-1d ago\")",
- "textEditor": true
- },
- {
- "refId": "C",
- "target": "alias(diffSeries(#E, #D), 'Growth over last $growth_window')",
- "targetFull": "alias(diffSeries(alias(consolidateBy(maxSeries(timeShift(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_used,\"1d\")), \"max\"),\"-1d ago\"), alias(consolidateBy(maxSeries(timeShift(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_used,\"7d\")), \"max\"),\"-$growth_window ago\")), 'Growth over last $growth_window')",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "$growth_window Growth Rate",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "decimals": 0,
- "description": "Shows the estimated number of weeks left, based on consumption over the past $growth_window.",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "id": 81,
- "interval": null,
- "links": [],
- "mappingType": 2,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- },
- {
- "from": "-99999",
- "text": "N/A",
- "to": "0"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "hide": true,
- "refId": "A",
- "target": "alias(consolidateBy(maxSeries(timeShift(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_used,\"7d\")), \"max\"),\"-$growth_window ago\")",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "B",
- "target": "alias(consolidateBy(maxSeries(timeShift(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_used,\"1d\")), \"max\"),\"-1d ago\")",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "C",
- "target": "keepLastValue(diffSeries(#B, #A))",
- "targetFull": "keepLastValue(diffSeries(alias(consolidateBy(maxSeries(timeShift(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_used,\"1d\")), \"max\"),\"-1d ago\"), alias(consolidateBy(maxSeries(timeShift(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_used,\"7d\")), \"max\"),\"-$growth_window ago\")))",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "D",
- "target": "consolidateBy(minSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_avail), \"min\")",
- "textEditor": true
- },
- {
- "hide": false,
- "refId": "E",
- "target": "alias(divideSeries(#D, #C), 'Weeks Left till full')",
- "targetFull": "alias(divideSeries(consolidateBy(minSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_avail), \"min\"), keepLastValue(diffSeries(alias(consolidateBy(maxSeries(timeShift(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_used,\"1d\")), \"max\"),\"-1d ago\"), alias(consolidateBy(maxSeries(timeShift(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_used,\"7d\")), \"max\"),\"-$growth_window ago\")))), 'Weeks Left till full')",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "Weeks Remaining",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "active + clean": "#01a701",
- "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_pg_active_clean": "#01a701",
- "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_pg_peering": "#ffa500",
- "peering": "#0A50A1"
- },
- "cacheTimeout": null,
- "combine": {
- "label": "Others",
- "threshold": ""
- },
- "datasource": "Local",
- "fontSize": "100%",
- "format": "none",
- "height": "210",
- "hideTimeOverride": true,
- "id": 74,
- "interval": null,
- "legend": {
- "percentage": false,
- "show": true,
- "values": true
- },
- "legendType": "Under graph",
- "links": [
- {
- "dashUri": "db/ceph-cluster",
- "dashboard": "Ceph Cluster",
- "includeVars": false,
- "keepTime": false,
- "targetBlank": true,
- "title": "Ceph Cluster Information",
- "type": "dashboard"
- }
- ],
- "maxDataPoints": "1",
- "minSpan": 2,
- "nullPointMode": "connected",
- "pieType": "pie",
- "span": 2,
- "strokeWidth": "0",
- "targets": [
- {
- "refId": "A",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_pg_active_clean), \"max\")),\"active + clean\")",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "B",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_pg_active), \"max\")),\"active\")",
- "textEditor": true
- },
- {
- "refId": "C",
- "target": "alias(diffSeries(#B,#A),\"active + degraded\")",
- "targetFull": "alias(diffSeries(alias(keepLastValue(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_pg_active), \"max\")),\"active\"),alias(keepLastValue(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_pg_active_clean), \"max\")),\"active + clean\")),\"active + degraded\")",
- "textEditor": true
- },
- {
- "hide": false,
- "refId": "D",
- "target": "alias(consolidateBy(maxSeries(collectd.$mon_servers.$domain.cephmetrics.gauge.$cluster_name.mon.num_pg_peering), \"max\"),\"peering\")",
- "textEditor": true
- }
- ],
- "timeFrom": "1m",
- "timeShift": null,
- "title": "Placement Group Status",
- "type": "grafana-piechart-panel",
- "valueName": "current"
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "At a Glance",
- "titleSize": "h5"
- },
- {
- "collapse": false,
- "height": "230",
- "panels": [
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(251,251,251, 0.97)",
- "rgba(255,0,0,1)",
- "rgba(255, 0, 0, 1)"
- ],
- "datasource": "Local",
- "description": "This panel indicate whether scrub/deep scrub is running within the cluster. NB. If either of these features are turned off, the cluster will enter a WARN state. Click on the panel or the link below to look at cluster information in more detail",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "id": 97,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-cluster",
- "dashboard": "Ceph Cluster",
- "includeVars": false,
- "keepTime": false,
- "targetBlank": true,
- "title": "Ceph Cluster",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "",
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "hide": true,
- "refId": "A",
- "target": "consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.deep_scrub),\"max\")",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "B",
- "target": "consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.scrub),\"max\")",
- "textEditor": true
- },
- {
- "refId": "C",
- "target": "maxSeries(group(#A, #B))",
- "targetFull": "maxSeries(group(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.deep_scrub),\"max\"), consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.scrub),\"max\")))",
- "textEditor": true
- }
- ],
- "thresholds": "2",
- "title": "Scrub",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "INACTIVE",
- "value": "0"
- },
- {
- "op": "=",
- "text": "ACTIVE",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DISABLED",
- "value": "2"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(251,251,251, 0.97)",
- "rgba(255,165,0, 0.89)",
- "rgba(255, 0, 0, 1)"
- ],
- "datasource": "Local",
- "decimals": 1,
- "format": "decbytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "id": 96,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-pools",
- "dashboard": "Ceph Pools",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Ceph Pools",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "90",
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "/s",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "sumSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.*.recovering_bytes_per_sec,-2,\"avg\"))",
- "textEditor": true
- }
- ],
- "thresholds": "1,2",
- "title": "Recovery",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "decimals": 0,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "id": 9,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-pools",
- "dashboard": "Ceph Pools",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Ceph Pools",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "90",
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "dsType": "influxdb",
- "groupBy": [],
- "hide": false,
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.pools._all_.read_op_per_sec",
- "policy": "default",
- "query": "SELECT mean(\"value\") FROM \"measurement\" WHERE $timeFilter GROUP BY time($__interval) fill(null)",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- }
- ]
- ],
- "tags": [],
- "target": "sumSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.*.op_per_sec,-2,\"maxSeries\"))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "Client IOPS",
- "type": "singlestat",
- "valueFontSize": "100%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "decimals": 1,
- "format": "decbytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "id": 23,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-pools",
- "dashboard": "Ceph Pools",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Ceph Pools",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "90",
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "/s",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "dsType": "influxdb",
- "groupBy": [],
- "hide": false,
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.pools._all_.read_op_per_sec",
- "policy": "default",
- "query": "SELECT \"value\" FROM \"collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.pools._all_.read_bytes_sec\" WHERE $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- }
- ]
- ],
- "tags": [],
- "target": "sumSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.*.bytes_sec,-2,\"maxSeries\"))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "Client Throughput",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "decimals": 0,
- "format": "short",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "id": 76,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "dsType": "influxdb",
- "groupBy": [],
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_pool",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- }
- ]
- ],
- "tags": [],
- "target": "maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_pool)",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "Pools",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "decimals": 0,
- "format": "short",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "id": 77,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "B",
- "target": "alias(sumSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_rbds,6),\"max\")),\"# rbds\")",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "RBDs",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "Reads": "#01a701",
- "Writes": "#82B5D8"
- },
- "cacheTimeout": null,
- "combine": {
- "label": "Others",
- "threshold": 0
- },
- "datasource": "Local",
- "description": "Shows the read/write threshold of client IOPS serviced by the ceph cluster",
- "fontSize": "80%",
- "format": "none",
- "height": "230",
- "id": 93,
- "interval": null,
- "legend": {
- "percentage": false,
- "show": true,
- "values": true
- },
- "legendType": "Under graph",
- "links": [],
- "maxDataPoints": "90",
- "minSpan": 2,
- "nullPointMode": "connected",
- "pieType": "pie",
- "span": 2,
- "strokeWidth": 1,
- "targets": [
- {
- "refId": "A",
- "target": "alias(sumSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.*.read_op_per_sec,-2,\"maxSeries\")), \"Reads\")",
- "textEditor": true
- },
- {
- "refId": "B",
- "target": "alias(sumSeries(groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.*.write_op_per_sec,-2,\"maxSeries\")), \"Writes\")",
- "textEditor": true
- }
- ],
- "title": "Client Read/Write Ratio",
- "type": "grafana-piechart-panel",
- "valueName": "current"
- },
- {
- "aliasColors": {
- "95%ile Commit Latency": "#447EBC",
- "Apply Latency Max": "#890F02",
- "Commit Latency": "#447EBC"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "description": "Shows the OSD apply and commit latency at the $percentile%ile across the cluster over the past 15 minutes",
- "fill": 0,
- "hideTimeOverride": true,
- "id": 92,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [
- {
- "dashUri": "db/ceph-osd-information",
- "dashboard": "Ceph OSD Information",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Ceph OSD Information",
- "type": "dashboard"
- }
- ],
- "minSpan": 2,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 2,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(percentileOfSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.apply_latency,$percentile), \"Apply Latency\")",
- "textEditor": true
- },
- {
- "refId": "B",
- "target": "alias(percentileOfSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.commitcycle_latency, $percentile), \"Commit Latency\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": "15m",
- "timeShift": null,
- "title": "OSD Apply vs Commit Latency",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": false,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": false,
- "title": "Performance",
- "titleSize": "h5"
- },
- {
- "collapse": false,
- "height": "230px",
- "panels": [
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "datasource": "Local",
- "decimals": 0,
- "description": "CPU usage is presented based on the $percentile%ile across all OSD hosts",
- "format": "short",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "id": 59,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "90",
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": " %",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "percentileOfSeries(groupByNode(collectd.$osd_servers.$domain.cpu.percent.{system,user,wait},1,\"sumSeries\"),$percentile)",
- "textEditor": true
- }
- ],
- "thresholds": "70,90",
- "title": "OSD Hosts CPU Busy",
- "type": "singlestat",
- "valueFontSize": "100%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "decimals": 0,
- "description": "Total IOPS from all OSDs in the cluster",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "id": 72,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-backend-storage",
- "dashboard": "Ceph Backend Storage",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Ceph OSD Host Performance",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "90",
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "dsType": "influxdb",
- "groupBy": [],
- "hide": false,
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.pools._all_.read_op_per_sec",
- "policy": "default",
- "query": "SELECT \"value\" FROM \"collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.pools._all_.read_bytes_sec\" WHERE $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- }
- ]
- ],
- "tags": [],
- "target": "alias(sumSeries(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.iops),\"IOPS\")",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "Disk IOPS",
- "type": "singlestat",
- "valueFontSize": "100%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "decimals": 1,
- "format": "decbytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "id": 73,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-backend-storage",
- "dashboard": "Ceph Backend Storage",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Ceph OSD Host Performance",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "90",
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "/s",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "dsType": "influxdb",
- "groupBy": [],
- "hide": false,
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.pools._all_.read_op_per_sec",
- "policy": "default",
- "query": "SELECT \"value\" FROM \"collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.pools._all_.read_bytes_sec\" WHERE $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- }
- ]
- ],
- "tags": [],
- "target": "sumSeries(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.bytes_per_sec)",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "Disk Throughput",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "decimals": 0,
- "description": "The count of the number of disks in the cluster that are over $disk_full_threshold% full.",
- "format": "short",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "id": 79,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-backend-storage",
- "dashboard": "Ceph Backend Storage",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Ceph OSD Host Performance",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "countSeries(currentAbove(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.osd_percent_used),0),$disk_full_threshold))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "Nearly Full Disks",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "decimals": 0,
- "description": "RAM Usage shows the $percentile%ile of RAM used across all OSD hosts",
- "format": "short",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "id": 78,
- "interval": null,
- "links": [
- {
- "dashUri": "db/ceph-backend-storage",
- "dashboard": "Ceph Backend Storage",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Ceph OSD Host Performance",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "",
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": " %",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(46, 161, 15, 0)",
- "full": false,
- "lineColor": "rgb(164, 139, 4)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "dsType": "influxdb",
- "groupBy": [],
- "hide": false,
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.pools._all_.read_op_per_sec",
- "policy": "default",
- "query": "SELECT \"value\" FROM \"collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.pools._all_.read_bytes_sec\" WHERE $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- }
- ]
- ],
- "tags": [],
- "target": "percentileOfSeries(collectd.$osd_servers.$domain.memory.percent.used,$percentile)",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "RAM Util.",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(1, 167, 1,1)",
- "rgba(255,165,0,1)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "datasource": "Local",
- "decimals": 0,
- "description": "This panel shows the $percentile%ile disk await time across all OSDs in the cliuster",
- "format": "short",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "id": 36,
- "interval": null,
- "links": [
- {
- "dashUri": "db/latency-by-server",
- "dashboard": "Latency by Server",
- "includeVars": true,
- "targetBlank": true,
- "title": "Latency by Server",
- "type": "dashboard"
- }
- ],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "90",
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": " ms",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "percentileOfSeries(group(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.await),$percentile)",
- "textEditor": true
- }
- ],
- "thresholds": "20,60",
- "title": "Disk Latency",
- "type": "singlestat",
- "valueFontSize": "100%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "average %util": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "description": "Chart shows the disk utilization over the past 15 mins expressed as an average across all OSDs, and at the $percentile%ile.",
- "fill": 1,
- "hideTimeOverride": true,
- "id": 98,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [
- {
- "dashUri": "db/disk-busy-by-server",
- "dashboard": "Disk Busy by Server",
- "includeVars": true,
- "targetBlank": true,
- "title": "Disk Busy by Server",
- "type": "dashboard"
- }
- ],
- "minSpan": 2,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "%util @ 95%ile",
- "fill": 0
- }
- ],
- "spaceLength": 10,
- "span": 2,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(averageSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.util), 'average %util')",
- "textEditor": false
- },
- {
- "refId": "B",
- "target": "alias(percentileOfSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.util, $percentile, 'false'), '%util @ $percentile%ile')"
- }
- ],
- "thresholds": [],
- "timeFrom": "15m",
- "timeShift": null,
- "title": "Disk Utilization",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "percent",
- "label": "",
- "logBase": 1,
- "max": "100",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": false,
- "title": "Dashboard Row",
- "titleSize": "h6"
- }
- ],
- "schemaVersion": 14,
- "style": "dark",
- "tags": [
- "overview"
- ],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "text": "ceph",
- "value": "ceph"
- },
- "datasource": "Local",
- "hide": 0,
- "includeAll": false,
- "label": "Cluster Name",
- "multi": false,
- "name": "cluster_name",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "text": "storage.lab",
- "value": "storage.lab"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "domain",
- "options": [
- {
- "selected": true,
- "text": "storage.lab",
- "value": "storage.lab"
- }
- ],
- "query": "storage.lab",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "95",
- "value": "95"
- },
- "hide": 0,
- "includeAll": false,
- "label": "Percentile",
- "multi": false,
- "name": "percentile",
- "options": [
- {
- "selected": false,
- "text": "80",
- "value": "80"
- },
- {
- "selected": false,
- "text": "85",
- "value": "85"
- },
- {
- "selected": false,
- "text": "90",
- "value": "90"
- },
- {
- "selected": true,
- "text": "95",
- "value": "95"
- },
- {
- "selected": false,
- "text": "98",
- "value": "98"
- }
- ],
- "query": "80,85,90,95,98",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- "hide": 2,
- "includeAll": true,
- "label": null,
- "multi": true,
- "name": "osd_servers",
- "options": [
- {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- {
- "selected": false,
- "text": "obj-osd-1",
- "value": "obj-osd-1"
- },
- {
- "selected": false,
- "text": "obj-osd-2",
- "value": "obj-osd-2"
- },
- {
- "selected": false,
- "text": "obj-osd-3",
- "value": "obj-osd-3"
- }
- ],
- "query": "obj-osd-1,obj-osd-2,obj-osd-3",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "text": "obj-rgw-1",
- "value": "obj-rgw-1"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": true,
- "name": "rgw_servers",
- "options": [
- {
- "selected": true,
- "text": "obj-rgw-1",
- "value": "obj-rgw-1"
- }
- ],
- "query": "obj-rgw-1",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "text": "All",
- "value": "$__all"
- },
- "datasource": "Local",
- "hide": 2,
- "includeAll": true,
- "label": null,
- "multi": true,
- "name": "mon_servers",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.mon_status.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "text": "85",
- "value": "85"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "disk_full_threshold",
- "options": [
- {
- "selected": true,
- "text": "85",
- "value": "85"
- }
- ],
- "query": "85",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "text": "7d",
- "value": "7d"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "growth_window",
- "options": [
- {
- "selected": true,
- "text": "7d",
- "value": "7d"
- }
- ],
- "query": "7d",
- "type": "custom"
- }
- ]
- },
- "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"
- ]
- },
- "timezone": "browser",
- "title": "Ceph - At A Glance",
- "version": 3
- },
- "meta": {
- "canEdit": true,
- "canSave": true,
- "canStar": true,
- "created": "2017-10-11T02:45:33Z",
- "createdBy": "admin@localhost",
- "expires": "0001-01-01T00:00:00Z",
- "isStarred": true,
- "slug": "ceph-at-a-glance",
- "type": "db",
- "updated": "2017-10-11T02:51:00Z",
- "updatedBy": "admin@localhost",
- "version": 3
- }
-}
+++ /dev/null
-{
- "dashboard": {
- "annotations": {
- "list": []
- },
- "editable": false,
- "gnetId": null,
- "graphTooltip": 0,
- "hideControls": true,
- "id": 13,
- "links": [
- {
- "asDropdown": true,
- "icon": "external link",
- "includeVars": true,
- "keepTime": true,
- "tags": [
- "overview"
- ],
- "targetBlank": true,
- "title": "Shortcuts",
- "type": "dashboards"
- }
- ],
- "refresh": "10s",
- "rows": [
- {
- "collapse": false,
- "height": 250,
- "panels": [
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "fontSize": "100%",
- "hideTimeOverride": true,
- "id": 56,
- "links": [],
- "minSpan": 1,
- "pageSize": 100,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": null,
- "desc": false
- },
- "span": 1,
- "styles": [
- {
- "alias": "OSD Id",
- "colorMode": null,
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "pattern": "Metric",
- "sanitize": false,
- "thresholds": [
- ""
- ],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "Status",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "pattern": "Current",
- "thresholds": [
- "0"
- ],
- "type": "hidden",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "hide": false,
- "refId": "B",
- "target": "currentBelow(groupByNode(transformNull(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_state.*.up,99),-2,\"maxSeries\"),0.5)",
- "textEditor": true
- }
- ],
- "timeFrom": "1m",
- "timeShift": null,
- "title": "OSD's Down",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "fontSize": "100%",
- "id": 57,
- "links": [],
- "minSpan": 2,
- "pageSize": null,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": true
- },
- "span": 2,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "% Full",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "pattern": "Host and Disk",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "% Full",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "pattern": "Current",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Host.OSD Id",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(currentAbove(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.osd_percent_used),0),$disk_full_threshold),1,-2)",
- "textEditor": true
- }
- ],
- "title": "Disks Near Full",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "fontSize": "100%",
- "id": 58,
- "links": [],
- "maxDataPoints": "1",
- "minSpan": 3,
- "pageSize": null,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": false
- },
- "span": 3,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Total OSD Capacity",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [],
- "type": "number",
- "unit": "decbytes"
- },
- {
- "alias": "Host Name",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(keepLastValue(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),1,\"sumSeries\")",
- "textEditor": true
- }
- ],
- "title": "Host OSD Raw Capacity",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "fontSize": "100%",
- "id": 59,
- "links": [],
- "maxDataPoints": "10",
- "minSpan": 3,
- "pageSize": null,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": false
- },
- "span": 3,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "# OSDs",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "pattern": "Current",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Host Name",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(keepLastValue(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.num_osds,6),1)",
- "textEditor": true
- }
- ],
- "title": "Host OSD Capacity Breakdown",
- "transform": "timeseries_aggregations",
- "type": "table"
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "Disk/OSD Host Summary",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": "300",
- "panels": [
- {
- "cards": {
- "cardPadding": null,
- "cardRound": null
- },
- "color": {
- "cardColor": "#b4ff00",
- "colorScale": "sqrt",
- "colorScheme": "interpolateRdYlGn",
- "exponent": 0.5,
- "mode": "spectrum"
- },
- "dataFormat": "timeseries",
- "description": "The heatmap categorizes disk utilization into discrete buckets (e.g util 0-5) and shows the frequency of the number of disks that fall within that range as a color. The color chosen depends on the number of disks in the 'bucket', ranging from green (low) to red (high). Hover over a colored block to show the count of disk utilization observations at that point.",
- "heatmap": {},
- "highlightCards": true,
- "id": 53,
- "links": [],
- "minSpan": 6,
- "span": 6,
- "targets": [
- {
- "refId": "A",
- "target": "collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.util",
- "textEditor": true
- }
- ],
- "title": "Disk Drive Utilization Heatmap - $osd_servers",
- "tooltip": {
- "show": true,
- "showHistogram": false
- },
- "type": "heatmap",
- "xAxis": {
- "show": true
- },
- "xBucketNumber": 180,
- "xBucketSize": "",
- "yAxis": {
- "decimals": null,
- "format": "short",
- "logBase": 1,
- "max": "100",
- "min": "0",
- "show": true,
- "splitFactor": null
- },
- "yBucketNumber": null,
- "yBucketSize": 5
- },
- {
- "aliasColors": {
- "Read Throughput": "#629E51",
- "Write Throughput": "#E0752D"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 24,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(sumSeries(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.r_bytes_per_sec), \"Read Throughput\")",
- "textEditor": true
- },
- {
- "refId": "B",
- "target": "alias(sumSeries(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.w_bytes_per_sec), \"Write Throughput\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Disk Throughput - $osd_servers",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "Read Latency": "#629E51",
- "Write Latency": "#E0752D"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 40,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [
- {
- "dashUri": "db/latency-by-server",
- "dashboard": "Latency by Server",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Latency by Server",
- "type": "dashboard"
- }
- ],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(percentileOfSeries(group(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.r_await),$percentile), \"Read Latency\")",
- "textEditor": true
- },
- {
- "refId": "C",
- "target": "alias(percentileOfSeries(group(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.w_await),$percentile), \"Write Latency\")",
- "textEditor": true
- }
- ],
- "thresholds": [
- {
- "colorMode": "custom",
- "fill": false,
- "line": true,
- "lineColor": "rgba(178, 0, 0, 0.29)",
- "op": "gt",
- "value": 50
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Disk Latency - $osd_servers OSDs @ $percentile%ile",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "disk busy %": "#3F6833"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 43,
- "legend": {
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [
- {
- "dashUri": "db/disk-busy-by-server",
- "dashboard": "Disk Busy by Server",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Disk Busy by Server",
- "type": "dashboard"
- }
- ],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(percentileOfSeries(group(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.util),$percentile), \"disk busy %\")",
- "textEditor": true
- }
- ],
- "thresholds": [
- {
- "colorMode": "custom",
- "fill": false,
- "line": true,
- "lineColor": "rgba(178, 0, 0, 0.29)",
- "op": "gt",
- "value": 80
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Disk Utilization - $osd_servers OSDs at $percentile%ile",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": "100",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {
- "IOPS/spindle": "#3F6833"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 46,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(percentileOfSeries(group(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.iops),$percentile),\"IOPS/spindle\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "IOPS per Disk @ $percentile%ile - $osd_servers OSDs",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "IOPS": "#3F6833"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 47,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [
- {
- "dashUri": "db/iops-by-server",
- "dashboard": "IOPS by Server",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "IOPS by Server",
- "type": "dashboard"
- }
- ],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(sumSeries(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.iops),\"IOPS\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Total Disk IOPS - $osd_servers OSDs",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "Disk/OSD Load Summary",
- "titleSize": "h5"
- },
- {
- "collapse": false,
- "height": 250,
- "panels": [
- {
- "aliasColors": {
- "CPU Busy": "#447EBC",
- "CPU Busy @ 95%ile": "#890F02",
- "Cluster-wide CPU Busy @ 95%ile": "#890F02",
- "Max CPU Busy": "#BF1B00",
- "Max CPU Busy - all OSD Hosts": "#BF1B00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 3,
- "id": 44,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Cluster-wide CPU Busy @ 95%ile",
- "fill": 0
- }
- ],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(percentileOfSeries(groupByNode(collectd.*.$domain.cpu.percent.{wait,interrupt,nice,user,system}, 1, \"sumSeries\"),$percentile),\"Cluster-wide CPU Busy @ $percentile%ile\")",
- "textEditor": true
- },
- {
- "hide": false,
- "refId": "B",
- "target": "alias(averageSeries(groupByNode(collectd.$osd_servers.$domain.cpu.percent.{wait,interrupt,nice,user,system}, 1, \"sumSeries\")),\"Average OSD Host(s) CPU Busy\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "CPU Utilization - $osd_servers",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": "100",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "Network load (rx+tx)": "#3F6833"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 49,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [
- {
- "dashUri": "db/network-usage-by-node",
- "dashboard": "Network Usage by Node",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "Network Load by Node",
- "type": "dashboard"
- }
- ],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "hide": true,
- "refId": "A",
- "target": "collectd.$osd_servers.$domain.interface.{en,eth,bond}*.if_octets.rx"
- },
- {
- "hide": true,
- "refId": "B",
- "target": "collectd.$osd_servers.$domain.interface.{en,eth,bond}*.if_octets.tx"
- },
- {
- "refId": "C",
- "target": "alias(sumSeries(#A,#B), \"Network load (rx+tx)\")",
- "targetFull": "alias(sumSeries(collectd.$osd_servers.$domain.interface.{en,eth,bond}*.if_octets.rx,collectd.$osd_servers.$domain.interface.{en,eth,bond}*.if_octets.tx), \"Network load (rx+tx)\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Network Load - $osd_servers",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "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
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "OSD Host CPU and Network Load",
- "titleSize": "h5"
- }
- ],
- "schemaVersion": 14,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "ceph",
- "value": "ceph"
- },
- "datasource": "Local",
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "cluster_name",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "test.lab",
- "value": "test.lab"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "domain",
- "options": [
- {
- "selected": true,
- "text": "test.lab",
- "value": "test.lab"
- }
- ],
- "query": "test.lab",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "95",
- "value": "95"
- },
- "hide": 0,
- "includeAll": false,
- "label": "Percentile",
- "multi": false,
- "name": "percentile",
- "options": [
- {
- "selected": false,
- "text": "80",
- "value": "80"
- },
- {
- "selected": false,
- "text": "85",
- "value": "85"
- },
- {
- "selected": false,
- "text": "90",
- "value": "90"
- },
- {
- "selected": true,
- "text": "95",
- "value": "95"
- },
- {
- "selected": false,
- "text": "98",
- "value": "98"
- }
- ],
- "query": "80,85,90,95,98",
- "type": "custom"
- },
- {
- "allValue": "",
- "current": {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- "hide": 0,
- "includeAll": true,
- "label": "OSD Hostname",
- "multi": true,
- "name": "osd_servers",
- "options": [
- {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- {
- "selected": false,
- "text": "ceph-1",
- "value": "ceph-1"
- },
- {
- "selected": false,
- "text": "ceph-2",
- "value": "ceph-2"
- },
- {
- "selected": false,
- "text": "ceph-3",
- "value": "ceph-3"
- }
- ],
- "query": "ceph-1,ceph-2,ceph-3",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "85",
- "value": "85"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "disk_full_threshold",
- "options": [
- {
- "selected": true,
- "text": "85",
- "value": "85"
- }
- ],
- "query": "85",
- "type": "custom"
- }
- ]
- },
- "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"
- ]
- },
- "timezone": "browser",
- "title": "Ceph Backend Storage",
- "version": 26
- },
- "meta": {
- "canEdit": true,
- "canSave": true,
- "canStar": true,
- "created": "2017-08-03T21:42:28Z",
- "createdBy": "admin",
- "expires": "0001-01-01T00:00:00Z",
- "slug": "ceph-backend-storage",
- "type": "db",
- "updated": "2017-09-12T23:43:51Z",
- "updatedBy": "admin",
- "version": 26
- }
-}
\ No newline at end of file
+++ /dev/null
-{
- "meta": {
- "updated": "2017-08-21T04:31:01Z",
- "created": "2017-08-03T21:42:28Z",
- "canStar": true,
- "expires": "0001-01-01T00:00:00Z",
- "canSave": true,
- "canEdit": true,
- "version": 30,
- "createdBy": "admin",
- "updatedBy": "admin",
- "type": "db",
- "slug": "ceph-cluster"
- },
- "dashboard": {
- "style": "dark",
- "rows": [
- {
- "repeat": null,
- "titleSize": "h5",
- "repeatIteration": null,
- "title": "Cluster Configuration",
- "height": "100",
- "repeatRowId": null,
- "panels": [
- {
- "span": 1,
- "links": [],
- "title": "",
- "transparent": true,
- "content": "",
- "mode": "markdown",
- "minSpan": 1,
- "type": "text",
- "id": 74
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "links": [],
- "valueMaps": [
- {
- "text": "N/A",
- "value": "null",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "",
- "rangeMaps": [
- {
- "to": "null",
- "from": "null",
- "text": "N/A"
- }
- ],
- "nullPointMode": "connected",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "gauge": {
- "thresholdMarkers": true,
- "thresholdLabels": false,
- "minValue": 0,
- "maxValue": 100,
- "show": false
- },
- "targets": [
- {
- "dsType": "influxdb",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_mon), \"max\")),\"mons\")",
- "tags": [],
- "groupBy": [],
- "textEditor": true,
- "resultFormat": "time_series",
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_pool",
- "policy": "default",
- "refId": "A",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- }
- ]
- ]
- }
- ],
- "maxDataPoints": 100,
- "mappingType": 1,
- "span": 1,
- "colorBackground": false,
- "title": "MONs",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "id": 73,
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "80%",
- "format": "none",
- "cacheTimeout": null,
- "postfix": "",
- "decimals": 0,
- "interval": null,
- "prefix": "",
- "datasource": "Local",
- "nullText": null,
- "minSpan": 1,
- "postfixFontSize": "50%",
- "colorValue": false
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "links": [],
- "valueMaps": [
- {
- "text": "N/A",
- "value": "null",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "",
- "rangeMaps": [
- {
- "text": "N/A",
- "from": "null",
- "to": "null"
- }
- ],
- "nullPointMode": "connected",
- "prefix": "",
- "gauge": {
- "thresholdMarkers": true,
- "thresholdLabels": false,
- "minValue": 0,
- "maxValue": 100,
- "show": false
- },
- "id": 68,
- "maxDataPoints": "",
- "mappingType": 1,
- "span": 1,
- "colorBackground": false,
- "title": "OSD Hosts",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "targets": [
- {
- "textEditor": true,
- "target": "maxSeries(consolidateBy(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_osd_hosts, \"max\"))",
- "refId": "A"
- }
- ],
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "80%",
- "format": "none",
- "cacheTimeout": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "interval": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "nullText": null,
- "minSpan": 1,
- "decimals": 0,
- "colorValue": false
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "colorBackground": false,
- "valueMaps": [
- {
- "text": "N/A",
- "value": "null",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "",
- "rangeMaps": [
- {
- "text": "N/A",
- "from": "null",
- "to": "null"
- }
- ],
- "nullPointMode": "connected",
- "prefix": "",
- "gauge": {
- "thresholdMarkers": true,
- "thresholdLabels": false,
- "minValue": 0,
- "maxValue": 100,
- "show": false
- },
- "id": 72,
- "maxDataPoints": 100,
- "mappingType": 1,
- "span": 1,
- "links": [],
- "title": "MDS",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "targets": [
- {
- "dsType": "influxdb",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_mds_up), \"max\")),\"mds\")",
- "tags": [],
- "refId": "A",
- "textEditor": true,
- "resultFormat": "time_series",
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_pool",
- "policy": "default",
- "groupBy": [],
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- }
- ]
- ]
- }
- ],
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "80%",
- "format": "none",
- "cacheTimeout": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "interval": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "nullText": null,
- "minSpan": 1,
- "decimals": 0,
- "colorValue": false
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "links": [],
- "valueMaps": [
- {
- "text": "0",
- "value": "null",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "",
- "rangeMaps": [
- {
- "text": "N/A",
- "from": "null",
- "to": "null"
- }
- ],
- "nullPointMode": "connected",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "gauge": {
- "thresholdMarkers": true,
- "thresholdLabels": false,
- "minValue": 0,
- "maxValue": 100,
- "show": false
- },
- "targets": [
- {
- "textEditor": true,
- "refId": "A",
- "target": "countSeries(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.put)"
- }
- ],
- "maxDataPoints": "",
- "mappingType": 1,
- "span": 1,
- "colorBackground": false,
- "title": "RGW Hosts",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "id": 69,
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "80%",
- "format": "none",
- "cacheTimeout": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "interval": null,
- "prefix": "",
- "datasource": "Local",
- "nullText": null,
- "minSpan": 1,
- "decimals": 0,
- "colorValue": false
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "links": [],
- "valueMaps": [
- {
- "text": "0",
- "value": "null",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "",
- "rangeMaps": [
- {
- "text": "N/A",
- "from": "null",
- "to": "null"
- }
- ],
- "nullPointMode": "connected",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "gauge": {
- "thresholdMarkers": true,
- "thresholdLabels": false,
- "minValue": 0,
- "maxValue": 100,
- "show": false
- },
- "id": 71,
- "maxDataPoints": "",
- "mappingType": 1,
- "span": 1,
- "colorBackground": false,
- "title": "iSCSI Hosts",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "targets": [
- {
- "textEditor": true,
- "refId": "A",
- "target": "countSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_name.*)"
- }
- ],
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "80%",
- "format": "none",
- "cacheTimeout": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "interval": null,
- "prefix": "",
- "datasource": "Local",
- "nullText": null,
- "minSpan": 1,
- "decimals": 0,
- "colorValue": false
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "links": [],
- "valueMaps": [
- {
- "text": "N/A",
- "value": "null",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "",
- "rangeMaps": [
- {
- "text": "N/A",
- "from": "null",
- "to": "null"
- }
- ],
- "nullPointMode": "connected",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "gauge": {
- "thresholdMarkers": true,
- "show": false,
- "minValue": 0,
- "maxValue": 100,
- "thresholdLabels": false
- },
- "id": 67,
- "maxDataPoints": 100,
- "mappingType": 1,
- "span": 2,
- "colorBackground": false,
- "title": "OSDs",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "targets": [
- {
- "dsType": "influxdb",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_osd), \"max\")),\"total\")",
- "tags": [],
- "refId": "A",
- "textEditor": true,
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- }
- ]
- ],
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_pool",
- "policy": "default",
- "groupBy": [],
- "resultFormat": "time_series"
- }
- ],
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "80%",
- "format": "none",
- "cacheTimeout": null,
- "postfix": "",
- "decimals": 0,
- "interval": null,
- "prefix": "",
- "datasource": "Local",
- "nullText": null,
- "minSpan": 2,
- "postfixFontSize": "50%",
- "colorValue": false
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "colorBackground": false,
- "valueMaps": [
- {
- "text": "N/A",
- "value": "null",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "",
- "rangeMaps": [
- {
- "text": "N/A",
- "from": "null",
- "to": "null"
- }
- ],
- "nullPointMode": "connected",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "gauge": {
- "thresholdMarkers": true,
- "thresholdLabels": false,
- "minValue": 0,
- "maxValue": 100,
- "show": false
- },
- "id": 17,
- "maxDataPoints": 100,
- "mappingType": 1,
- "span": 1,
- "links": [],
- "title": "Pools",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "targets": [
- {
- "dsType": "influxdb",
- "target": "maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_pool)",
- "tags": [],
- "groupBy": [],
- "textEditor": true,
- "select": [
- [
- {
- "type": "field",
- "params": [
- "value"
- ]
- }
- ]
- ],
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_pool",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series"
- }
- ],
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "80%",
- "format": "none",
- "cacheTimeout": null,
- "postfix": "",
- "interval": null,
- "prefix": "",
- "datasource": "Local",
- "nullText": null,
- "minSpan": 1,
- "postfixFontSize": "50%",
- "colorValue": false
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "links": [],
- "valueMaps": [
- {
- "text": "N/A",
- "value": "null",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "",
- "rangeMaps": [
- {
- "text": "N/A",
- "from": "null",
- "to": "null"
- }
- ],
- "nullPointMode": "connected",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "gauge": {
- "show": false,
- "thresholdMarkers": true,
- "minValue": 0,
- "maxValue": 100,
- "thresholdLabels": false
- },
- "targets": [
- {
- "textEditor": true,
- "refId": "A",
- "target": "alias(keepLastValue(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_avail), \"max\")),\"freespacel\")"
- }
- ],
- "maxDataPoints": 100,
- "mappingType": 1,
- "span": 2,
- "colorBackground": false,
- "title": "Unused Capacity",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "id": 70,
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "80%",
- "format": "decbytes",
- "cacheTimeout": null,
- "postfix": "",
- "decimals": 1,
- "interval": null,
- "prefix": "",
- "datasource": null,
- "nullText": null,
- "minSpan": 2,
- "postfixFontSize": "50%",
- "colorValue": false
- }
- ],
- "showTitle": true,
- "collapse": false
- },
- {
- "repeat": null,
- "titleSize": "h5",
- "repeatIteration": null,
- "title": "Cluster Flags",
- "height": "100",
- "repeatRowId": null,
- "panels": [
- {
- "span": 2,
- "links": [],
- "title": "",
- "id": 66,
- "content": "",
- "mode": "markdown",
- "minSpan": 2,
- "type": "text",
- "transparent": true
- },
- {
- "span": 1,
- "links": [],
- "title": "",
- "height": "95",
- "content": "<h2 style=\"text-align: center;\">Cluster Flags:</h2>",
- "mode": "html",
- "minSpan": 1,
- "type": "text",
- "id": 58,
- "transparent": true
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "timeFrom": "1m",
- "links": [],
- "valueMaps": [
- {
- "text": "N/A",
- "value": "null",
- "op": "="
- },
- {
- "text": "ENABLED",
- "value": "0",
- "op": "="
- },
- {
- "text": "ACTIVE",
- "value": "1",
- "op": "="
- },
- {
- "text": "DISABLED",
- "value": "2",
- "op": "="
- },
- {
- "text": "NODATA",
- "value": "-1",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "1,2",
- "rangeMaps": [
- {
- "text": "N/A",
- "from": "null",
- "to": "null"
- }
- ],
- "nullPointMode": "connected",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "gauge": {
- "thresholdMarkers": true,
- "minValue": 0,
- "maxValue": 100,
- "thresholdLabels": false,
- "show": false
- },
- "id": 57,
- "maxDataPoints": "",
- "mappingType": 1,
- "span": 1,
- "colorBackground": true,
- "title": "SCRUB",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "targets": [
- {
- "textEditor": true,
- "refId": "A",
- "target": "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.scrub),\"maxSeries\"))"
- }
- ],
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "40%",
- "description": "Scrub activity takes place daily basis across the OSD's and performs object size and attribute checks. Scrub activity can be controlled with the \"ceph osd scrub\" command.",
- "format": "none",
- "cacheTimeout": null,
- "height": "95",
- "timeShift": null,
- "interval": null,
- "prefix": "",
- "postfix": "",
- "hideTimeOverride": true,
- "datasource": "Local",
- "nullText": null,
- "minSpan": 1,
- "postfixFontSize": "50%",
- "colorValue": false
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "timeFrom": "1m",
- "colorBackground": true,
- "valueMaps": [
- {
- "text": "N/A",
- "value": "null",
- "op": "="
- },
- {
- "text": "ENABLED",
- "value": "0",
- "op": "="
- },
- {
- "text": "ACTIVE",
- "value": "1",
- "op": "="
- },
- {
- "text": "DISABLED",
- "value": "2",
- "op": "="
- },
- {
- "text": "NODATA",
- "value": "-1",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "1,2",
- "rangeMaps": [
- {
- "text": "N/A",
- "from": "null",
- "to": "null"
- }
- ],
- "height": "95",
- "prefix": "",
- "gauge": {
- "thresholdMarkers": true,
- "thresholdLabels": false,
- "minValue": 0,
- "maxValue": 100,
- "show": false
- },
- "targets": [
- {
- "textEditor": true,
- "refId": "A",
- "target": "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.deep_scrub),\"maxSeries\"))"
- }
- ],
- "maxDataPoints": "",
- "mappingType": 1,
- "span": 1,
- "links": [],
- "title": "DEEP SCRUB",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "id": 59,
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "40%",
- "description": "Deep scrub acts on the objects within placement groups (PGs). Objects are read, and checksum's compared to protect against silent bit-rot events. Although a weekly activity, in large clusters is normal to see deep-scrub active on a daily basis. Scrub activity can be controlled with the \"ceph osd scrub\" command.",
- "format": "none",
- "hideTimeOverride": true,
- "nullPointMode": "connected",
- "postfix": "",
- "interval": null,
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "cacheTimeout": null,
- "datasource": "Local",
- "nullText": null,
- "minSpan": 1,
- "postfixFontSize": "50%",
- "colorValue": false
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "timeFrom": "1m",
- "links": [],
- "valueMaps": [
- {
- "text": "N/A",
- "value": "null",
- "op": "="
- },
- {
- "text": "ENABLED",
- "value": "0",
- "op": "="
- },
- {
- "text": "ACTIVE",
- "value": "1",
- "op": "="
- },
- {
- "text": "DISABLED",
- "value": "2",
- "op": "="
- },
- {
- "text": "NODATA",
- "value": "-1",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "1,2",
- "rangeMaps": [
- {
- "text": "N/A",
- "from": "null",
- "to": "null"
- }
- ],
- "nullPointMode": "connected",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "gauge": {
- "show": false,
- "thresholdMarkers": true,
- "minValue": 0,
- "maxValue": 100,
- "thresholdLabels": false
- },
- "id": 60,
- "maxDataPoints": "",
- "mappingType": 1,
- "span": 1,
- "colorBackground": true,
- "title": "RECOVERY",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "targets": [
- {
- "textEditor": true,
- "target": "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.recovery),\"maxSeries\"))",
- "refId": "A"
- }
- ],
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "40%",
- "description": "With the recovery flag enabled, disruption in the cluster will result in data being recreated to freespace within the cluster to honor the pool's protection schema. Under some circumstances, you may use the norecover flag to prevent automatic recovery.",
- "format": "none",
- "cacheTimeout": null,
- "height": "95",
- "postfix": "",
- "interval": null,
- "prefix": "",
- "hideTimeOverride": true,
- "datasource": "Local",
- "nullText": null,
- "minSpan": 1,
- "postfixFontSize": "50%",
- "colorValue": false
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "timeFrom": "1m",
- "links": [],
- "valueMaps": [
- {
- "text": "N/A",
- "value": "null",
- "op": "="
- },
- {
- "text": "ENABLED",
- "value": "0",
- "op": "="
- },
- {
- "text": "ACTIVE",
- "value": "1",
- "op": "="
- },
- {
- "text": "DISABLED",
- "value": "2",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "1,2",
- "rangeMaps": [
- {
- "to": "null",
- "from": "null",
- "text": "N/A"
- }
- ],
- "height": "95",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "gauge": {
- "thresholdMarkers": true,
- "minValue": 0,
- "maxValue": 100,
- "thresholdLabels": false,
- "show": false
- },
- "id": 64,
- "maxDataPoints": "",
- "mappingType": 1,
- "span": 1,
- "colorBackground": true,
- "title": "BACKFILL",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "targets": [
- {
- "textEditor": true,
- "target": "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.backfill),\"maxSeries\"))",
- "refId": "A"
- }
- ],
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "40%",
- "format": "none",
- "cacheTimeout": null,
- "nullPointMode": "connected",
- "postfix": "",
- "interval": null,
- "prefix": "",
- "hideTimeOverride": true,
- "datasource": "Local",
- "nullText": null,
- "minSpan": 1,
- "postfixFontSize": "50%",
- "colorValue": false
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "timeFrom": "1m",
- "colorBackground": true,
- "valueMaps": [
- {
- "text": "N/A",
- "value": "null",
- "op": "="
- },
- {
- "text": "ENABLED",
- "value": "0",
- "op": "="
- },
- {
- "text": "ACTIVE",
- "value": "1",
- "op": "="
- },
- {
- "text": "DISABLED",
- "value": "2",
- "op": "="
- },
- {
- "text": "NODATA",
- "value": "-1",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "1,2",
- "rangeMaps": [
- {
- "text": "N/A",
- "from": "null",
- "to": "null"
- }
- ],
- "height": "95",
- "prefix": "",
- "gauge": {
- "thresholdMarkers": true,
- "show": false,
- "minValue": 0,
- "maxValue": 100,
- "thresholdLabels": false
- },
- "targets": [
- {
- "textEditor": true,
- "refId": "A",
- "target": "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.rebalance),\"maxSeries\"))"
- }
- ],
- "maxDataPoints": "",
- "mappingType": 1,
- "span": 1,
- "links": [],
- "title": "REBALANCE",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "id": 61,
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "40%",
- "format": "none",
- "hideTimeOverride": true,
- "nullPointMode": "connected",
- "postfix": "",
- "interval": null,
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "cacheTimeout": null,
- "datasource": "Local",
- "nullText": null,
- "minSpan": 1,
- "postfixFontSize": "50%",
- "colorValue": false
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "timeFrom": "1m",
- "colorBackground": true,
- "valueMaps": [
- {
- "text": "N/A",
- "value": "null",
- "op": "="
- },
- {
- "text": "ENABLED",
- "value": "0",
- "op": "="
- },
- {
- "text": "ACTIVE",
- "value": "1",
- "op": "="
- },
- {
- "text": "DISABLED",
- "value": "2",
- "op": "="
- },
- {
- "text": "NODATA",
- "value": "-1",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "1,2",
- "rangeMaps": [
- {
- "to": "null",
- "from": "null",
- "text": "N/A"
- }
- ],
- "height": "95",
- "prefix": "",
- "gauge": {
- "thresholdMarkers": true,
- "thresholdLabels": false,
- "minValue": 0,
- "maxValue": 100,
- "show": false
- },
- "targets": [
- {
- "textEditor": true,
- "target": "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.out),\"maxSeries\"))",
- "refId": "A"
- }
- ],
- "maxDataPoints": "",
- "mappingType": 1,
- "span": 1,
- "links": [],
- "title": "OUT",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "id": 62,
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "40%",
- "description": "The OUT flag setting allows the mon's to mark OSD's as out of the configuration when they stop sending hearbeats to the mon's. By marking them OUT, recovery takes place. However, for planned maintenance you can set the cluster to noout to disable this behavior.",
- "format": "none",
- "hideTimeOverride": true,
- "nullPointMode": "connected",
- "postfix": "",
- "interval": null,
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "cacheTimeout": null,
- "datasource": "Local",
- "nullText": null,
- "minSpan": 1,
- "postfixFontSize": "50%",
- "colorValue": false
- },
- {
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "timeFrom": "1m",
- "links": [],
- "valueMaps": [
- {
- "text": "N/A",
- "value": "null",
- "op": "="
- },
- {
- "text": "ENABLED",
- "value": "0",
- "op": "="
- },
- {
- "text": "ACTIVE",
- "value": "1",
- "op": "="
- },
- {
- "text": "DISABLED",
- "value": "2",
- "op": "="
- },
- {
- "text": "NODATA",
- "value": "-1",
- "op": "="
- }
- ],
- "tableColumn": "",
- "thresholds": "1,2",
- "rangeMaps": [
- {
- "to": "null",
- "from": "null",
- "text": "N/A"
- }
- ],
- "height": "95",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "gauge": {
- "thresholdMarkers": true,
- "thresholdLabels": false,
- "minValue": 0,
- "maxValue": 100,
- "show": false
- },
- "id": 63,
- "maxDataPoints": "",
- "mappingType": 1,
- "span": 1,
- "colorBackground": true,
- "title": "DOWN",
- "sparkline": {
- "full": false,
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "targets": [
- {
- "textEditor": true,
- "refId": "A",
- "target": "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.down),\"maxSeries\"))"
- }
- ],
- "prefixFontSize": "50%",
- "valueName": "current",
- "type": "singlestat",
- "valueFontSize": "40%",
- "description": "The down feature allows OSD's to mark their peers as DOWN when they are not reachable. However, if there is a poor network or planned outages, you may want to set this flag to nodown to prevent OSD's flapping between up/down states",
- "format": "none",
- "cacheTimeout": null,
- "nullPointMode": "connected",
- "postfix": "",
- "interval": null,
- "prefix": "",
- "hideTimeOverride": true,
- "datasource": "Local",
- "nullText": null,
- "minSpan": 1,
- "postfixFontSize": "50%",
- "colorValue": false
- }
- ],
- "showTitle": false,
- "collapse": false
- },
- {
- "repeat": null,
- "titleSize": "h5",
- "collapse": true,
- "title": "Cluster Capacity",
- "height": "250",
- "repeatRowId": null,
- "panels": [
- {
- "bars": false,
- "timeFrom": "7d",
- "links": [],
- "thresholds": [],
- "spaceLength": 10,
- "nullPointMode": "connected",
- "renderer": "flot",
- "linewidth": 1,
- "steppedLine": false,
- "targets": [
- {
- "dsType": "influxdb",
- "target": "alias(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes_used), 'Used')",
- "tags": [],
- "groupBy": [],
- "alias": "Used",
- "textEditor": true,
- "resultFormat": "time_series",
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.osd_bytes_used",
- "policy": "default",
- "refId": "B",
- "select": [
- [
- {
- "type": "field",
- "params": [
- "value"
- ]
- }
- ]
- ]
- },
- {
- "dsType": "influxdb",
- "target": "alias(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_bytes), 'Raw')",
- "tags": [],
- "refId": "A",
- "alias": "Raw Capacity",
- "textEditor": true,
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- }
- ]
- ],
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.osd_bytes",
- "policy": "default",
- "groupBy": [],
- "resultFormat": "time_series"
- }
- ],
- "fill": 1,
- "span": 4,
- "title": "Cluster Capacity - Past 7 Days",
- "tooltip": {
- "sort": 1,
- "shared": true,
- "value_type": "individual"
- },
- "id": 3,
- "yaxes": [
- {
- "logBase": 1,
- "show": true,
- "max": null,
- "format": "decbytes",
- "min": "0",
- "label": null
- },
- {
- "logBase": 1,
- "min": null,
- "max": null,
- "format": "short",
- "label": null,
- "show": false
- }
- ],
- "xaxis": {
- "buckets": null,
- "show": true,
- "values": [],
- "mode": "time",
- "name": null
- },
- "seriesOverrides": [],
- "percentage": false,
- "type": "graph",
- "dashes": false,
- "description": "Shows the Capacity within the cluster over the past 7 days",
- "hideTimeOverride": true,
- "dashLength": 10,
- "stack": false,
- "timeShift": null,
- "aliasColors": {
- "Raw": "#3F6833",
- "Used": "#E0752D"
- },
- "lines": true,
- "legend": {
- "avg": false,
- "show": true,
- "max": false,
- "min": false,
- "current": true,
- "values": true,
- "total": false
- },
- "points": false,
- "datasource": "Local",
- "pointradius": 5,
- "minSpan": 6
- },
- {
- "bars": false,
- "timeFrom": "7d",
- "links": [],
- "thresholds": [],
- "spaceLength": 10,
- "nullPointMode": "connected",
- "renderer": "flot",
- "linewidth": 1,
- "steppedLine": false,
- "targets": [
- {
- "dsType": "influxdb",
- "target": "groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.*.percent_used, -2, 'maxSeries')",
- "tags": [],
- "refId": "A",
- "alias": "Used",
- "textEditor": true,
- "resultFormat": "time_series",
- "policy": "default",
- "groupBy": [],
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- }
- ]
- ]
- }
- ],
- "fill": 1,
- "span": 4,
- "title": "Pool Capacity - Past 7 Days",
- "tooltip": {
- "sort": 2,
- "shared": true,
- "value_type": "individual"
- },
- "id": 82,
- "points": false,
- "xaxis": {
- "buckets": null,
- "values": [],
- "mode": "time",
- "name": null,
- "show": true
- },
- "seriesOverrides": [],
- "percentage": false,
- "type": "graph",
- "dashes": false,
- "description": "Shows the Capacity within each pool over the past 7 days",
- "hideTimeOverride": true,
- "dashLength": 10,
- "stack": false,
- "timeShift": null,
- "aliasColors": {
- "Raw": "#3F6833",
- "Used": "#E0752D"
- },
- "lines": true,
- "legend": {
- "avg": false,
- "min": false,
- "max": false,
- "show": true,
- "current": false,
- "values": false,
- "alignAsTable": false,
- "total": false
- },
- "yaxes": [
- {
- "logBase": 1,
- "format": "percent",
- "max": "100",
- "min": "0",
- "label": "",
- "show": true
- },
- {
- "logBase": 1,
- "format": "short",
- "max": null,
- "min": null,
- "label": null,
- "show": false
- }
- ],
- "datasource": "Local",
- "pointradius": 5,
- "minSpan": 6,
- "decimals": 2
- },
- {
- "bars": false,
- "timeFrom": "7d",
- "links": [],
- "thresholds": [],
- "spaceLength": 10,
- "nullPointMode": "connected",
- "renderer": "flot",
- "linewidth": 1,
- "steppedLine": false,
- "targets": [
- {
- "dsType": "influxdb",
- "target": "alias(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_object), 'RADOS Objects')",
- "tags": [],
- "groupBy": [],
- "alias": "Used",
- "textEditor": true,
- "resultFormat": "time_series",
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.osd_bytes_used",
- "policy": "default",
- "refId": "B",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- }
- ]
- ]
- }
- ],
- "fill": 1,
- "span": 4,
- "title": "RADOS Object History - Past 7 Days",
- "tooltip": {
- "sort": 1,
- "shared": true,
- "value_type": "individual"
- },
- "id": 65,
- "yaxes": [
- {
- "logBase": 1,
- "min": "0",
- "max": null,
- "format": "short",
- "label": "RADOS Object Count",
- "show": true
- },
- {
- "logBase": 1,
- "min": null,
- "max": null,
- "format": "short",
- "show": false,
- "label": null
- }
- ],
- "xaxis": {
- "mode": "time",
- "buckets": null,
- "values": [],
- "name": null,
- "show": true
- },
- "seriesOverrides": [],
- "percentage": false,
- "type": "graph",
- "dashes": false,
- "description": "Shows the Capacity within the cluster over the past 7 days",
- "hideTimeOverride": true,
- "dashLength": 10,
- "stack": false,
- "timeShift": null,
- "aliasColors": {
- "Raw": "#3F6833",
- "Used": "#E0752D"
- },
- "lines": true,
- "legend": {
- "total": false,
- "min": false,
- "max": false,
- "show": true,
- "current": true,
- "values": true,
- "avg": false
- },
- "points": false,
- "datasource": "Local",
- "pointradius": 5,
- "minSpan": 6,
- "decimals": 2
- }
- ],
- "showTitle": true,
- "repeatIteration": null
- },
- {
- "repeat": null,
- "titleSize": "h5",
- "repeatIteration": null,
- "title": "Ceph Version Configuration",
- "height": 250,
- "repeatRowId": null,
- "panels": [
- {
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "type": "date",
- "pattern": "Time"
- },
- {
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "colorMode": null,
- "thresholds": [],
- "alias": "Version",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 1,
- "pattern": "Current",
- "type": "number",
- "unit": "short"
- },
- {
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Metric",
- "thresholds": [],
- "alias": "Host",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "colorMode": null,
- "type": "number",
- "unit": "short"
- },
- {
- "pattern": "/.*/",
- "thresholds": [],
- "alias": "",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "colorMode": null,
- "type": "number",
- "unit": "short"
- }
- ],
- "sort": {
- "col": 0,
- "desc": true
- },
- "timeFrom": "2m",
- "span": 2,
- "pageSize": 10,
- "links": [],
- "title": "MON Versions",
- "timeShift": null,
- "transform": "timeseries_aggregations",
- "showHeader": true,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.ceph_version, 1)"
- }
- ],
- "hideTimeOverride": true,
- "fontSize": "100%",
- "id": 75,
- "minSpan": 2,
- "type": "table",
- "scroll": true,
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ]
- },
- {
- "span": 1,
- "links": [],
- "title": "",
- "transparent": true,
- "content": "",
- "mode": "markdown",
- "minSpan": 1,
- "type": "text",
- "id": 79
- },
- {
- "styles": [
- {
- "pattern": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "type": "date",
- "alias": "Time"
- },
- {
- "type": "number",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "colorMode": null,
- "thresholds": [],
- "alias": "Version",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "pattern": "Current",
- "decimals": 1,
- "unit": "short"
- },
- {
- "type": "number",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Metric",
- "thresholds": [],
- "alias": "Host",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "colorMode": null,
- "decimals": 2,
- "unit": "short"
- },
- {
- "pattern": "/.*/",
- "thresholds": [],
- "alias": "",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "colorMode": null,
- "type": "number",
- "unit": "short"
- }
- ],
- "sort": {
- "col": 0,
- "desc": true
- },
- "timeFrom": "2m",
- "span": 2,
- "pageSize": 10,
- "links": [],
- "title": "OSD Versions",
- "timeShift": null,
- "transform": "timeseries_aggregations",
- "showHeader": true,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.ceph_version, 1)"
- }
- ],
- "hideTimeOverride": true,
- "fontSize": "100%",
- "id": 76,
- "minSpan": 2,
- "type": "table",
- "scroll": true,
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ]
- },
- {
- "span": 1,
- "links": [],
- "title": "",
- "transparent": true,
- "content": "",
- "mode": "markdown",
- "minSpan": 1,
- "type": "text",
- "id": 80
- },
- {
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "type": "date",
- "pattern": "Time"
- },
- {
- "type": "number",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Current",
- "thresholds": [],
- "alias": "Version",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "colorMode": null,
- "decimals": 1,
- "unit": "short"
- },
- {
- "type": "number",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Metric",
- "thresholds": [],
- "alias": "Host",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "colorMode": null,
- "decimals": 2,
- "unit": "short"
- },
- {
- "type": "number",
- "pattern": "/.*/",
- "thresholds": [],
- "alias": "",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "colorMode": null,
- "decimals": 2,
- "unit": "short"
- }
- ],
- "sort": {
- "col": 0,
- "desc": true
- },
- "timeFrom": "2m",
- "span": 2,
- "pageSize": 10,
- "links": [],
- "title": "RGW Versions",
- "transform": "timeseries_aggregations",
- "showHeader": true,
- "targets": [
- {
- "textEditor": true,
- "target": "aliasByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.rgw.ceph_version, 1)",
- "refId": "A"
- }
- ],
- "hideTimeOverride": true,
- "fontSize": "100%",
- "id": 77,
- "minSpan": 2,
- "type": "table",
- "scroll": true,
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ]
- },
- {
- "span": 1,
- "links": [],
- "title": "",
- "id": 81,
- "content": "",
- "mode": "markdown",
- "minSpan": 1,
- "type": "text",
- "transparent": true
- },
- {
- "styles": [
- {
- "pattern": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "type": "date",
- "alias": "Time"
- },
- {
- "type": "number",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Current",
- "thresholds": [],
- "alias": "Version",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "colorMode": null,
- "decimals": 1,
- "unit": "short"
- },
- {
- "type": "number",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "colorMode": null,
- "thresholds": [],
- "alias": "Host",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "pattern": "Metric",
- "decimals": 2,
- "unit": "short"
- },
- {
- "pattern": "/.*/",
- "thresholds": [],
- "alias": "",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "colorMode": null,
- "type": "number",
- "unit": "short"
- }
- ],
- "sort": {
- "col": 0,
- "desc": true
- },
- "timeFrom": "2m",
- "span": 2,
- "links": [],
- "pageSize": 10,
- "title": "iSCSI Versions",
- "scroll": true,
- "transform": "timeseries_aggregations",
- "showHeader": true,
- "id": 78,
- "hideTimeOverride": true,
- "fontSize": "100%",
- "minSpan": 2,
- "type": "table",
- "targets": [
- {
- "textEditor": true,
- "refId": "A",
- "target": "aliasByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.iscsi.ceph_version, 1)"
- }
- ],
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ]
- }
- ],
- "showTitle": true,
- "collapse": false
- }
- ],
- "templating": {
- "list": [
- {
- "regex": "",
- "current": {
- "text": "ceph",
- "selected": true,
- "value": "ceph"
- },
- "multi": false,
- "hide": 2,
- "name": "cluster_name",
- "tags": [],
- "allValue": null,
- "type": "query",
- "refresh": 1,
- "label": null,
- "tagValuesQuery": "",
- "sort": 0,
- "datasource": "Local",
- "query": "collectd.*.$domain.cephmetrics.gauge.*",
- "useTags": false,
- "tagsQuery": "",
- "options": [],
- "includeAll": false
- },
- {
- "multi": false,
- "hide": 2,
- "name": "domain",
- "allValue": null,
- "label": null,
- "current": {
- "text": "test.lab",
- "selected": true,
- "value": "test.lab"
- },
- "query": "test.lab",
- "type": "custom",
- "options": [
- {
- "text": "test.lab",
- "selected": true,
- "value": "test.lab"
- }
- ],
- "includeAll": false
- }
- ]
- },
- "links": [
- {
- "keepTime": true,
- "tags": [
- "overview"
- ],
- "title": "Shortcuts",
- "includeVars": true,
- "targetBlank": true,
- "asDropdown": true,
- "type": "dashboards",
- "icon": "external link"
- }
- ],
- "tags": [
- "overview"
- ],
- "graphTooltip": 0,
- "hideControls": true,
- "title": "Ceph Cluster",
- "editable": false,
- "refresh": "10s",
- "id": 25,
- "gnetId": null,
- "timepicker": {
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ],
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ]
- },
- "version": 30,
- "time": {
- "to": "now",
- "from": "now-1h"
- },
- "timezone": "browser",
- "schemaVersion": 14,
- "annotations": {
- "list": []
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-{
- "dashboard" : {
- "templating" : {
- "list" : [
- {
- "current" : {
- "value" : "ceph",
- "text" : "ceph",
- "selected" : true
- },
- "refresh" : 1,
- "multi" : false,
- "sort" : 0,
- "regex" : "",
- "hide" : 2,
- "includeAll" : false,
- "tagValuesQuery" : "",
- "tagsQuery" : "",
- "name" : "cluster_name",
- "datasource" : "Local",
- "tags" : [],
- "allValue" : null,
- "useTags" : false,
- "options" : [],
- "query" : "collectd.*.$domain.cephmetrics.gauge.*",
- "type" : "query",
- "label" : null
- },
- {
- "allValue" : null,
- "name" : "domain",
- "hide" : 2,
- "includeAll" : false,
- "current" : {
- "selected" : true,
- "text" : "test.lab",
- "value" : "test.lab"
- },
- "multi" : false,
- "type" : "custom",
- "label" : null,
- "query" : "test.lab",
- "options" : [
- {
- "value" : "test.lab",
- "selected" : true,
- "text" : "test.lab"
- }
- ]
- },
- {
- "current" : {
- "value" : "$__all",
- "selected" : true,
- "text" : "All"
- },
- "includeAll" : true,
- "hide" : 2,
- "allValue" : null,
- "name" : "osd_servers",
- "options" : [
- {
- "selected" : true,
- "text" : "All",
- "value" : "$__all"
- },
- {
- "text" : "ceph-1",
- "selected" : false,
- "value" : "ceph-1"
- },
- {
- "selected" : false,
- "text" : "ceph-2",
- "value" : "ceph-2"
- },
- {
- "value" : "ceph-3",
- "text" : "ceph-3",
- "selected" : false
- }
- ],
- "multi" : true,
- "label" : null,
- "type" : "custom",
- "query" : "ceph-1,ceph-2,ceph-3"
- },
- {
- "options" : [
- {
- "value" : "85",
- "selected" : true,
- "text" : "85"
- }
- ],
- "multi" : false,
- "query" : "85",
- "type" : "custom",
- "label" : null,
- "current" : {
- "text" : "85",
- "selected" : true,
- "value" : "85"
- },
- "hide" : 2,
- "includeAll" : false,
- "allValue" : null,
- "name" : "disk_full_threshold"
- }
- ]
- },
- "rows" : [
- {
- "height" : "70",
- "repeat" : null,
- "collapse" : false,
- "repeatRowId" : null,
- "titleSize" : "h6",
- "repeatIteration" : null,
- "panels" : [
- {
- "timeShift" : null,
- "timeFrom" : "1m",
- "prefixFontSize" : "50%",
- "gauge" : {
- "thresholdMarkers" : true,
- "thresholdLabels" : false,
- "show" : false,
- "minValue" : 0,
- "maxValue" : 100
- },
- "mappingTypes" : [
- {
- "value" : 1,
- "name" : "value to text"
- },
- {
- "name" : "range to text",
- "value" : 2
- }
- ],
- "height" : "70",
- "postfixFontSize" : "50%",
- "hideTimeOverride" : true,
- "maxDataPoints" : "",
- "rangeMaps" : [
- {
- "text" : "HEALTH OK",
- "from" : "0",
- "to" : "1"
- },
- {
- "to" : "4",
- "text" : "HEALTH WARNING",
- "from" : "1"
- },
- {
- "to" : "99",
- "text" : "HEALTH ERROR",
- "from" : "5"
- },
- {
- "text" : "NODATA",
- "from" : "-10",
- "to" : "0"
- }
- ],
- "format" : "none",
- "valueMaps" : [
- {
- "text" : "OK",
- "op" : "=",
- "value" : "0"
- },
- {
- "text" : "WARN",
- "op" : "=",
- "value" : "4"
- },
- {
- "text" : "ERROR",
- "op" : "=",
- "value" : "8"
- }
- ],
- "type" : "singlestat",
- "cacheTimeout" : null,
- "title" : "",
- "targets" : [
- {
- "target" : "consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.health),\"max\")",
- "textEditor" : true,
- "refId" : "A"
- }
- ],
- "prefix" : "",
- "valueName" : "current",
- "description" : "Shows the overall health of the ceph cluster. To see specific health messages hover over the annotation in the health chart below.",
- "datasource" : "Local",
- "colorValue" : false,
- "colorBackground" : true,
- "links" : [],
- "postfix" : "",
- "nullText" : null,
- "minSpan" : 1,
- "nullPointMode" : "connected",
- "colors" : [
- "rgba(1, 167, 1, 1)",
- "rgba(255,165,0, 1)",
- "rgba(255, 0, 0, 1)"
- ],
- "mappingType" : 2,
- "interval" : null,
- "id" : 76,
- "span" : 12,
- "valueFontSize" : "50%",
- "thresholds" : "1,5",
- "sparkline" : {
- "lineColor" : "rgb(31, 120, 193)",
- "show" : false,
- "fillColor" : "rgba(31, 118, 189, 0.18)",
- "full" : false
- },
- "tableColumn" : ""
- }
- ],
- "title" : "Dashboard Row",
- "showTitle" : false
- },
- {
- "height" : "350",
- "repeat" : null,
- "collapse" : false,
- "repeatRowId" : null,
- "titleSize" : "h5",
- "repeatIteration" : null,
- "panels" : [
- {
- "xaxis" : {
- "mode" : "time",
- "buckets" : null,
- "show" : true,
- "values" : [],
- "name" : null
- },
- "pointradius" : 5,
- "thresholds" : [
- {
- "value" : 3,
- "fillColor" : "rgba(222, 226, 0, 0.47)",
- "lineColor" : "rgb(247, 172, 0)",
- "line" : true,
- "fill" : false,
- "colorMode" : "custom",
- "op" : "gt"
- },
- {
- "fillColor" : "rgba(246, 3, 3, 0.5)",
- "value" : 7,
- "fill" : false,
- "line" : true,
- "op" : "gt",
- "colorMode" : "custom",
- "lineColor" : "rgb(203, 0, 0)"
- }
- ],
- "span" : 12,
- "dashLength" : 10,
- "id" : 55,
- "description" : "The chart plots the clusters health, over time. Health is depicted as a integer; 0, 4 or 8 where 0 is OK, 4 is WARN and 8 represents an ERROR state. Horizontal thresholds (drawn in yellow and red) indicate when the cluster's health transitions to 'warning' or 'error'. Annotations describing the details of the clusters health may also be shown if the \"EventURL\" setting is defined to the collectd plugin on the mon hosts.",
- "datasource" : "Local",
- "bars" : false,
- "fill" : 1,
- "yaxes" : [
- {
- "logBase" : 1,
- "format" : "short",
- "min" : "-1",
- "show" : false,
- "label" : "",
- "max" : "10"
- },
- {
- "format" : "short",
- "logBase" : 1,
- "max" : null,
- "label" : null,
- "show" : false,
- "min" : null
- }
- ],
- "nullPointMode" : "null",
- "minSpan" : 3,
- "dashes" : false,
- "links" : [],
- "aliasColors" : {
- "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.health" : "#DEDAF7",
- "Ceph Health (0:OK, 4:Warning,8:Error)" : "#DEDAF7",
- "Ceph Health" : "#3F6833"
- },
- "percentage" : false,
- "lines" : true,
- "points" : false,
- "tooltip" : {
- "value_type" : "individual",
- "shared" : false,
- "sort" : 1
- },
- "steppedLine" : true,
- "seriesOverrides" : [],
- "title" : "Health History - Last 3 days",
- "targets" : [
- {
- "target" : "alias(maxSeries(summarize(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.health,\"5min\",\"max\")), 'Ceph Health')",
- "textEditor" : true,
- "refId" : "A"
- }
- ],
- "hideTimeOverride" : true,
- "stack" : false,
- "height" : "350",
- "spaceLength" : 10,
- "linewidth" : 2,
- "timeFrom" : "3d",
- "renderer" : "flot",
- "timeShift" : null,
- "type" : "graph",
- "maxDataPoints" : "",
- "legend" : {
- "total" : false,
- "current" : false,
- "avg" : false,
- "min" : false,
- "values" : false,
- "max" : false,
- "show" : true
- }
- }
- ],
- "title" : "Cluster Health",
- "showTitle" : true
- },
- {
- "collapse" : false,
- "repeatIteration" : null,
- "titleSize" : "h5",
- "panels" : [
- {
- "content" : "",
- "transparent" : true,
- "minSpan" : 1,
- "type" : "text",
- "links" : [],
- "span" : 1,
- "title" : "",
- "id" : 69,
- "mode" : "html"
- },
- {
- "pageSize" : null,
- "sort" : {
- "desc" : false,
- "col" : null
- },
- "title" : "Monitor Status",
- "span" : 3,
- "targets" : [
- {
- "target" : "aliasByNode(groupByNode(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.mon_status.*),-1),-1,\"maxSeries\"),-1)",
- "textEditor" : true,
- "refId" : "B"
- }
- ],
- "id" : 56,
- "columns" : [
- {
- "text" : "Current",
- "value" : "current"
- }
- ],
- "showHeader" : true,
- "scroll" : true,
- "type" : "table",
- "minSpan" : 2,
- "links" : [],
- "transform" : "timeseries_aggregations",
- "fontSize" : "100%",
- "maxDataPoints" : "",
- "hideTimeOverride" : true,
- "timeFrom" : "1m",
- "styles" : [
- {
- "pattern" : "Time",
- "alias" : "Time",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "type" : "date"
- },
- {
- "sanitize" : false,
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "pattern" : "Metric",
- "type" : "number",
- "thresholds" : [],
- "unit" : "short",
- "colorMode" : null,
- "decimals" : 2,
- "alias" : "Hostname",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss"
- },
- {
- "thresholds" : [
- "0",
- "3",
- "7"
- ],
- "type" : "number",
- "alias" : "Status",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "unit" : "short",
- "colorMode" : "row",
- "decimals" : 0,
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(0, 169, 3, 0.89)",
- "rgba(249, 190, 0, 0.97)"
- ],
- "pattern" : "Current"
- },
- {
- "type" : "number",
- "thresholds" : [],
- "unit" : "short",
- "decimals" : 2,
- "colorMode" : null,
- "alias" : "",
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "pattern" : "/.*/"
- }
- ],
- "timeShift" : null
- },
- {
- "content" : "",
- "transparent" : true,
- "minSpan" : 2,
- "type" : "text",
- "links" : [],
- "span" : 2,
- "title" : "",
- "id" : 68,
- "mode" : "html"
- },
- {
- "transparent" : true,
- "content" : "<h2 style=\"text-align: center;\">Cluster Flags:</h2>",
- "minSpan" : 1,
- "type" : "text",
- "id" : 58,
- "mode" : "html",
- "links" : [],
- "span" : 1,
- "title" : ""
- },
- {
- "gauge" : {
- "show" : false,
- "minValue" : 0,
- "maxValue" : 100,
- "thresholdLabels" : false,
- "thresholdMarkers" : true
- },
- "mappingTypes" : [
- {
- "name" : "value to text",
- "value" : 1
- },
- {
- "value" : 2,
- "name" : "range to text"
- }
- ],
- "height" : "95",
- "postfixFontSize" : "50%",
- "hideTimeOverride" : true,
- "timeFrom" : "1m",
- "prefixFontSize" : "50%",
- "valueMaps" : [
- {
- "text" : "N/A",
- "op" : "=",
- "value" : "null"
- },
- {
- "value" : "0",
- "text" : "ENABLED",
- "op" : "="
- },
- {
- "value" : "1",
- "op" : "=",
- "text" : "ACTIVE"
- },
- {
- "text" : "DISABLED",
- "op" : "=",
- "value" : "2"
- }
- ],
- "type" : "singlestat",
- "maxDataPoints" : "",
- "rangeMaps" : [
- {
- "text" : "N/A",
- "from" : "null",
- "to" : "null"
- }
- ],
- "format" : "none",
- "prefix" : "",
- "cacheTimeout" : null,
- "title" : "SCRUB",
- "targets" : [
- {
- "refId" : "A",
- "textEditor" : true,
- "target" : "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.scrub),\"maxSeries\"))"
- }
- ],
- "description" : "Scrub activity takes place daily basis across the OSD's and performs object size and attribute checks. Scrub activity can be controlled with the \"ceph osd scrub\" command.",
- "datasource" : "Local",
- "colorValue" : false,
- "colorBackground" : true,
- "valueName" : "current",
- "nullText" : null,
- "minSpan" : 1,
- "nullPointMode" : "connected",
- "links" : [],
- "postfix" : "",
- "colors" : [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "mappingType" : 1,
- "interval" : null,
- "thresholds" : "1,2",
- "sparkline" : {
- "lineColor" : "rgb(31, 120, 193)",
- "fillColor" : "rgba(31, 118, 189, 0.18)",
- "show" : false,
- "full" : false
- },
- "tableColumn" : "",
- "id" : 57,
- "span" : 1,
- "valueFontSize" : "40%"
- },
- {
- "thresholds" : "1,2",
- "tableColumn" : "",
- "sparkline" : {
- "full" : false,
- "fillColor" : "rgba(31, 118, 189, 0.18)",
- "show" : false,
- "lineColor" : "rgb(31, 120, 193)"
- },
- "id" : 59,
- "valueFontSize" : "40%",
- "span" : 1,
- "colors" : [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "interval" : null,
- "mappingType" : 1,
- "nullText" : null,
- "nullPointMode" : "connected",
- "minSpan" : 1,
- "links" : [],
- "postfix" : "",
- "description" : "Deep scrub acts on the objects within placement groups (PGs). Objects are read, and checksum's compared to protect against silent bit-rot events. Although a weekly activity, in large clusters is normal to see deep-scrub active on a daily basis. Scrub activity can be controlled with the \"ceph osd scrub\" command.",
- "datasource" : "Local",
- "colorBackground" : true,
- "colorValue" : false,
- "valueName" : "current",
- "prefix" : "",
- "cacheTimeout" : null,
- "title" : "DEEP SCRUB",
- "targets" : [
- {
- "target" : "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.deep_scrub),\"maxSeries\"))",
- "textEditor" : true,
- "refId" : "A"
- }
- ],
- "valueMaps" : [
- {
- "value" : "null",
- "text" : "N/A",
- "op" : "="
- },
- {
- "value" : "0",
- "text" : "ENABLED",
- "op" : "="
- },
- {
- "value" : "1",
- "text" : "ACTIVE",
- "op" : "="
- },
- {
- "value" : "2",
- "op" : "=",
- "text" : "DISABLED"
- }
- ],
- "type" : "singlestat",
- "rangeMaps" : [
- {
- "to" : "null",
- "from" : "null",
- "text" : "N/A"
- }
- ],
- "maxDataPoints" : "",
- "format" : "none",
- "height" : "95",
- "mappingTypes" : [
- {
- "name" : "value to text",
- "value" : 1
- },
- {
- "name" : "range to text",
- "value" : 2
- }
- ],
- "gauge" : {
- "maxValue" : 100,
- "show" : false,
- "minValue" : 0,
- "thresholdMarkers" : true,
- "thresholdLabels" : false
- },
- "postfixFontSize" : "50%",
- "hideTimeOverride" : true,
- "prefixFontSize" : "50%",
- "timeFrom" : "1m"
- },
- {
- "colors" : [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "mappingType" : 1,
- "interval" : null,
- "id" : 60,
- "valueFontSize" : "40%",
- "span" : 1,
- "thresholds" : "1,2",
- "sparkline" : {
- "lineColor" : "rgb(31, 120, 193)",
- "show" : false,
- "fillColor" : "rgba(31, 118, 189, 0.18)",
- "full" : false
- },
- "tableColumn" : "",
- "valueName" : "current",
- "datasource" : "Local",
- "description" : "With the recovery flag enabled, disruption in the cluster will result in data being recreated to freespace within the cluster to honor the pool's protection schema. Under some circumstances, you may use the norecover flag to prevent automatic recovery.",
- "colorValue" : false,
- "colorBackground" : true,
- "postfix" : "",
- "links" : [],
- "nullText" : null,
- "nullPointMode" : "connected",
- "minSpan" : 1,
- "cacheTimeout" : null,
- "targets" : [
- {
- "target" : "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.recovery),\"maxSeries\"))",
- "textEditor" : true,
- "refId" : "A"
- }
- ],
- "title" : "RECOVERY",
- "prefix" : "",
- "timeFrom" : "1m",
- "prefixFontSize" : "50%",
- "gauge" : {
- "minValue" : 0,
- "show" : false,
- "maxValue" : 100,
- "thresholdMarkers" : true,
- "thresholdLabels" : false
- },
- "mappingTypes" : [
- {
- "value" : 1,
- "name" : "value to text"
- },
- {
- "name" : "range to text",
- "value" : 2
- }
- ],
- "height" : "95",
- "postfixFontSize" : "50%",
- "hideTimeOverride" : true,
- "maxDataPoints" : "",
- "rangeMaps" : [
- {
- "to" : "null",
- "from" : "null",
- "text" : "N/A"
- }
- ],
- "format" : "none",
- "type" : "singlestat",
- "valueMaps" : [
- {
- "value" : "null",
- "op" : "=",
- "text" : "N/A"
- },
- {
- "op" : "=",
- "text" : "ENABLED",
- "value" : "0"
- },
- {
- "op" : "=",
- "text" : "ACTIVE",
- "value" : "1"
- },
- {
- "value" : "2",
- "op" : "=",
- "text" : "DISABLED"
- }
- ]
- },
- {
- "cacheTimeout" : null,
- "targets" : [
- {
- "refId" : "A",
- "textEditor" : true,
- "target" : "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.backfill),\"maxSeries\"))"
- }
- ],
- "title" : "BACKFILL",
- "prefix" : "",
- "maxDataPoints" : "",
- "rangeMaps" : [
- {
- "to" : "null",
- "from" : "null",
- "text" : "N/A"
- }
- ],
- "format" : "none",
- "type" : "singlestat",
- "valueMaps" : [
- {
- "op" : "=",
- "text" : "N/A",
- "value" : "null"
- },
- {
- "op" : "=",
- "text" : "ENABLED",
- "value" : "0"
- },
- {
- "text" : "ACTIVE",
- "op" : "=",
- "value" : "1"
- },
- {
- "value" : "2",
- "op" : "=",
- "text" : "DISABLED"
- }
- ],
- "timeFrom" : "1m",
- "prefixFontSize" : "50%",
- "gauge" : {
- "thresholdMarkers" : true,
- "thresholdLabels" : false,
- "minValue" : 0,
- "show" : false,
- "maxValue" : 100
- },
- "height" : "95",
- "mappingTypes" : [
- {
- "value" : 1,
- "name" : "value to text"
- },
- {
- "name" : "range to text",
- "value" : 2
- }
- ],
- "postfixFontSize" : "50%",
- "hideTimeOverride" : true,
- "id" : 64,
- "span" : 1,
- "valueFontSize" : "40%",
- "thresholds" : "1,2",
- "sparkline" : {
- "lineColor" : "rgb(31, 120, 193)",
- "show" : false,
- "fillColor" : "rgba(31, 118, 189, 0.18)",
- "full" : false
- },
- "tableColumn" : "",
- "colors" : [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "mappingType" : 1,
- "interval" : null,
- "postfix" : "",
- "links" : [],
- "nullText" : null,
- "nullPointMode" : "connected",
- "minSpan" : 1,
- "valueName" : "current",
- "datasource" : "Local",
- "colorValue" : false,
- "colorBackground" : true
- },
- {
- "prefix" : "",
- "targets" : [
- {
- "refId" : "A",
- "target" : "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.rebalance),\"maxSeries\"))",
- "textEditor" : true
- }
- ],
- "title" : "REBALANCE",
- "cacheTimeout" : null,
- "postfixFontSize" : "50%",
- "hideTimeOverride" : true,
- "gauge" : {
- "minValue" : 0,
- "show" : false,
- "maxValue" : 100,
- "thresholdMarkers" : true,
- "thresholdLabels" : false
- },
- "height" : "95",
- "mappingTypes" : [
- {
- "name" : "value to text",
- "value" : 1
- },
- {
- "value" : 2,
- "name" : "range to text"
- }
- ],
- "timeFrom" : "1m",
- "prefixFontSize" : "50%",
- "valueMaps" : [
- {
- "value" : "null",
- "op" : "=",
- "text" : "N/A"
- },
- {
- "value" : "0",
- "text" : "ENABLED",
- "op" : "="
- },
- {
- "op" : "=",
- "text" : "ACTIVE",
- "value" : "1"
- },
- {
- "text" : "DISABLED",
- "op" : "=",
- "value" : "2"
- }
- ],
- "type" : "singlestat",
- "format" : "none",
- "maxDataPoints" : "",
- "rangeMaps" : [
- {
- "text" : "N/A",
- "from" : "null",
- "to" : "null"
- }
- ],
- "mappingType" : 1,
- "interval" : null,
- "colors" : [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "sparkline" : {
- "show" : false,
- "fillColor" : "rgba(31, 118, 189, 0.18)",
- "full" : false,
- "lineColor" : "rgb(31, 120, 193)"
- },
- "tableColumn" : "",
- "thresholds" : "1,2",
- "valueFontSize" : "40%",
- "span" : 1,
- "id" : 61,
- "colorValue" : false,
- "colorBackground" : true,
- "datasource" : "Local",
- "valueName" : "current",
- "minSpan" : 1,
- "nullPointMode" : "connected",
- "nullText" : null,
- "links" : [],
- "postfix" : ""
- },
- {
- "prefixFontSize" : "50%",
- "timeFrom" : "1m",
- "timeShift" : null,
- "postfixFontSize" : "50%",
- "hideTimeOverride" : true,
- "height" : "95",
- "mappingTypes" : [
- {
- "name" : "value to text",
- "value" : 1
- },
- {
- "value" : 2,
- "name" : "range to text"
- }
- ],
- "gauge" : {
- "thresholdMarkers" : true,
- "thresholdLabels" : false,
- "maxValue" : 100,
- "minValue" : 0,
- "show" : false
- },
- "format" : "none",
- "rangeMaps" : [
- {
- "to" : "null",
- "text" : "N/A",
- "from" : "null"
- }
- ],
- "maxDataPoints" : "",
- "type" : "singlestat",
- "valueMaps" : [
- {
- "text" : "N/A",
- "op" : "=",
- "value" : "null"
- },
- {
- "text" : "ENABLED",
- "op" : "=",
- "value" : "0"
- },
- {
- "value" : "1",
- "text" : "ACTIVE",
- "op" : "="
- },
- {
- "text" : "DISABLED",
- "op" : "=",
- "value" : "2"
- },
- {
- "value" : "-1",
- "text" : "NODATA",
- "op" : "="
- }
- ],
- "title" : "OUT",
- "targets" : [
- {
- "refId" : "A",
- "target" : "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.out),\"maxSeries\"))",
- "textEditor" : true
- }
- ],
- "cacheTimeout" : null,
- "prefix" : "",
- "valueName" : "current",
- "colorBackground" : true,
- "colorValue" : false,
- "description" : "The OUT flag setting allows the mon's to mark OSD's as out of the configuration when they stop sending hearbeats to the mon's. By marking them OUT, recovery takes place. However, for planned maintenance you can set the cluster to noout to disable this behavior.",
- "datasource" : "Local",
- "postfix" : "",
- "links" : [],
- "nullPointMode" : "connected",
- "minSpan" : 1,
- "nullText" : null,
- "interval" : null,
- "mappingType" : 1,
- "colors" : [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "span" : 1,
- "valueFontSize" : "40%",
- "id" : 62,
- "tableColumn" : "",
- "sparkline" : {
- "lineColor" : "rgb(31, 120, 193)",
- "full" : false,
- "show" : false,
- "fillColor" : "rgba(31, 118, 189, 0.18)"
- },
- "thresholds" : "1,2"
- },
- {
- "sparkline" : {
- "full" : false,
- "fillColor" : "rgba(31, 118, 189, 0.18)",
- "show" : false,
- "lineColor" : "rgb(31, 120, 193)"
- },
- "tableColumn" : "",
- "thresholds" : "1,2",
- "span" : 1,
- "valueFontSize" : "40%",
- "id" : 63,
- "mappingType" : 1,
- "interval" : null,
- "colors" : [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "minSpan" : 1,
- "nullPointMode" : "connected",
- "nullText" : null,
- "postfix" : "",
- "links" : [],
- "colorValue" : false,
- "colorBackground" : true,
- "description" : "The down feature allows OSD's to mark their peers as DOWN when they are not reachable. However, if there is a poor network or planned outages, you may want to set this flag to nodown to prevent OSD's flapping between up/down states",
- "datasource" : "Local",
- "valueName" : "current",
- "prefix" : "",
- "targets" : [
- {
- "refId" : "A",
- "target" : "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.features.down),\"maxSeries\"))",
- "textEditor" : true
- }
- ],
- "title" : "DOWN",
- "cacheTimeout" : null,
- "valueMaps" : [
- {
- "value" : "null",
- "text" : "N/A",
- "op" : "="
- },
- {
- "value" : "0",
- "text" : "ENABLED",
- "op" : "="
- },
- {
- "value" : "1",
- "op" : "=",
- "text" : "ACTIVE"
- },
- {
- "text" : "DISABLED",
- "op" : "=",
- "value" : "2"
- }
- ],
- "type" : "singlestat",
- "format" : "none",
- "maxDataPoints" : "",
- "rangeMaps" : [
- {
- "from" : "null",
- "text" : "N/A",
- "to" : "null"
- }
- ],
- "postfixFontSize" : "50%",
- "hideTimeOverride" : true,
- "gauge" : {
- "thresholdLabels" : false,
- "thresholdMarkers" : true,
- "maxValue" : 100,
- "minValue" : 0,
- "show" : false
- },
- "height" : "95",
- "mappingTypes" : [
- {
- "name" : "value to text",
- "value" : 1
- },
- {
- "value" : 2,
- "name" : "range to text"
- }
- ],
- "timeFrom" : "1m",
- "prefixFontSize" : "50%",
- "timeShift" : null
- }
- ],
- "repeatRowId" : null,
- "title" : "Cluster State",
- "showTitle" : true,
- "height" : "200",
- "repeat" : null
- },
- {
- "repeat" : null,
- "height" : 250,
- "collapse" : false,
- "showTitle" : true,
- "title" : "Storage Information",
- "repeatRowId" : null,
- "panels" : [
- {
- "scroll" : true,
- "showHeader" : true,
- "styles" : [
- {
- "pattern" : "Time",
- "alias" : "Time",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "type" : "date"
- },
- {
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "pattern" : "Current",
- "thresholds" : [],
- "type" : "hidden",
- "alias" : "% Full",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "unit" : "none",
- "decimals" : 0,
- "colorMode" : null
- },
- {
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "pattern" : "Metric",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "alias" : "Host.OSD Id",
- "unit" : "short",
- "decimals" : 2,
- "colorMode" : null,
- "thresholds" : [],
- "type" : "number"
- },
- {
- "pattern" : "/.*/",
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "alias" : "",
- "colorMode" : null,
- "decimals" : 2,
- "unit" : "short",
- "thresholds" : [],
- "type" : "number"
- }
- ],
- "columns" : [
- {
- "value" : "current",
- "text" : "Current"
- }
- ],
- "transform" : "timeseries_aggregations",
- "id" : 75,
- "fontSize" : "100%",
- "title" : "Disks Near Full",
- "span" : 1,
- "targets" : [
- {
- "refId" : "A",
- "textEditor" : true,
- "target" : "aliasByNode(currentAbove(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.osd_percent_used),0),$disk_full_threshold),1,-2)"
- }
- ],
- "links" : [],
- "sort" : {
- "desc" : true,
- "col" : 0
- },
- "type" : "table",
- "pageSize" : null,
- "minSpan" : 1
- },
- {
- "scroll" : true,
- "showHeader" : true,
- "columns" : [
- {
- "text" : "Current",
- "value" : "current"
- }
- ],
- "id" : 71,
- "title" : "OSD's Down",
- "span" : 1,
- "targets" : [
- {
- "target" : "currentBelow(groupByNode(transformNull(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_state.*.up,99),-2,\"maxSeries\"),0.5)",
- "textEditor" : true,
- "refId" : "B",
- "hide" : false
- }
- ],
- "sort" : {
- "col" : null,
- "desc" : false
- },
- "pageSize" : 100,
- "timeShift" : null,
- "styles" : [
- {
- "type" : "number",
- "thresholds" : [
- ""
- ],
- "decimals" : 0,
- "colorMode" : null,
- "unit" : "short",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "alias" : "OSD Id",
- "sanitize" : false,
- "pattern" : "Metric",
- "colors" : [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ]
- },
- {
- "pattern" : "Current",
- "colors" : [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "thresholds" : [
- "0"
- ],
- "type" : "hidden",
- "alias" : "Status",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "colorMode" : "cell",
- "decimals" : 0,
- "unit" : "short"
- }
- ],
- "timeFrom" : "1m",
- "hideTimeOverride" : true,
- "fontSize" : "100%",
- "transform" : "timeseries_aggregations",
- "links" : [],
- "minSpan" : 1,
- "type" : "table"
- },
- {
- "fontSize" : "100%",
- "transform" : "timeseries_aggregations",
- "links" : [],
- "minSpan" : 1,
- "type" : "table",
- "timeShift" : null,
- "styles" : [
- {
- "pattern" : "Time",
- "alias" : "Time",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "type" : "date"
- },
- {
- "pattern" : "Current",
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "colorMode" : null,
- "decimals" : 0,
- "unit" : "none",
- "alias" : "",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "type" : "hidden",
- "thresholds" : []
- },
- {
- "type" : "number",
- "thresholds" : [],
- "unit" : "short",
- "decimals" : 2,
- "colorMode" : null,
- "alias" : "OSD Id",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "pattern" : "Metric"
- },
- {
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "pattern" : "/.*/",
- "thresholds" : [],
- "type" : "number",
- "alias" : "",
- "unit" : "short",
- "colorMode" : null,
- "decimals" : 2
- }
- ],
- "timeFrom" : "5m",
- "hideTimeOverride" : true,
- "id" : 74,
- "title" : "OSDs Out",
- "targets" : [
- {
- "hide" : false,
- "refId" : "B",
- "target" : "currentBelow(groupByNode(transformNull(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.osd_state.*.in,99),-2,\"minSeries\"),0.5)",
- "textEditor" : true
- }
- ],
- "span" : 1,
- "sort" : {
- "desc" : true,
- "col" : 0
- },
- "pageSize" : null,
- "scroll" : true,
- "showHeader" : true,
- "columns" : [
- {
- "value" : "current",
- "text" : "Current"
- }
- ]
- },
- {
- "minSpan" : 1,
- "type" : "text",
- "links" : [],
- "title" : "",
- "span" : 1,
- "id" : 73,
- "mode" : "html",
- "content" : "",
- "transparent" : true
- },
- {
- "title" : "Object Summary",
- "span" : 4,
- "targets" : [
- {
- "select" : [
- [
- {
- "params" : [
- "value"
- ],
- "type" : "field"
- },
- {
- "type" : "mean",
- "params" : []
- }
- ]
- ],
- "textEditor" : true,
- "target" : "alias(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_object), 'Total Objects')",
- "groupBy" : [
- {
- "params" : [
- "$__interval"
- ],
- "type" : "time"
- },
- {
- "params" : [
- "null"
- ],
- "type" : "fill"
- }
- ],
- "policy" : "default",
- "dsType" : "influxdb",
- "refId" : "A",
- "alias" : "Objects",
- "tags" : [],
- "resultFormat" : "time_series",
- "measurement" : "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_object"
- },
- {
- "tags" : [],
- "resultFormat" : "time_series",
- "measurement" : "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_object",
- "select" : [
- [
- {
- "type" : "field",
- "params" : [
- "value"
- ]
- },
- {
- "params" : [],
- "type" : "mean"
- }
- ]
- ],
- "textEditor" : true,
- "dsType" : "influxdb",
- "groupBy" : [
- {
- "params" : [
- "$__interval"
- ],
- "type" : "time"
- },
- {
- "params" : [
- "null"
- ],
- "type" : "fill"
- }
- ],
- "policy" : "default",
- "target" : "alias(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_object_degraded), 'Objects degraded')",
- "refId" : "B",
- "alias" : "Objects"
- },
- {
- "resultFormat" : "time_series",
- "measurement" : "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_object",
- "tags" : [],
- "refId" : "C",
- "alias" : "Objects",
- "target" : "alias(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_object_misplaced), 'Objects misplaced')",
- "policy" : "default",
- "dsType" : "influxdb",
- "groupBy" : [
- {
- "params" : [
- "$__interval"
- ],
- "type" : "time"
- },
- {
- "params" : [
- "null"
- ],
- "type" : "fill"
- }
- ],
- "select" : [
- [
- {
- "type" : "field",
- "params" : [
- "value"
- ]
- },
- {
- "type" : "mean",
- "params" : []
- }
- ]
- ],
- "textEditor" : true
- },
- {
- "alias" : "Objects",
- "refId" : "D",
- "groupBy" : [
- {
- "type" : "time",
- "params" : [
- "$__interval"
- ]
- },
- {
- "params" : [
- "null"
- ],
- "type" : "fill"
- }
- ],
- "policy" : "default",
- "dsType" : "influxdb",
- "target" : "alias(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_object_unfound), 'Objects unfound')",
- "textEditor" : true,
- "select" : [
- [
- {
- "params" : [
- "value"
- ],
- "type" : "field"
- },
- {
- "params" : [],
- "type" : "mean"
- }
- ]
- ],
- "resultFormat" : "time_series",
- "measurement" : "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_object",
- "tags" : []
- }
- ],
- "id" : 10,
- "pageSize" : null,
- "sort" : {
- "desc" : false,
- "col" : null
- },
- "showHeader" : true,
- "scroll" : true,
- "columns" : [
- {
- "text" : "Current",
- "value" : "current"
- }
- ],
- "filterNull" : false,
- "links" : [],
- "transform" : "timeseries_aggregations",
- "fontSize" : "100%",
- "type" : "table",
- "minSpan" : 3,
- "styles" : [
- {
- "type" : "date",
- "pattern" : "Time",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss"
- },
- {
- "thresholds" : [],
- "type" : "number",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "alias" : "Object State",
- "unit" : "short",
- "decimals" : 2,
- "colorMode" : null,
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "pattern" : "Metric"
- },
- {
- "type" : "number",
- "thresholds" : [],
- "unit" : "none",
- "decimals" : 0,
- "colorMode" : null,
- "alias" : "Count",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "pattern" : "Current"
- },
- {
- "thresholds" : [],
- "type" : "number",
- "pattern" : "/.*/",
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "colorMode" : null,
- "decimals" : 0,
- "unit" : "none"
- }
- ],
- "datasource" : "Local"
- },
- {
- "minSpan" : 1,
- "type" : "text",
- "links" : [],
- "span" : 1,
- "title" : "",
- "id" : 67,
- "mode" : "markdown",
- "content" : "",
- "transparent" : true
- },
- {
- "minSpan" : 3,
- "type" : "table",
- "fontSize" : "100%",
- "transform" : "timeseries_aggregations",
- "links" : [],
- "datasource" : "Local",
- "styles" : [
- {
- "pattern" : "Time",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "type" : "date"
- },
- {
- "decimals" : 2,
- "colorMode" : null,
- "unit" : "short",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "alias" : "PG State",
- "type" : "number",
- "thresholds" : [],
- "pattern" : "Metric",
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ]
- },
- {
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "pattern" : "Current",
- "alias" : "Count",
- "dateFormat" : "YYYY-MM-DD HH:mm:ss",
- "unit" : "none",
- "decimals" : 0,
- "colorMode" : null,
- "thresholds" : [],
- "type" : "number"
- },
- {
- "thresholds" : [],
- "type" : "number",
- "colors" : [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "pattern" : "/.*/",
- "unit" : "none",
- "colorMode" : null,
- "decimals" : 0
- }
- ],
- "sort" : {
- "desc" : false,
- "col" : null
- },
- "pageSize" : null,
- "id" : 13,
- "span" : 3,
- "title" : "PG Summary",
- "targets" : [
- {
- "tags" : [],
- "measurement" : "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_pg",
- "resultFormat" : "time_series",
- "textEditor" : true,
- "select" : [
- [
- {
- "params" : [
- "value"
- ],
- "type" : "field"
- },
- {
- "params" : [],
- "type" : "mean"
- }
- ]
- ],
- "dsType" : "influxdb",
- "policy" : "default",
- "groupBy" : [
- {
- "type" : "time",
- "params" : [
- "$__interval"
- ]
- },
- {
- "params" : [
- "null"
- ],
- "type" : "fill"
- }
- ],
- "target" : "alias(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_pg), 'PGs')",
- "refId" : "A",
- "alias" : "PG's"
- },
- {
- "target" : "alias(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_pg_active), 'Active PGs')",
- "policy" : "default",
- "dsType" : "influxdb",
- "groupBy" : [
- {
- "type" : "time",
- "params" : [
- "$__interval"
- ]
- },
- {
- "type" : "fill",
- "params" : [
- "null"
- ]
- }
- ],
- "textEditor" : true,
- "select" : [
- [
- {
- "params" : [
- "value"
- ],
- "type" : "field"
- },
- {
- "params" : [],
- "type" : "mean"
- }
- ]
- ],
- "refId" : "B",
- "alias" : "PG's",
- "tags" : [],
- "measurement" : "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_pg",
- "resultFormat" : "time_series"
- },
- {
- "tags" : [],
- "resultFormat" : "time_series",
- "measurement" : "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_pg",
- "select" : [
- [
- {
- "params" : [
- "value"
- ],
- "type" : "field"
- },
- {
- "params" : [],
- "type" : "mean"
- }
- ]
- ],
- "textEditor" : true,
- "target" : "alias(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_pg_active_clean), 'Active+clean PGs')",
- "dsType" : "influxdb",
- "policy" : "default",
- "groupBy" : [
- {
- "params" : [
- "$__interval"
- ],
- "type" : "time"
- },
- {
- "type" : "fill",
- "params" : [
- "null"
- ]
- }
- ],
- "refId" : "C",
- "alias" : "PG's"
- },
- {
- "resultFormat" : "time_series",
- "measurement" : "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon.num_pg",
- "tags" : [],
- "alias" : "PG's",
- "refId" : "D",
- "textEditor" : true,
- "select" : [
- [
- {
- "type" : "field",
- "params" : [
- "value"
- ]
- },
- {
- "params" : [],
- "type" : "mean"
- }
- ]
- ],
- "groupBy" : [
- {
- "type" : "time",
- "params" : [
- "$__interval"
- ]
- },
- {
- "params" : [
- "null"
- ],
- "type" : "fill"
- }
- ],
- "dsType" : "influxdb",
- "policy" : "default",
- "target" : "alias(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_pg_peering), 'PGs peering')"
- }
- ],
- "filterNull" : false,
- "columns" : [
- {
- "value" : "current",
- "text" : "Current"
- }
- ],
- "scroll" : true,
- "showHeader" : true
- }
- ],
- "titleSize" : "h5",
- "repeatIteration" : null
- }
- ],
- "hideControls" : true,
- "title" : "Ceph Health",
- "timepicker" : {
- "refresh_intervals" : [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options" : [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "id" : 29,
- "annotations" : {
- "list" : [
- {
- "type" : "alert",
- "iconColor" : "rgba(255, 96, 96, 1)",
- "showIn" : 0,
- "enable" : true,
- "datasource" : "Local",
- "tags" : "health_alert",
- "name" : "health_alert",
- "limit" : 100,
- "hide" : false
- },
- {
- "datasource" : "Local",
- "tags" : "health_ok",
- "enable" : true,
- "name" : "health_ok",
- "limit" : 100,
- "hide" : false,
- "type" : "alert",
- "iconColor" : "rgb(1, 195, 0)",
- "showIn" : 0
- }
- ]
- },
- "schemaVersion" : 14,
- "timezone" : "browser",
- "graphTooltip" : 0,
- "refresh" : "10s",
- "version" : 43,
- "editable" : false,
- "links" : [
- {
- "keepTime" : true,
- "tags" : [
- "overview"
- ],
- "includeVars" : true,
- "asDropdown" : true,
- "targetBlank" : true,
- "icon" : "external link",
- "title" : "Shortcuts",
- "type" : "dashboards"
- }
- ],
- "style" : "dark",
- "time" : {
- "to" : "now",
- "from" : "now-1h"
- },
- "gnetId" : null,
- "tags" : [
- "overview"
- ]
- },
- "meta" : {
- "updatedBy" : "admin",
- "canEdit" : true,
- "createdBy" : "admin",
- "type" : "db",
- "canSave" : true,
- "updated" : "2017-08-21T03:34:51Z",
- "expires" : "0001-01-01T00:00:00Z",
- "canStar" : true,
- "version" : 43,
- "created" : "2017-08-08T03:07:37Z",
- "slug" : "ceph-health"
- }
-}
+++ /dev/null
-{
- "dashboard": {
- "annotations": {
- "list": []
- },
- "editable": false,
- "gnetId": null,
- "graphTooltip": 0,
- "hideControls": true,
- "id": 67,
- "links": [
- {
- "asDropdown": true,
- "icon": "external link",
- "tags": [
- "overview"
- ],
- "title": "Shortcuts",
- "type": "dashboards"
- }
- ],
- "refresh": "10s",
- "rows": [
- {
- "collapse": false,
- "height": "220px",
- "panels": [
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "hideTimeOverride": true,
- "id": 11,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "",
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "keepLastValue(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_osd), \"max\"))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "timeFrom": "1m",
- "title": "OSDs",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "hideTimeOverride": true,
- "id": 12,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "keepLastValue(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_osd_up),\"max\"))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "timeFrom": "1m",
- "title": "OSDs UP",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(251,251,251,0.97)",
- "rgba(255,165,0, 1)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "datasource": "Local",
- "decimals": 0,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "hideTimeOverride": true,
- "id": 16,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "hide": true,
- "refId": "A",
- "target": "keepLastValue(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_osd_up),\"max\"))",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "B",
- "target": "keepLastValue(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_osd), \"max\"))",
- "textEditor": true
- },
- {
- "refId": "C",
- "target": "diffSeries(#B,#A)",
- "targetFull": "diffSeries(keepLastValue(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_osd), \"max\")),keepLastValue(consolidateBy(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.num_osd_up),\"max\")))",
- "textEditor": true
- }
- ],
- "thresholds": "1,3",
- "timeFrom": "1m",
- "title": "OSDs DOWN",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {},
- "cacheTimeout": null,
- "combine": {
- "label": "Others",
- "threshold": 0
- },
- "datasource": "Local",
- "description": "The pie chart shows the various disk sizes used within the cluster",
- "fontSize": "80%",
- "format": "none",
- "height": "220",
- "hideTimeOverride": true,
- "id": 13,
- "interval": null,
- "legend": {
- "percentage": false,
- "show": true,
- "sortDesc": true,
- "values": true
- },
- "legendType": "Right side",
- "links": [],
- "maxDataPoints": "",
- "minSpan": 3,
- "nullPointMode": "connected",
- "pieType": "pie",
- "span": 3,
- "strokeWidth": "1",
- "targets": [
- {
- "hide": true,
- "refId": "A",
- "target": "currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0)",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "B",
- "target": "alias(currentBelow(#A,1099511627776),\"<1TB\")",
- "targetFull": "alias(currentBelow(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),1099511627776),\"<1TB\")",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "C",
- "target": "alias(currentBelow(currentAbove(#A,1099511627776),2199023255552),\"2TB\")",
- "targetFull": "alias(currentBelow(currentAbove(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),1099511627776),2199023255552),\"2TB\")",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "Q",
- "target": "alias(currentBelow(currentAbove(#A,2199023255552),3298534883328),\"3TB\")",
- "targetFull": "alias(currentBelow(currentAbove(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),2199023255552),3298534883328),\"3TB\")",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "D",
- "target": "alias(currentBelow(currentAbove(#A,3298534883328),4398046511104),\"4TB\")",
- "targetFull": "alias(currentBelow(currentAbove(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),3298534883328),4398046511104),\"4TB\")",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "E",
- "target": "alias(currentBelow(currentAbove(#A,4398046511104),6597069766656),\"6TB\")",
- "targetFull": "alias(currentBelow(currentAbove(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),4398046511104),6597069766656),\"6TB\")",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "F",
- "target": "alias(currentBelow(currentAbove(#A,6597069766656),8796093022208),\"8TB\")",
- "targetFull": "alias(currentBelow(currentAbove(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),6597069766656),8796093022208),\"8TB\")",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "G",
- "target": "alias(currentBelow(currentAbove(#A,8796093022208),10995116277760),\"10TB\")",
- "targetFull": "alias(currentBelow(currentAbove(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),8796093022208),10995116277760),\"10TB\")",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "H",
- "target": "alias(currentBelow(currentAbove(#A,10995116277760),13194139533312),\"12TB\")",
- "targetFull": "alias(currentBelow(currentAbove(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),10995116277760),13194139533312),\"12TB\")",
- "textEditor": true
- },
- {
- "refId": "I",
- "target": "alias(countSeries(#B), \"<1TB\")",
- "targetFull": "alias(countSeries(alias(currentBelow(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),1099511627776),\"<1TB\")), \"<1TB\")",
- "textEditor": true
- },
- {
- "refId": "J",
- "target": "alias(countSeries(#C), \"2TB\")",
- "targetFull": "alias(countSeries(alias(currentBelow(currentAbove(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),1099511627776),2199023255552),\"2TB\")), \"2TB\")",
- "textEditor": true
- },
- {
- "refId": "K",
- "target": "alias(countSeries(#D), \"4TB\")",
- "targetFull": "alias(countSeries(alias(currentBelow(currentAbove(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),3298534883328),4398046511104),\"4TB\")), \"4TB\")",
- "textEditor": true
- },
- {
- "refId": "L",
- "target": "alias(countSeries(#E), \"6TB\")",
- "targetFull": "alias(countSeries(alias(currentBelow(currentAbove(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),4398046511104),6597069766656),\"6TB\")), \"6TB\")",
- "textEditor": true
- },
- {
- "refId": "M",
- "target": "alias(countSeries(#F), \"8TB\")",
- "targetFull": "alias(countSeries(alias(currentBelow(currentAbove(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),6597069766656),8796093022208),\"8TB\")), \"8TB\")",
- "textEditor": true
- },
- {
- "refId": "N",
- "target": "alias(countSeries(#G), \"10TB\")",
- "targetFull": "alias(countSeries(alias(currentBelow(currentAbove(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),8796093022208),10995116277760),\"10TB\")), \"10TB\")",
- "textEditor": true
- },
- {
- "refId": "O",
- "target": "alias(countSeries(#H), \"12TB\")",
- "targetFull": "alias(countSeries(alias(currentBelow(currentAbove(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),10995116277760),13194139533312),\"12TB\")), \"12TB\")",
- "textEditor": true
- },
- {
- "refId": "P",
- "target": "alias(countSeries(#Q), \"3TB\")",
- "targetFull": "alias(countSeries(alias(currentBelow(currentAbove(currentAbove(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes),0),2199023255552),3298534883328),\"3TB\")), \"3TB\")",
- "textEditor": true
- }
- ],
- "timeFrom": "2m",
- "timeShift": null,
- "title": "OSD Disk Size Summary",
- "type": "grafana-piechart-panel",
- "valueName": "current"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "fontSize": "100%",
- "hideTimeOverride": true,
- "id": 18,
- "links": [],
- "maxDataPoints": "",
- "minSpan": 2,
- "pageSize": 50,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": false
- },
- "span": 2,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Disk Size",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "pattern": "Current",
- "thresholds": [],
- "type": "number",
- "unit": "decbytes"
- },
- {
- "alias": "Hostname.OSD Id",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(currentAbove(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.$osd_id.stat_bytes),0),1),1,-2)",
- "textEditor": true
- }
- ],
- "timeFrom": "1m",
- "timeShift": null,
- "title": "OSD Size",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "aliasColors": {
- "Non-Encrypted": "#E5AC0E"
- },
- "cacheTimeout": null,
- "combine": {
- "label": "Others",
- "threshold": 0
- },
- "datasource": null,
- "fontSize": "80%",
- "format": "none",
- "height": "200px",
- "hideTimeOverride": true,
- "id": 19,
- "interval": null,
- "legend": {
- "percentage": false,
- "show": true,
- "values": true
- },
- "legendType": "Under graph",
- "links": [],
- "maxDataPoints": "1",
- "minSpan": 2,
- "nullPointMode": "connected",
- "pieType": "pie",
- "span": 2,
- "strokeWidth": 1,
- "targets": [
- {
- "hide": true,
- "refId": "C",
- "target": "currentAbove(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.encrypted),-1),0)",
- "textEditor": true
- },
- {
- "hide": false,
- "refId": "D",
- "target": "alias(countSeries(currentAbove(#C,0.5)),\"Encrypted\")",
- "targetFull": "alias(countSeries(currentAbove(currentAbove(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.encrypted),-1),0),0.5)),\"Encrypted\")",
- "textEditor": true
- },
- {
- "refId": "E",
- "target": "alias(countSeries(currentBelow(#C,0.5)),\"Non-Encrypted\")",
- "targetFull": "alias(countSeries(currentBelow(currentAbove(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.encrypted),-1),0),0.5)),\"Non-Encrypted\")",
- "textEditor": true
- }
- ],
- "timeFrom": "2m",
- "timeShift": null,
- "title": "OSD Encryption Summary",
- "type": "grafana-piechart-panel",
- "valueName": "current"
- },
- {
- "aliasColors": {
- "Non-Encrypted": "#E5AC0E"
- },
- "cacheTimeout": null,
- "combine": {
- "label": "Others",
- "threshold": 0
- },
- "datasource": null,
- "fontSize": "80%",
- "format": "none",
- "height": "200px",
- "hideTimeOverride": true,
- "id": 20,
- "interval": null,
- "legend": {
- "percentage": false,
- "show": true,
- "values": true
- },
- "legendType": "Under graph",
- "links": [],
- "maxDataPoints": "1",
- "minSpan": 2,
- "nullPointMode": "connected",
- "pieType": "pie",
- "span": 2,
- "strokeWidth": 1,
- "targets": [
- {
- "hide": true,
- "refId": "C",
- "target": "currentAbove(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.$osd_id_hidden.osd_type),-1),0)",
- "textEditor": true
- },
- {
- "hide": false,
- "refId": "D",
- "target": "alias(countSeries(currentAbove(#C,0.5)), \"Bluestore\")",
- "targetFull": "alias(countSeries(currentAbove(currentAbove(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.$osd_id_hidden.osd_type),-1),0),0.5)), \"Bluestore\")",
- "textEditor": true
- },
- {
- "hide": false,
- "refId": "E",
- "target": "alias(countSeries(currentBelow(#C,0.5)), \"Filestore\")",
- "targetFull": "alias(countSeries(currentBelow(currentAbove(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.$osd_id_hidden.osd_type),-1),0),0.5)), \"Filestore\")",
- "textEditor": true
- }
- ],
- "timeFrom": "2m",
- "timeShift": null,
- "title": "Summary of OSD Types",
- "type": "grafana-piechart-panel",
- "valueName": "current"
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "OSD Summary",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": "500",
- "panels": [
- {
- "content": "<h1>Ceph Filestore I/O Process</h1>\n<p style=\"text-align: justify;\">\nA write request is first committed to a journal using direct-io (<i><b>apply</b></i>). Once this write is complete, the data is persisted to HDD by a second 'buffered' write operation (<i><b>commit</b></i>). The commit operation is basically a measure of time taken to perform a <i>syncfs</i> call to flush dirty pages to disk, and is therefore <b>not</b> a time associated with any specific client initiated operation.<p> The tables on the right show the top 10 OSDs with the highest latencies.\n",
- "height": "300",
- "id": 10,
- "links": [],
- "minSpan": 3,
- "mode": "html",
- "span": 3,
- "title": "",
- "type": "text"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "description": "Filestore OSDs",
- "fontSize": "100%",
- "height": "310",
- "hideTimeOverride": true,
- "id": 27,
- "links": [],
- "minSpan": 1,
- "pageSize": null,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": true
- },
- "span": 1,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "OSD Id",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(currentBelow(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.$osd_id.osd_type),-1),0.5),-2)",
- "textEditor": true
- }
- ],
- "timeFrom": "2m",
- "timeShift": null,
- "title": "",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "description": "Time spent in the queue for the journal. Excessive times here may indicate OSD tthrottling is happening. In this scenario you should review the OSD specific settings in \"ceph.conf\"; filestore_queue_max_ops or filestore_queue_max_bytes",
- "fontSize": "100%",
- "height": "310",
- "hideTimeOverride": true,
- "id": 3,
- "links": [],
- "minSpan": 2,
- "pageSize": 5,
- "scroll": false,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": true
- },
- "span": 2,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Journal Queue Time",
- "colorMode": "row",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [
- ".001",
- ".003"
- ],
- "type": "number",
- "unit": "s"
- },
- {
- "alias": "OSD Id",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.queue_transaction_latency_avg),0),$max_devices),-2)",
- "textEditor": true
- }
- ],
- "timeFrom": "2m",
- "title": "",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "description": "Time taken for the write request to be safely committed to the journal device",
- "fontSize": "100%",
- "height": "310",
- "hideTimeOverride": true,
- "id": 4,
- "links": [],
- "minSpan": 2,
- "pageSize": 5,
- "scroll": false,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": true
- },
- "span": 2,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Journal Latency",
- "colorMode": "row",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [
- "0.01",
- "0.1"
- ],
- "type": "number",
- "unit": "s"
- },
- {
- "alias": "OSD Id",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.journal_latency),0),$max_devices),-2)",
- "textEditor": true
- }
- ],
- "timeFrom": "2m",
- "title": "",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "description": "Apply latency covers the time taken to commit to the journal and complete the transaction",
- "fontSize": "100%",
- "height": "310",
- "hideTimeOverride": true,
- "id": 5,
- "links": [],
- "minSpan": 2,
- "pageSize": 5,
- "scroll": false,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": true
- },
- "span": 2,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Apply Latency",
- "colorMode": "row",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [
- "100",
- "500"
- ],
- "type": "number",
- "unit": "s"
- },
- {
- "alias": "OSD Id",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.apply_latency),0),$max_devices),-2)",
- "textEditor": true
- }
- ],
- "timeFrom": "2m",
- "title": "",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "description": "Commit latency is the time taken for writes to be flushed to disk as part of async kernel activity",
- "fontSize": "100%",
- "height": "310",
- "hideTimeOverride": true,
- "id": 6,
- "links": [],
- "minSpan": 2,
- "pageSize": 5,
- "scroll": false,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": true
- },
- "span": 2,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Commit Latency",
- "colorMode": "row",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [
- "1",
- "3"
- ],
- "type": "number",
- "unit": "s"
- },
- {
- "alias": "OSD Id",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.commitcycle_latency),0),$max_devices),-2)",
- "textEditor": true
- }
- ],
- "timeFrom": "2m",
- "title": "",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "aliasColors": {
- "95%ile Commit Latency": "#447EBC",
- "Apply Latency Max": "#890F02"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "description": "Shows the latency for a given OSD, allowing you to compare a specific OSD against the $percentile%ile graph. Note that when the \"OSD Id\" pull-down shows **ALL**, only the **first** OSD is shown to prevent the graph from being unreadable!",
- "fill": 0,
- "height": "300px",
- "id": 1,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "maxDataPoints": "",
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Apply Latency Max",
- "fill": 0
- },
- {
- "alias": "95%ile Apply Latency",
- "fill": 2
- }
- ],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.$osd_id.queue_transaction_latency_avg),0),1),\"Journal queue avg\")",
- "textEditor": true
- },
- {
- "refId": "B",
- "target": "alias(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.$osd_id.journal_latency),0),1),\"Journal latency avg\")",
- "textEditor": true
- },
- {
- "refId": "C",
- "target": "alias(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.$osd_id.apply_latency),0),1), \"Apply latency avg\")",
- "textEditor": true
- },
- {
- "refId": "D",
- "target": "alias(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.$osd_id.commitcycle_latency),0),1),\"Commit latency avg\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Filestore Latency for OSD '$osd_id'",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "height": "300px",
- "id": 9,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(percentileOfSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.queue_transaction_latency_avg,$percentile), \"journal Queue time\")",
- "textEditor": true
- },
- {
- "refId": "B",
- "target": "alias(percentileOfSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.journal_latency,$percentile), \"journal Latency\")",
- "textEditor": true
- },
- {
- "refId": "C",
- "target": "alias(percentileOfSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.apply_latency,$percentile), \"apply Latency\")",
- "textEditor": true
- },
- {
- "refId": "D",
- "target": "alias(percentileOfSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.commitcycle_latency,$percentile), \"commit/flush Latency\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Filestore IO Summary - all OSD's @ $percentile%ile",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "Filestore OSD Latencies",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "content": "<h1>Ceph Bluestore I/O Process</h1>\n<p style=\"text-align: justify;\">\nUnlike filestore, bluestore does not suffer from a double-write penalty (i.e write to journal then write to HDD). With bluestore, once a write is scheduled (<b>submit</b> and <b>throttle</b> latencies), it is done directly to the disk (<b>AIO wait</b>), and then the metadata relating to the object is changed (<b>kv_commit</b>). Writes are not considered complete until the kv store is updated. <p> The tables on the right focus on the top 10 Bluestore OSDs with the highest latencies.\n",
- "height": "300",
- "id": 22,
- "links": [],
- "minSpan": 3,
- "mode": "html",
- "span": 3,
- "title": "",
- "type": "text"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "description": "Bluestore OSDs",
- "fontSize": "100%",
- "height": "310",
- "hideTimeOverride": true,
- "id": 26,
- "links": [],
- "minSpan": 1,
- "pageSize": null,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": true
- },
- "span": 1,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "OSD Id",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(currentAbove(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.$osd_id.osd_type),-1),0.5),-2)",
- "textEditor": true
- }
- ],
- "timeFrom": "2m",
- "timeShift": null,
- "title": "",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "description": "Time spent preparing the request (transaction)",
- "fontSize": "100%",
- "height": "310",
- "hideTimeOverride": true,
- "id": 23,
- "links": [],
- "minSpan": 2,
- "pageSize": 5,
- "scroll": false,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": false
- },
- "span": 2,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Submit Latency",
- "colorMode": "row",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [
- ".001",
- ".003"
- ],
- "type": "number",
- "unit": "s"
- },
- {
- "alias": "OSD Id",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.submit_lat),0),$max_devices),-2)",
- "textEditor": true
- }
- ],
- "timeFrom": "2m",
- "title": "",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "description": "Time requests wait due to throttling or busy conditions",
- "fontSize": "100%",
- "height": "310",
- "hideTimeOverride": true,
- "id": 24,
- "links": [],
- "minSpan": 2,
- "pageSize": 5,
- "scroll": false,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": true
- },
- "span": 2,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Throttle Latency",
- "colorMode": "row",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [
- ".002",
- ".005"
- ],
- "type": "number",
- "unit": "s"
- },
- {
- "alias": "OSD Id",
- "colorMode": null,
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [
- ""
- ],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.throttle_lat),0),$max_devices),-2)",
- "textEditor": true
- }
- ],
- "timeFrom": "2m",
- "title": "",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "description": "Time spent waiting for the physical I/O request to complete",
- "fontSize": "100%",
- "height": "310",
- "hideTimeOverride": true,
- "id": 29,
- "links": [],
- "minSpan": 2,
- "pageSize": 5,
- "scroll": false,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": true
- },
- "span": 2,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "AIO Wait Time",
- "colorMode": "row",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [
- ".020",
- ".050"
- ],
- "type": "number",
- "unit": "s"
- },
- {
- "alias": "OSD Id",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.state_aio_wait_lat),0),$max_devices),-2)",
- "textEditor": true
- }
- ],
- "timeFrom": "2m",
- "title": "",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "description": "Time spent waiting for rocksdb (metadata store) to commit meta data",
- "fontSize": "100%",
- "height": "310",
- "hideTimeOverride": true,
- "id": 25,
- "links": [],
- "minSpan": 2,
- "pageSize": 5,
- "scroll": false,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": true
- },
- "span": 2,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "KV Commit ",
- "colorMode": "row",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [
- ".003",
- ".005"
- ],
- "type": "number",
- "unit": "s"
- },
- {
- "alias": "OSD Id",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.kv_commit_lat),0),$max_devices),-2)",
- "textEditor": true
- }
- ],
- "timeFrom": "2m",
- "title": "",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "height": "300",
- "id": 21,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.$osd_id.submit_lat),0),$max_devices),\"submit latency\")",
- "textEditor": true
- },
- {
- "refId": "B",
- "target": "alias(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.$osd_id.throttle_lat),0),$max_devices),\"throttle latency\")",
- "textEditor": true
- },
- {
- "refId": "C",
- "target": "alias(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.$osd_id.state_aio_wait_lat),0),$max_devices),\"AIO Wait latency\")",
- "textEditor": true
- },
- {
- "refId": "D",
- "target": "alias(limit(transformNull(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.$osd_id.kv_commit_lat),0),$max_devices),\"KV Commit Latency\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Bluestore Latency for OSD '$osd_id'",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "description": "This charts shows the $percentile%ile latencies across all OSDs, which indicates overall performance, but does not represent any specific OSD",
- "fill": 1,
- "height": "300px",
- "id": 28,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(percentileOfSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.submit_lat,$percentile), \"Submit Latency\")",
- "textEditor": true
- },
- {
- "refId": "B",
- "target": "alias(percentileOfSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.throttle_lat,$percentile), \"Throttle Latency\")",
- "textEditor": true
- },
- {
- "refId": "C",
- "target": "alias(percentileOfSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.state_aio_wait_lat,$percentile), \"IO Wait Latency\")",
- "textEditor": true
- },
- {
- "refId": "D",
- "target": "alias(percentileOfSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*.kv_commit_lat,$percentile), \"KV Commit Latency\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "BlueStore IO Summary - all OSD's @ $percentile%ile",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "Bluestore OSD Latencies",
- "titleSize": "h5"
- }
- ],
- "schemaVersion": 14,
- "style": "dark",
- "tags": [
- "overview"
- ],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "storage.lab",
- "value": "storage.lab"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "domain",
- "options": [
- {
- "selected": true,
- "text": "storage.lab",
- "value": "storage.lab"
- }
- ],
- "query": "storage.lab",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "ceph",
- "value": "ceph"
- },
- "datasource": "Local",
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "cluster_name",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "95",
- "value": "95"
- },
- "hide": 0,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "percentile",
- "options": [
- {
- "selected": true,
- "text": "95",
- "value": "95"
- },
- {
- "selected": false,
- "text": "96",
- "value": "96"
- },
- {
- "selected": false,
- "text": "97",
- "value": "97"
- },
- {
- "selected": false,
- "text": "98",
- "value": "98"
- },
- {
- "selected": false,
- "text": "99",
- "value": "99"
- }
- ],
- "query": "95,96,97,98,99",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "10",
- "value": "10"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "max_devices",
- "options": [
- {
- "selected": true,
- "text": "10",
- "value": "10"
- }
- ],
- "query": "10",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "text": "All",
- "value": "$__all"
- },
- "datasource": "Local",
- "hide": 0,
- "includeAll": true,
- "label": "OSD Id",
- "multi": false,
- "name": "osd_id",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*",
- "refresh": 1,
- "regex": "/^\\d+$/",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "text": "All",
- "value": "$__all"
- },
- "datasource": "Local",
- "hide": 2,
- "includeAll": true,
- "label": "OSD Id",
- "multi": false,
- "name": "osd_id_hidden",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.$cluster_name.osd.*",
- "refresh": 1,
- "regex": "/^\\d+$/",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "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"
- ]
- },
- "timezone": "browser",
- "title": "Ceph OSD Information",
- "version": 3
- },
- "meta": {
- "canEdit": true,
- "canSave": true,
- "canStar": true,
- "created": "2017-10-11T02:45:33Z",
- "createdBy": "admin@localhost",
- "expires": "0001-01-01T00:00:00Z",
- "slug": "ceph-osd-information",
- "type": "db",
- "updated": "2017-10-11T03:22:46Z",
- "updatedBy": "admin@localhost",
- "version": 3
- }
-}
\ No newline at end of file
+++ /dev/null
-{
- "dashboard": {
- "annotations": {
- "list": []
- },
- "editable": false,
- "gnetId": null,
- "graphTooltip": 0,
- "hideControls": true,
- "id": 68,
- "links": [],
- "refresh": "10s",
- "rows": [
- {
- "collapse": false,
- "height": "250px",
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 5,
- "id": 1,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.op_per_sec,-2,\"maxSeries\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Client IOPS by Pool",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 5,
- "id": 2,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.bytes_sec,-2,\"maxSeries\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Throughput by Pool",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 3,
- "id": 52,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.recovering_bytes_per_sec,-2,\"maxSeries\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Recovery Workload by Pool",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "Pool Overview : $pool_name",
- "titleSize": "h5"
- },
- {
- "collapse": false,
- "height": 250,
- "panels": [
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "fontSize": "100%",
- "id": 3,
- "links": [],
- "minSpan": 6,
- "pageSize": null,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": true
- },
- "span": 4,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Pool Name",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "IOPS",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "pattern": "Current",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "limit(sortByMaxima(groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.*.op_per_sec,-2,\"maxSeries\")),5)",
- "textEditor": true
- }
- ],
- "title": "Top 5 Pools by Client IOPS",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "fontSize": "100%",
- "id": 4,
- "links": [],
- "minSpan": 6,
- "pageSize": null,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": true
- },
- "span": 4,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Pool Name",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "Throughput",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [],
- "type": "number",
- "unit": "decbytes"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "bytes"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "limit(sortByMaxima(groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.*.bytes_sec,-2,\"maxSeries\")),5)",
- "textEditor": true
- }
- ],
- "title": "Top 5 Pools by Throughput",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "fontSize": "100%",
- "id": 59,
- "links": [],
- "minSpan": 6,
- "pageSize": null,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": true
- },
- "span": 4,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Pool Name",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "Capacity Used",
- "colorMode": "value",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [
- "70",
- "85"
- ],
- "type": "number",
- "unit": "percent"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "bytes"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "limit(sortByMaxima(groupByNode(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.*.percent_used,-2,'maxSeries')),5)",
- "textEditor": true
- }
- ],
- "title": "Top 5 Pools by Capacity Used",
- "transform": "timeseries_aggregations",
- "type": "table"
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "Top 5",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 5,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "_rgw_root",
- "value": "_rgw_root"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_op_per_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_op_per_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 7,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "_rgw_root",
- "value": "_rgw_root"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_bytes_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_bytes_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client Throughput",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": "pool_name",
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "Pool '$pool_name' Performance Details",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 60,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_buckets_data",
- "value": "default_rgw_buckets_data"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_op_per_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_op_per_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 61,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_buckets_data",
- "value": "default_rgw_buckets_data"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_bytes_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_bytes_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client Throughput",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": 1507692845646,
- "repeatRowId": 3,
- "showTitle": true,
- "title": "Pool '$pool_name' Performance Details",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 62,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_buckets_index",
- "value": "default_rgw_buckets_index"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_op_per_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_op_per_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 63,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_buckets_index",
- "value": "default_rgw_buckets_index"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_bytes_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_bytes_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client Throughput",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": 1507692845646,
- "repeatRowId": 3,
- "showTitle": true,
- "title": "Pool '$pool_name' Performance Details",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 64,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_control",
- "value": "default_rgw_control"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_op_per_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_op_per_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 65,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_control",
- "value": "default_rgw_control"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_bytes_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_bytes_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client Throughput",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": 1507692845646,
- "repeatRowId": 3,
- "showTitle": true,
- "title": "Pool '$pool_name' Performance Details",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 66,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_data_root",
- "value": "default_rgw_data_root"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_op_per_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_op_per_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 67,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_data_root",
- "value": "default_rgw_data_root"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_bytes_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_bytes_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client Throughput",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": 1507692845646,
- "repeatRowId": 3,
- "showTitle": true,
- "title": "Pool '$pool_name' Performance Details",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 68,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_gc",
- "value": "default_rgw_gc"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_op_per_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_op_per_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 69,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_gc",
- "value": "default_rgw_gc"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_bytes_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_bytes_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client Throughput",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": 1507692845646,
- "repeatRowId": 3,
- "showTitle": true,
- "title": "Pool '$pool_name' Performance Details",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 70,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_log",
- "value": "default_rgw_log"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_op_per_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_op_per_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 71,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_log",
- "value": "default_rgw_log"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_bytes_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_bytes_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client Throughput",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": 1507692845646,
- "repeatRowId": 3,
- "showTitle": true,
- "title": "Pool '$pool_name' Performance Details",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 72,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_meta",
- "value": "default_rgw_meta"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_op_per_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_op_per_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 73,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_meta",
- "value": "default_rgw_meta"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_bytes_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_bytes_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client Throughput",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": 1507692845646,
- "repeatRowId": 3,
- "showTitle": true,
- "title": "Pool '$pool_name' Performance Details",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 74,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_users_keys",
- "value": "default_rgw_users_keys"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_op_per_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_op_per_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 75,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_users_keys",
- "value": "default_rgw_users_keys"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_bytes_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_bytes_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client Throughput",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": 1507692845646,
- "repeatRowId": 3,
- "showTitle": true,
- "title": "Pool '$pool_name' Performance Details",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 76,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_users_swift",
- "value": "default_rgw_users_swift"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_op_per_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_op_per_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 77,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_users_swift",
- "value": "default_rgw_users_swift"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_bytes_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_bytes_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client Throughput",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": 1507692845646,
- "repeatRowId": 3,
- "showTitle": true,
- "title": "Pool '$pool_name' Performance Details",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 78,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_users_uid",
- "value": "default_rgw_users_uid"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_op_per_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_op_per_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 79,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "default_rgw_users_uid",
- "value": "default_rgw_users_uid"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_bytes_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_bytes_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client Throughput",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": 1507692845646,
- "repeatRowId": 3,
- "showTitle": true,
- "title": "Pool '$pool_name' Performance Details",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 80,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "rbd",
- "value": "rbd"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_op_per_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_op_per_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {
- "read_op_per_sec": "#3F6833",
- "write_op_per_sec": "#E5AC0E"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 81,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "pool_name": {
- "selected": false,
- "text": "rbd",
- "value": "rbd"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.read_bytes_sec), -1)"
- },
- {
- "refId": "B",
- "target": "aliasByNode(maxSeries(collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.$pool_name.write_bytes_sec), -1)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Pool '$pool_name' Client Throughput",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": 1507692845646,
- "repeatRowId": 3,
- "showTitle": true,
- "title": "Pool '$pool_name' Performance Details",
- "titleSize": "h5"
- }
- ],
- "schemaVersion": 14,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "ceph",
- "value": "ceph"
- },
- "datasource": "Local",
- "hide": 0,
- "includeAll": false,
- "label": "Cluster Name",
- "multi": false,
- "name": "cluster_name",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "storage.lab",
- "value": "storage.lab"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "domain",
- "options": [
- {
- "selected": true,
- "text": "storage.lab",
- "value": "storage.lab"
- }
- ],
- "query": "storage.lab",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "tags": [],
- "text": "All",
- "value": [
- "$__all"
- ]
- },
- "datasource": "Local",
- "hide": 0,
- "includeAll": true,
- "label": "Pool Name",
- "multi": true,
- "name": "pool_name",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.pools.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "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"
- ]
- },
- "timezone": "browser",
- "title": "Ceph Pools",
- "version": 5
- },
- "meta": {
- "canEdit": true,
- "canSave": true,
- "canStar": true,
- "created": "2017-10-11T02:45:33Z",
- "createdBy": "admin@localhost",
- "expires": "0001-01-01T00:00:00Z",
- "slug": "ceph-pools",
- "type": "db",
- "updated": "2017-10-11T03:35:11Z",
- "updatedBy": "admin@localhost",
- "version": 5
- }
-}
+++ /dev/null
-{
- "dashboard": {
- "annotations": {
- "list": []
- },
- "editable": false,
- "gnetId": null,
- "graphTooltip": 0,
- "hideControls": false,
- "id": 18,
- "links": [
- {
- "asDropdown": true,
- "icon": "external link",
- "includeVars": true,
- "keepTime": true,
- "tags": [
- "overview"
- ],
- "targetBlank": true,
- "title": "Shortcuts",
- "type": "dashboards"
- }
- ],
- "refresh": "10s",
- "rows": [
- {
- "collapse": false,
- "height": 267,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "height": "250",
- "id": 35,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "GET",
- "dsType": "influxdb",
- "groupBy": [
- {
- "params": [
- "$interval"
- ],
- "type": "time"
- }
- ],
- "hide": true,
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.rgw.get_initial_lat",
- "policy": "default",
- "query": "SELECT mean(\"value\") FROM /collectd.$rgw_name.cephmetrics.gauge.$cluster_name.rgw.get_initial_lat/ WHERE $timeFilter GROUP BY time($interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [],
- "target": "sumSeries(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.get_initial_lat_avgcount)",
- "textEditor": true
- },
- {
- "alias": "GET",
- "dsType": "influxdb",
- "groupBy": [
- {
- "params": [
- "$interval"
- ],
- "type": "time"
- }
- ],
- "hide": true,
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.rgw.get_initial_lat",
- "policy": "default",
- "query": "SELECT mean(\"value\") FROM /collectd.$rgw_name.cephmetrics.gauge.$cluster_name.rgw.get_initial_lat/ WHERE $timeFilter GROUP BY time($interval)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [],
- "target": "sumSeries(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.get_initial_lat_sum)",
- "textEditor": true
- },
- {
- "refId": "C",
- "target": "alias(divideSeries(#B, #A),\"GET\")",
- "targetFull": "alias(divideSeries(sumSeries(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.get_initial_lat_sum), sumSeries(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.get_initial_lat_avgcount)),\"GET\")",
- "textEditor": true
- },
- {
- "alias": "GET",
- "dsType": "influxdb",
- "groupBy": [
- {
- "params": [
- "$interval"
- ],
- "type": "time"
- }
- ],
- "hide": true,
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.rgw.get_initial_lat",
- "policy": "default",
- "query": "SELECT mean(\"value\") FROM /collectd.$rgw_name.cephmetrics.gauge.$cluster_name.rgw.get_initial_lat/ WHERE $timeFilter GROUP BY time($interval)",
- "rawQuery": true,
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [],
- "target": "sumSeries(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.put_initial_lat_avgcount)",
- "textEditor": true
- },
- {
- "alias": "GET",
- "dsType": "influxdb",
- "groupBy": [
- {
- "params": [
- "$interval"
- ],
- "type": "time"
- }
- ],
- "hide": true,
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.rgw.get_initial_lat",
- "policy": "default",
- "query": "SELECT mean(\"value\") FROM /collectd.$rgw_name.cephmetrics.gauge.$cluster_name.rgw.get_initial_lat/ WHERE $timeFilter GROUP BY time($interval)",
- "rawQuery": true,
- "refId": "E",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [],
- "target": "sumSeries(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.put_initial_lat_sum)",
- "textEditor": true
- },
- {
- "refId": "F",
- "target": "alias(divideSeries(#E,#D), \"PUT\")",
- "targetFull": "alias(divideSeries(sumSeries(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.put_initial_lat_sum),sumSeries(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.put_initial_lat_avgcount)), \"PUT\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Average Request Latency - All RADOS Gateways",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "datasource": null,
- "decimals": 0,
- "description": "CPU Busy at $percentile%ile across all radosgw hosts",
- "format": "short",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "250",
- "id": 38,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "",
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": " %",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "percentileOfSeries(groupByNode(collectd.$rgw_servers.$domain.cpu.percent.{system,user,wait,interrupt},1,\"sumSeries\"),$percentile)",
- "textEditor": true
- }
- ],
- "thresholds": "70,90",
- "title": "RGW Hosts CPU Busy",
- "type": "singlestat",
- "valueFontSize": "100%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "Failed HTTP Requests": "#0A437C"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "description": "Shows the number of failed/aborted requests across all rados gateways during the last 10secs",
- "fill": 3,
- "height": "250",
- "id": 152,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": false,
- "hideZero": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "minSpan": 2,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 2,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.$rgw_servers.$domain.cephmetrics.derive.$cluster_name.rgw.failed_req, 1, \"maxSeries\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Failed HTTP Requests",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": false,
- "values": []
- },
- "yaxes": [
- {
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": null,
- "decimals": 0,
- "description": "",
- "format": "short",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "250",
- "id": 45,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "sumSeries(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.qlen)",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "Request Queue Length",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "height": "290",
- "id": 34,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "C",
- "target": "groupByNode(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.{get,put}, 1, \"sumSeries\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Total Requests/sec - All RADOS Gateways",
- "tooltip": {
- "shared": true,
- "sort": 1,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "description": "Total of GET/PUT HTTP traffic through all radosgw hosts",
- "fill": 1,
- "height": "290",
- "id": 39,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "hide": false,
- "refId": "C",
- "target": "groupByNode(collectd.*.$domain.cephmetrics.derive.$cluster_name.rgw.{get_b,put_b}, 1, \"sumSeries\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Total Request Size - All RADOS Gateways",
- "tooltip": {
- "shared": true,
- "sort": 1,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "RadosGW Overview - All Gateways",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": "300",
- "panels": [
- {
- "content": "",
- "height": "150",
- "id": 50,
- "links": [],
- "minSpan": 1,
- "mode": "markdown",
- "scopedVars": {
- "rgw_servers": {
- "selected": true,
- "text": "obj-rgw-1",
- "value": "obj-rgw-1"
- }
- },
- "span": 1,
- "title": "",
- "transparent": true,
- "type": "text"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": null,
- "decimals": 0,
- "format": "short",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "180",
- "id": 43,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": " %",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "scopedVars": {
- "rgw_servers": {
- "selected": true,
- "text": "obj-rgw-1",
- "value": "obj-rgw-1"
- }
- },
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "sumSeries(collectd.$rgw_servers.$domain.cpu.percent.{user,system,wait,steal,softirq,interrupt})",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "CPU Utilization",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": null,
- "decimals": 0,
- "description": "RAM Utilization on $rgw_servers - including a usage history covering the 12 hours",
- "format": "short",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "180",
- "hideTimeOverride": true,
- "id": 46,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "",
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": " %",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "scopedVars": {
- "rgw_servers": {
- "selected": true,
- "text": "obj-rgw-1",
- "value": "obj-rgw-1"
- }
- },
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "collectd.$rgw_servers.$domain.memory.percent.used",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "timeFrom": "12h",
- "timeShift": null,
- "title": "RAM Utilization",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "description": "Shows the total network load on the rados gw host",
- "fill": 1,
- "height": "180",
- "id": 150,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 3,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "rgw_servers": {
- "selected": true,
- "text": "obj-rgw-1",
- "value": "obj-rgw-1"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 3,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(sumSeries(consolidateBy(collectd.$rgw_servers.$domain.interface.{en,eth,bond}*.if_octets.rx, \"sum\")),-1)",
- "textEditor": true
- },
- {
- "refId": "B",
- "target": "aliasByNode(sumSeries(consolidateBy(collectd.$rgw_servers.$domain.interface.{en,eth,bond}*.if_octets.tx, \"sum\")),-1)",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Network Load",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": false,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {
- "Failed HTTP Requests": "#0A437C"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "description": "Shows the number of failed/aborted requests on this rados gateway during the last 10secs",
- "fill": 3,
- "height": "180",
- "id": 151,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": true,
- "hideEmpty": false,
- "hideZero": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 3,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "rgw_servers": {
- "selected": true,
- "text": "obj-rgw-1",
- "value": "obj-rgw-1"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 3,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(collectd.$rgw_servers.$domain.cephmetrics.derive.$cluster_name.rgw.failed_req, \"Failed HTTP Requests\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Failed HTTP Requests",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": false,
- "values": []
- },
- "yaxes": [
- {
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": false
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 25,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 4,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "rgw_servers": {
- "selected": true,
- "text": "obj-rgw-1",
- "value": "obj-rgw-1"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "GET",
- "dsType": "influxdb",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "collectd.obj-rgw-1.storage.lab.cephmetrics.derive.ceph.rgw.get",
- "policy": "default",
- "query": "SELECT mean(\"value\") FROM /collectd.$rgw_name.cephmetrics.derive.ceph.rgw.get$/ WHERE $timeFilter GROUP BY time($__interval) fill(null)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [],
- "target": "alias(collectd.$rgw_servers.$domain.cephmetrics.derive.$cluster_name.rgw.get, 'GET')",
- "textEditor": true
- },
- {
- "alias": "PUT",
- "dsType": "influxdb",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "collectd.obj-rgw-1.storage.lab.cephmetrics.derive.ceph.rgw.get",
- "policy": "default",
- "query": "SELECT mean(\"value\") FROM /collectd.$rgw_name.cephmetrics.derive.ceph.rgw.put$/ WHERE $timeFilter GROUP BY time($__interval) fill(null)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [],
- "target": "alias(collectd.$rgw_servers.$domain.cephmetrics.derive.$cluster_name.rgw.put, 'PUT')",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Requests",
- "tooltip": {
- "shared": true,
- "sort": 1,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 19,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 4,
- "nullPointMode": "null as zero",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "rgw_servers": {
- "selected": true,
- "text": "obj-rgw-1",
- "value": "obj-rgw-1"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "GET",
- "dsType": "influxdb",
- "groupBy": [
- {
- "params": [
- "$interval"
- ],
- "type": "time"
- }
- ],
- "hide": true,
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.rgw.get_initial_lat",
- "policy": "default",
- "query": "SELECT mean(\"value\") FROM /collectd.$rgw_name.cephmetrics.gauge.$cluster_name.rgw.get_initial_lat/ WHERE $timeFilter GROUP BY time($interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [],
- "target": "collectd.$rgw_servers.$domain.cephmetrics.derive.$cluster_name.rgw.get_initial_lat_avgcount",
- "textEditor": true
- },
- {
- "alias": "GET",
- "dsType": "influxdb",
- "groupBy": [
- {
- "params": [
- "$interval"
- ],
- "type": "time"
- }
- ],
- "hide": true,
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.rgw.get_initial_lat",
- "policy": "default",
- "query": "SELECT mean(\"value\") FROM /collectd.$rgw_name.cephmetrics.gauge.$cluster_name.rgw.get_initial_lat/ WHERE $timeFilter GROUP BY time($interval)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [],
- "target": "collectd.$rgw_servers.$domain.cephmetrics.derive.$cluster_name.rgw.get_initial_lat_sum",
- "textEditor": true
- },
- {
- "refId": "C",
- "target": "alias(divideSeries(#B, #A),\"GET\")",
- "targetFull": "alias(divideSeries(collectd.$rgw_servers.$domain.cephmetrics.derive.$cluster_name.rgw.get_initial_lat_sum, collectd.$rgw_servers.$domain.cephmetrics.derive.$cluster_name.rgw.get_initial_lat_avgcount),\"GET\")",
- "textEditor": true
- },
- {
- "alias": "GET",
- "dsType": "influxdb",
- "groupBy": [
- {
- "params": [
- "$interval"
- ],
- "type": "time"
- }
- ],
- "hide": true,
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.rgw.get_initial_lat",
- "policy": "default",
- "query": "SELECT mean(\"value\") FROM /collectd.$rgw_name.cephmetrics.gauge.$cluster_name.rgw.get_initial_lat/ WHERE $timeFilter GROUP BY time($interval)",
- "rawQuery": true,
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [],
- "target": "collectd.$rgw_servers.$domain.cephmetrics.derive.$cluster_name.rgw.put_initial_lat_avgcount"
- },
- {
- "alias": "GET",
- "dsType": "influxdb",
- "groupBy": [
- {
- "params": [
- "$interval"
- ],
- "type": "time"
- }
- ],
- "hide": true,
- "measurement": "collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.rgw.get_initial_lat",
- "policy": "default",
- "query": "SELECT mean(\"value\") FROM /collectd.$rgw_name.cephmetrics.gauge.$cluster_name.rgw.get_initial_lat/ WHERE $timeFilter GROUP BY time($interval)",
- "rawQuery": true,
- "refId": "E",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [],
- "target": "collectd.$rgw_servers.$domain.cephmetrics.derive.$cluster_name.rgw.put_initial_lat_sum"
- },
- {
- "refId": "F",
- "target": "alias(divideSeries(#E,#D), \"PUT\")",
- "targetFull": "alias(divideSeries(collectd.$rgw_servers.$domain.cephmetrics.derive.$cluster_name.rgw.put_initial_lat_sum,collectd.$rgw_servers.$domain.cephmetrics.derive.$cluster_name.rgw.put_initial_lat_avgcount), \"PUT\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Request Latency",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 40,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 4,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "rgw_servers": {
- "selected": true,
- "text": "obj-rgw-1",
- "value": "obj-rgw-1"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "GET",
- "dsType": "influxdb",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "collectd.obj-rgw-1.storage.lab.cephmetrics.derive.ceph.rgw.get",
- "policy": "default",
- "query": "SELECT mean(\"value\") FROM /collectd.$rgw_name.cephmetrics.derive.ceph.rgw.get$/ WHERE $timeFilter GROUP BY time($__interval) fill(null)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [],
- "target": "alias(collectd.$rgw_servers.$domain.cephmetrics.derive.$cluster_name.rgw.get_b, 'GET')",
- "textEditor": true
- },
- {
- "alias": "PUT",
- "dsType": "influxdb",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "collectd.obj-rgw-1.storage.lab.cephmetrics.derive.ceph.rgw.get",
- "policy": "default",
- "query": "SELECT mean(\"value\") FROM /collectd.$rgw_name.cephmetrics.derive.ceph.rgw.put$/ WHERE $timeFilter GROUP BY time($__interval) fill(null)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [],
- "target": "alias(collectd.$rgw_servers.$domain.cephmetrics.derive.$cluster_name.rgw.put_b, 'PUT')",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "HTTP GET/PUT Request Sizes",
- "tooltip": {
- "shared": true,
- "sort": 1,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- }
- ],
- "repeat": "rgw_servers",
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "RGW Host : $rgw_servers",
- "titleSize": "h5"
- }
- ],
- "schemaVersion": 14,
- "style": "dark",
- "tags": [
- "overview"
- ],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "text": "ceph",
- "value": "ceph"
- },
- "datasource": "Local",
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "cluster_name",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "text": "storage.lab",
- "value": "storage.lab"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "domain",
- "options": [
- {
- "selected": true,
- "text": "storage.lab",
- "value": "storage.lab"
- }
- ],
- "query": "storage.lab",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "text": "obj-rgw-1",
- "value": "obj-rgw-1"
- },
- "hide": 2,
- "includeAll": true,
- "label": null,
- "multi": true,
- "name": "rgw_servers",
- "options": [
- {
- "selected": true,
- "text": "obj-rgw-1",
- "value": "obj-rgw-1"
- }
- ],
- "query": "obj-rgw-1",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "95",
- "value": "95"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": true,
- "name": "percentile",
- "options": [
- {
- "selected": false,
- "text": "90",
- "value": "90"
- },
- {
- "selected": true,
- "text": "95",
- "value": "95"
- },
- {
- "selected": false,
- "text": "98",
- "value": "98"
- }
- ],
- "query": "90,95,98",
- "type": "custom"
- }
- ]
- },
- "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"
- ]
- },
- "timezone": "browser",
- "title": "Ceph RGW Workload",
- "version": 1
- },
- "meta": {
- "canEdit": true,
- "canSave": true,
- "canStar": true,
- "created": "2017-08-01T05:18:58Z",
- "createdBy": "admin@localhost",
- "expires": "0001-01-01T00:00:00Z",
- "slug": "ceph-rgw-workload",
- "type": "db",
- "updated": "2017-08-01T20:58:52Z",
- "updatedBy": "admin@localhost",
- "version": 1
- }
-}
+++ /dev/null
-{
- "dashboard": {
- "annotations": {
- "list": []
- },
- "editable": false,
- "gnetId": null,
- "graphTooltip": 0,
- "hideControls": true,
- "id": 10,
- "links": [
- {
- "asDropdown": true,
- "icon": "external link",
- "tags": [
- "overview"
- ],
- "title": "Shortcuts",
- "type": "dashboards"
- }
- ],
- "refresh": "10s",
- "rows": [
- {
- "collapse": false,
- "height": 250,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 8,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 12,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 12,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.$osd_servers.$domain.cephmetrics.gauge.$ceph_cluster.osd.*.perf.util,1,\"maxSeries\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers OSD Hosts Disk Utilization Peak",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": "100",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "All OSD Hosts",
- "titleSize": "h5"
- },
- {
- "collapse": false,
- "height": 250,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 5,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [
- {
- "dashUri": "db/osd-node-detail",
- "dashboard": "OSD Node Detail",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "$osd_servers Node Details",
- "type": "dashboard"
- }
- ],
- "minSpan": 3,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": "osd_servers",
- "scopedVars": {
- "osd_servers": {
- "selected": false,
- "text": "obj-osd-1",
- "value": "obj-osd-1"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(percentileOfSeries(group(collectd.$osd_servers.$domain.cephmetrics.gauge.$ceph_cluster.osd.*.perf.util),$percentile),\"all disk busy @$percentile%ile\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers Disk Utilisation @ $percentile%ile",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": "100",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 6,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [
- {
- "dashUri": "db/osd-node-detail",
- "dashboard": "OSD Node Detail",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "$osd_servers Node Details",
- "type": "dashboard"
- }
- ],
- "minSpan": 3,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatIteration": 1501621235322,
- "repeatPanelId": 5,
- "scopedVars": {
- "osd_servers": {
- "selected": false,
- "text": "obj-osd-2",
- "value": "obj-osd-2"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(percentileOfSeries(group(collectd.$osd_servers.$domain.cephmetrics.gauge.$ceph_cluster.osd.*.perf.util),$percentile),\"all disk busy @$percentile%ile\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers Disk Utilisation @ $percentile%ile",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": "100",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 7,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [
- {
- "dashUri": "db/osd-node-detail",
- "dashboard": "OSD Node Detail",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "$osd_servers Node Details",
- "type": "dashboard"
- }
- ],
- "minSpan": 3,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatIteration": 1501621235322,
- "repeatPanelId": 5,
- "scopedVars": {
- "osd_servers": {
- "selected": false,
- "text": "obj-osd-3",
- "value": "obj-osd-3"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(percentileOfSeries(group(collectd.$osd_servers.$domain.cephmetrics.gauge.$ceph_cluster.osd.*.perf.util),$percentile),\"all disk busy @$percentile%ile\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers Disk Utilisation @ $percentile%ile",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": "100",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "Each OSD Host's $percentile%ile Disk Utilisation",
- "titleSize": "h5"
- },
- {
- "collapse": false,
- "height": 250,
- "panels": [],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": false,
- "title": "Dashboard Row",
- "titleSize": "h6"
- }
- ],
- "schemaVersion": 14,
- "style": "dark",
- "tags": [
- "overview"
- ],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "storage.lab",
- "value": "storage.lab"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "domain",
- "options": [
- {
- "selected": true,
- "text": "storage.lab",
- "value": "storage.lab"
- }
- ],
- "query": "storage.lab",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "text": "ceph",
- "value": "ceph"
- },
- "datasource": "Local",
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "ceph_cluster",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "95",
- "value": "95"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "percentile",
- "options": [
- {
- "selected": false,
- "text": "80",
- "value": "80"
- },
- {
- "selected": false,
- "text": "85",
- "value": "85"
- },
- {
- "selected": false,
- "text": "90",
- "value": "90"
- },
- {
- "selected": true,
- "text": "95",
- "value": "95"
- },
- {
- "selected": false,
- "text": "98",
- "value": "98"
- }
- ],
- "query": "80,85,90,95,98",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- "hide": 2,
- "includeAll": true,
- "label": null,
- "multi": true,
- "name": "osd_servers",
- "options": [
- {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- {
- "selected": false,
- "text": "obj-osd-1",
- "value": "obj-osd-1"
- },
- {
- "selected": false,
- "text": "obj-osd-2",
- "value": "obj-osd-2"
- },
- {
- "selected": false,
- "text": "obj-osd-3",
- "value": "obj-osd-3"
- }
- ],
- "query": "obj-osd-1,obj-osd-2,obj-osd-3",
- "type": "custom"
- }
- ]
- },
- "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"
- ]
- },
- "timezone": "browser",
- "title": "Disk Busy by Server",
- "version": 2
- },
- "meta": {
- "canEdit": true,
- "canSave": true,
- "canStar": true,
- "created": "2017-08-01T05:18:58Z",
- "createdBy": "admin@localhost",
- "expires": "0001-01-01T00:00:00Z",
- "slug": "disk-busy-by-server",
- "type": "db",
- "updated": "2017-08-01T21:02:25Z",
- "updatedBy": "admin@localhost",
- "version": 2
- }
-}
\ No newline at end of file
+++ /dev/null
-{
- "dashboard": {
- "annotations": {
- "list": []
- },
- "editable": false,
- "gnetId": null,
- "graphTooltip": 0,
- "hideControls": true,
- "id": 12,
- "links": [
- {
- "asDropdown": true,
- "icon": "external link",
- "tags": [
- "overview"
- ],
- "title": "Shortcuts",
- "type": "dashboards"
- }
- ],
- "refresh": "10s",
- "rows": [
- {
- "collapse": false,
- "height": 250,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 8,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 12,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 12,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.iops,1,\"sumSeries\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers OSD Server IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "All Servers by IOPS",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 5,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [
- {
- "dashUri": "db/osd-node-detail",
- "dashboard": "OSD Node Detail",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "$osd_servers Node Details",
- "type": "dashboard"
- }
- ],
- "minSpan": 3,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": "osd_servers",
- "scopedVars": {
- "osd_servers": {
- "selected": false,
- "text": "obj-osd-1",
- "value": "obj-osd-1"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(sumSeries(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.iops),\"total IOPS for all disks on $osd_servers\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers Total OSD IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 6,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [
- {
- "dashUri": "db/osd-node-detail",
- "dashboard": "OSD Node Detail",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "$osd_servers Node Details",
- "type": "dashboard"
- }
- ],
- "minSpan": 3,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatIteration": 1501622535508,
- "repeatPanelId": 5,
- "scopedVars": {
- "osd_servers": {
- "selected": false,
- "text": "obj-osd-2",
- "value": "obj-osd-2"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(sumSeries(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.iops),\"total IOPS for all disks on $osd_servers\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers Total OSD IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 7,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [
- {
- "dashUri": "db/osd-node-detail",
- "dashboard": "OSD Node Detail",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "$osd_servers Node Details",
- "type": "dashboard"
- }
- ],
- "minSpan": 3,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatIteration": 1501622535508,
- "repeatPanelId": 5,
- "scopedVars": {
- "osd_servers": {
- "selected": false,
- "text": "obj-osd-3",
- "value": "obj-osd-3"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(sumSeries(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.iops),\"total IOPS for all disks on $osd_servers\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers Total OSD IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "Each OSD Node's IOPS Load",
- "titleSize": "h5"
- },
- {
- "collapse": false,
- "height": 250,
- "panels": [],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": false,
- "title": "Dashboard Row",
- "titleSize": "h6"
- }
- ],
- "schemaVersion": 14,
- "style": "dark",
- "tags": [
- "overview"
- ],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "storage.lab",
- "value": "storage.lab"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "domain",
- "options": [
- {
- "selected": true,
- "text": "storage.lab",
- "value": "storage.lab"
- }
- ],
- "query": "storage.lab",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "ceph",
- "value": "ceph"
- },
- "datasource": "Local",
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "cluster_name",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- "hide": 2,
- "includeAll": true,
- "label": null,
- "multi": true,
- "name": "osd_servers",
- "options": [
- {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- {
- "selected": false,
- "text": "obj-osd-1",
- "value": "obj-osd-1"
- },
- {
- "selected": false,
- "text": "obj-osd-2",
- "value": "obj-osd-2"
- },
- {
- "selected": false,
- "text": "obj-osd-3",
- "value": "obj-osd-3"
- }
- ],
- "query": "obj-osd-1,obj-osd-2,obj-osd-3",
- "type": "custom"
- }
- ]
- },
- "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"
- ]
- },
- "timezone": "browser",
- "title": "IOPS by Server",
- "version": 4
- },
- "meta": {
- "canEdit": true,
- "canSave": true,
- "canStar": true,
- "created": "2017-08-01T05:18:58Z",
- "createdBy": "admin@localhost",
- "expires": "0001-01-01T00:00:00Z",
- "slug": "iops-by-server",
- "type": "db",
- "updated": "2017-08-01T21:23:04Z",
- "updatedBy": "admin@localhost",
- "version": 4
- }
-}
\ No newline at end of file
+++ /dev/null
-{
- "dashboard": {
- "annotations": {
- "list": []
- },
- "editable": false,
- "gnetId": null,
- "graphTooltip": 0,
- "hideControls": true,
- "id": 28,
- "links": [
- {
- "asDropdown": true,
- "icon": "external link",
- "tags": [
- "overview"
- ],
- "title": "Shortcuts",
- "type": "dashboards"
- }
- ],
- "refresh": "10s",
- "rows": [
- {
- "collapse": false,
- "height": "200px",
- "panels": [
- {
- "content": "",
- "height": "100",
- "id": 19,
- "links": [],
- "minSpan": 2,
- "mode": "markdown",
- "span": 2,
- "title": "",
- "transparent": true,
- "type": "text"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "100",
- "hideTimeOverride": true,
- "id": 1,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "1",
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_stats.tpg_count), \"max\"))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "timeFrom": "1m",
- "timeShift": null,
- "title": "Gateways",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "100",
- "hideTimeOverride": true,
- "id": 2,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "1",
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_stats.client_count), \"max\"))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "timeFrom": "1m",
- "title": "Clients",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": null,
- "description": "Sessions shows the number of iSCSI clients currently logged in to the gateway group",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "100",
- "hideTimeOverride": true,
- "id": 5,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "",
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "maxSeries(keepLastValue(consolidateBy(collectd.*.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_stats.sessions, \"max\")))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "timeFrom": "1m",
- "timeShift": null,
- "title": "Sessions",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": null,
- "decimals": 0,
- "description": "Capacity refers to the total capacity defined within the iSCSI gateway group, and available to iSCSI clients",
- "format": "bytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "100",
- "hideTimeOverride": true,
- "id": 4,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "",
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "hide": false,
- "refId": "A",
- "target": "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_stats.capacity), \"max\"))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "timeFrom": "1m",
- "timeShift": null,
- "title": "Defined Capacity",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "100",
- "hideTimeOverride": true,
- "id": 3,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "",
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "maxSeries(consolidateBy(collectd.*.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_stats.lun_count, \"max\"))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "timeFrom": "1m",
- "timeShift": null,
- "title": "LUNs",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "100",
- "hideTimeOverride": true,
- "id": 18,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "",
- "minSpan": 1,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 1,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "hide": true,
- "refId": "A",
- "target": "maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_stats.lun_count), \"max\"))",
- "textEditor": true
- },
- {
- "hide": true,
- "refId": "B",
- "target": "alias(countSeries(groupByNode(currentAbove(collectd.$iscsi_gateways.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_clients.$clients.luns.*.size,0.5),-2,\"maxSeries\")),\"mapped\")",
- "textEditor": true
- },
- {
- "refId": "C",
- "target": "diffSeries(#A,#B)",
- "targetFull": "diffSeries(maxSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_stats.lun_count), \"max\")),alias(countSeries(groupByNode(currentAbove(collectd.$iscsi_gateways.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_clients.$clients.luns.*.size,0.5),-2,\"maxSeries\")),\"mapped\"))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "timeFrom": "1m",
- "title": "Unused LUNs",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "content": "",
- "height": "100",
- "id": 22,
- "links": [],
- "minSpan": 3,
- "mode": "markdown",
- "span": 3,
- "title": "",
- "transparent": true,
- "type": "text"
- },
- {
- "content": "",
- "height": "100",
- "id": 23,
- "links": [],
- "minSpan": 1,
- "mode": "markdown",
- "span": 1,
- "title": "",
- "transparent": true,
- "type": "text"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": null,
- "decimals": 0,
- "description": "Total IOPS across all iSCSI gateways",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "200",
- "id": 6,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "",
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "sumSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.derive.$cluster_name.iscsi.gw_stats.iops), \"max\"))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "IOPS",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": null,
- "decimals": 0,
- "description": "Total read/write throughput across all iSCSI gateways",
- "format": "decbytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "200",
- "id": 7,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "",
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "sumSeries(consolidateBy(keepLastValue(collectd.*.$domain.cephmetrics.derive.$cluster_name.iscsi.gw_stats.total_bytes_per_sec), \"max\"))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "Throughput",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "height": "",
- "id": 14,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "minSpan": 3,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 3,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.$iscsi_gateways.$domain.interface.{bond,en,eth}*.if_octets.{tx,rx},1, \"sum\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Network Load by Gateway",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "cacheTimeout": null,
- "combine": {
- "label": "Others",
- "threshold": 0
- },
- "datasource": null,
- "fontSize": "80%",
- "format": "short",
- "height": "200",
- "hideTimeOverride": true,
- "id": 26,
- "interval": null,
- "legend": {
- "show": true,
- "values": true
- },
- "legendType": "Right side",
- "links": [],
- "maxDataPoints": 3,
- "minSpan": 3,
- "nullPointMode": "connected",
- "pieType": "pie",
- "span": 3,
- "strokeWidth": 1,
- "targets": [
- {
- "hide": true,
- "refId": "A",
- "target": "currentAbove(keepLastValue(collectd.$iscsi_gateways.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_clients.*.luns.*.active_path),0.5)",
- "textEditor": true
- },
- {
- "refId": "B",
- "target": "groupByNode(#A,1,\"sumSeries\")",
- "targetFull": "groupByNode(currentAbove(keepLastValue(collectd.$iscsi_gateways.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_clients.*.luns.*.active_path),0.5),1,\"sumSeries\")",
- "textEditor": true
- }
- ],
- "timeFrom": "1m",
- "title": "Primary LUN Paths Per Gateway",
- "type": "grafana-piechart-panel",
- "valueName": "current"
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "iSCSI Gateway Group : $gw_name",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 0,
- "height": "",
- "id": 21,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.$iscsi_gateways.$domain.cephmetrics.derive.$cluster_name.iscsi.gw_stats.iops,1, \"sum\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "IOPS Load by Gateway",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "none",
- "label": "IOPS",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 0,
- "height": "",
- "id": 27,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.$iscsi_gateways.$domain.cephmetrics.derive.$cluster_name.iscsi.gw_stats.total_bytes_per_sec,1, \"sum\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Throughput by Gateway",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "Throughput",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 0,
- "height": "",
- "id": 12,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.$iscsi_gateways.$domain.cpu.percent.{interrupt,steal,system,user,wait},1, \"sum\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Gateway CPU Load",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "percent",
- "label": "",
- "logBase": 1,
- "max": "100",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 0,
- "height": "",
- "id": 24,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.$iscsi_gateways.$domain.memory.percent.used,1, \"sum\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Gateway Memory Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "percent",
- "label": "",
- "logBase": 1,
- "max": "100",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "Gateway Load",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 0,
- "id": 8,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "currentAbove(groupByNode(collectd.*.$domain.cephmetrics.derive.$cluster_name.iscsi.gw_clients.$clients.luns.*.iops,-4,\"sum\"),0)",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "IOPS by Client",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 0,
- "id": 11,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "currentAbove(groupByNode(collectd.*.$domain.cephmetrics.derive.$cluster_name.iscsi.gw_clients.$clients.luns.*.total_bytes_per_sec,-4,\"sum\"),0)",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Throughput by Client",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 0,
- "id": 30,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "limit(groupByNode(currentAbove(collectd.*.$domain.cephmetrics.derive.$cluster_name.iscsi.gw_clients.$clients.luns.*.iops,0),-2,\"sum\"),10)",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "IOPS by RBD Image for Client '$clients'",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 0,
- "id": 31,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "limit(groupByNode(currentAbove(collectd.*.$domain.cephmetrics.derive.$cluster_name.iscsi.gw_clients.$clients.luns.*.total_bytes_per_sec,0),-2,\"sum\"),10)",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Throughput by RBD Image for Client '$clients'",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "Client Load : '$clients'",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "fontSize": "100%",
- "id": 15,
- "links": [],
- "minSpan": 4,
- "pageSize": 10,
- "scroll": false,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": true
- },
- "span": 4,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Disk (pool-image)",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "Size",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [],
- "type": "number",
- "unit": "bytes"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(maximumAbove(collectd.*.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_clients.$clients.luns.*.size,0),-2,\"maxSeries\")",
- "textEditor": true
- }
- ],
- "title": "RBD Images Masked to '$clients'",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "fontSize": "100%",
- "id": 16,
- "links": [],
- "minSpan": 4,
- "pageSize": 10,
- "scroll": false,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": true
- },
- "span": 4,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Client",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "# Luns Masked",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "pattern": "Current",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(currentAbove(collectd.*.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_clients.$clients.lun_count,0),-2,\"maxSeries\")",
- "textEditor": true
- }
- ],
- "title": "Luns Per Client",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "fontSize": "100%",
- "id": 17,
- "links": [],
- "maxDataPoints": "1",
- "minSpan": 4,
- "pageSize": 10,
- "scroll": false,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": true
- },
- "span": 4,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Client",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Capacity",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Current",
- "thresholds": [],
- "type": "number",
- "unit": "bytes"
- },
- {
- "alias": "",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "sumSeries(groupByNode(keepLastValue(collectd.$iscsi_gateways.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_clients.$clients.luns.*.size),-2,\"maxSeries\"))",
- "textEditor": true
- }
- ],
- "title": "Client '$clients' - Masked Capacity",
- "transform": "timeseries_aggregations",
- "type": "table"
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "Client Configuration : '$clients'",
- "titleSize": "h5"
- }
- ],
- "schemaVersion": 14,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "test.lab",
- "value": "test.lab"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "domain",
- "options": [
- {
- "selected": true,
- "text": "test.lab",
- "value": "test.lab"
- }
- ],
- "query": "test.lab",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "text": "ceph",
- "value": "ceph"
- },
- "datasource": "Local",
- "hide": 0,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "cluster_name",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "text": "All",
- "value": "$__all"
- },
- "datasource": "Local",
- "hide": 0,
- "includeAll": true,
- "label": "iSCSI Client",
- "multi": false,
- "name": "clients",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_clients.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "text": "iqn-2003-01-com-redhat-iscsi-gw_ceph-gw",
- "value": "iqn-2003-01-com-redhat-iscsi-gw_ceph-gw"
- },
- "datasource": "Local",
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "gw_name",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.$cluster_name.iscsi.gw_name.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "text": "All",
- "value": [
- "$__all"
- ]
- },
- "hide": 2,
- "includeAll": true,
- "label": null,
- "multi": true,
- "name": "iscsi_gateways",
- "options": [
- {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- {
- "selected": false,
- "text": "rh7-gw1",
- "value": "rh7-gw1"
- },
- {
- "selected": false,
- "text": "rh7-gw2",
- "value": "rh7-gw2"
- }
- ],
- "query": "rh7-gw1, rh7-gw2",
- "type": "custom"
- }
- ]
- },
- "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"
- ]
- },
- "timezone": "browser",
- "title": "iSCSI Overview",
- "version": 51
- },
- "meta": {
- "canEdit": true,
- "canSave": true,
- "canStar": true,
- "created": "2017-08-03T23:35:37Z",
- "createdBy": "admin",
- "expires": "0001-01-01T00:00:00Z",
- "slug": "iscsi-overview",
- "type": "db",
- "updated": "2017-09-12T04:50:03Z",
- "updatedBy": "admin",
- "version": 51
- }
-}
\ No newline at end of file
+++ /dev/null
-{
- "dashboard": {
- "annotations": {
- "list": []
- },
- "editable": false,
- "gnetId": null,
- "graphTooltip": 0,
- "hideControls": true,
- "id": 13,
- "links": [
- {
- "asDropdown": true,
- "icon": "external link",
- "tags": [
- "overview"
- ],
- "title": "Shortcuts",
- "type": "dashboards"
- }
- ],
- "refresh": "10s",
- "rows": [
- {
- "collapse": false,
- "height": 250,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 8,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 12,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 12,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.await,1,\"maxSeries\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers OSD Hosts - Highest Latency",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "All OSD Hosts",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": 250,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 5,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [
- {
- "dashUri": "db/osd-node-detail",
- "dashboard": "OSD Node Detail",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "$osd_servers Node Details",
- "type": "dashboard"
- }
- ],
- "minSpan": 3,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": "osd_servers",
- "scopedVars": {
- "osd_servers": {
- "selected": false,
- "text": "obj-osd-1",
- "value": "obj-osd-1"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(maxSeries(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.await),\"$osd_servers Max Latency\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers Max Latency",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 6,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [
- {
- "dashUri": "db/osd-node-detail",
- "dashboard": "OSD Node Detail",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "$osd_servers Node Details",
- "type": "dashboard"
- }
- ],
- "minSpan": 3,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatIteration": 1501621443172,
- "repeatPanelId": 5,
- "scopedVars": {
- "osd_servers": {
- "selected": false,
- "text": "obj-osd-2",
- "value": "obj-osd-2"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(maxSeries(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.await),\"$osd_servers Max Latency\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers Max Latency",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 7,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [
- {
- "dashUri": "db/osd-node-detail",
- "dashboard": "OSD Node Detail",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "$osd_servers Node Details",
- "type": "dashboard"
- }
- ],
- "minSpan": 3,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatIteration": 1501621443172,
- "repeatPanelId": 5,
- "scopedVars": {
- "osd_servers": {
- "selected": false,
- "text": "obj-osd-3",
- "value": "obj-osd-3"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 4,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(maxSeries(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.perf.await),\"$osd_servers Max Latency\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers Max Latency",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "Each OSD Host's Max Disk Latency",
- "titleSize": "h5"
- },
- {
- "collapse": false,
- "height": 250,
- "panels": [],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": false,
- "title": "Dashboard Row",
- "titleSize": "h6"
- }
- ],
- "schemaVersion": 14,
- "style": "dark",
- "tags": [
- "overview"
- ],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "text": "storage.lab",
- "value": "storage.lab"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "domain",
- "options": [
- {
- "selected": true,
- "text": "storage.lab",
- "value": "storage.lab"
- }
- ],
- "query": "storage.lab",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "text": "ceph",
- "value": "ceph"
- },
- "datasource": "Local",
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "cluster_name",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- "hide": 2,
- "includeAll": true,
- "label": null,
- "multi": true,
- "name": "osd_servers",
- "options": [
- {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- {
- "selected": false,
- "text": "obj-osd-1",
- "value": "obj-osd-1"
- },
- {
- "selected": false,
- "text": "obj-osd-2",
- "value": "obj-osd-2"
- },
- {
- "selected": false,
- "text": "obj-osd-3",
- "value": "obj-osd-3"
- }
- ],
- "query": "obj-osd-1,obj-osd-2,obj-osd-3",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "95",
- "value": "95"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "percentile",
- "options": [
- {
- "selected": true,
- "text": "95",
- "value": "95"
- }
- ],
- "query": "95",
- "type": "custom"
- }
- ]
- },
- "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"
- ]
- },
- "timezone": "browser",
- "title": "Latency by Server",
- "version": 3
- },
- "meta": {
- "canEdit": true,
- "canSave": true,
- "canStar": true,
- "created": "2017-08-01T05:18:58Z",
- "createdBy": "admin@localhost",
- "expires": "0001-01-01T00:00:00Z",
- "slug": "latency-by-server",
- "type": "db",
- "updated": "2017-08-01T21:04:34Z",
- "updatedBy": "admin@localhost",
- "version": 3
- }
-}
\ No newline at end of file
+++ /dev/null
-{
- "dashboard": {
- "annotations": {
- "list": []
- },
- "editable": false,
- "gnetId": null,
- "graphTooltip": 0,
- "hideControls": true,
- "id": 20,
- "links": [
- {
- "asDropdown": true,
- "icon": "external link",
- "tags": [
- "overview"
- ],
- "title": "Shortcuts",
- "type": "dashboards"
- }
- ],
- "refresh": "10s",
- "rows": [
- {
- "collapse": false,
- "height": "300px",
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "description": "Shows the total transmit and receive throughput to all interfaces across the Ceph hosts.",
- "fill": 1,
- "height": "",
- "id": 1,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [
- {
- "dashUri": "db/osd-node-detail",
- "dashboard": "OSD Node Detail",
- "includeVars": true,
- "keepTime": true,
- "targetBlank": true,
- "title": "OSD Host Details",
- "type": "dashboard"
- }
- ],
- "minSpan": 12,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 12,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "alias(sumSeries(groupByNode(collectd.$osd_servers.$domain.interface.{bond,en,eth}*.if_octets.*,1,\"sumSeries\")),\"OSD Hosts\")",
- "textEditor": true
- },
- {
- "refId": "B",
- "target": "alias(sumSeries(groupByNode(collectd.$rgw_servers.$domain.interface.{bond,en,eth}*.if_octets.*,1,\"sumSeries\")),\"RadosGW Hosts\")",
- "textEditor": true
- },
- {
- "refId": "C",
- "target": "alias(sumSeries(groupByNode(collectd.$mon_servers.$domain.interface.{bond,en,eth}*.if_octets.*,1,\"sumSeries\")),\"MON Hosts\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Cluster Network Load Across MON, OSD and RADOSGW Hosts",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "Aggregated Network Load",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": "250",
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 4,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 12,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.$mon_servers.$domain.interface.{bond,en,eth}*.if_octets.*,1,\"sumSeries\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Ceph MON Network Load",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "MON Hosts",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": "250",
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 2,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 12,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.$osd_servers.$domain.interface.{bond,en,eth}*.if_octets.*,1,\"sumSeries\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "OSD Host Network Load",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "OSD Hosts",
- "titleSize": "h5"
- },
- {
- "collapse": true,
- "height": "250",
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "id": 3,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 12,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "groupByNode(collectd.$rgw_servers.$domain.interface.{bond,en,eth}*.if_octets.*,1,\"sumSeries\")",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "RadosGW Network Load",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "RadosGW Hosts",
- "titleSize": "h5"
- }
- ],
- "schemaVersion": 14,
- "style": "dark",
- "tags": [
- "overview"
- ],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- "hide": 0,
- "includeAll": true,
- "label": "OSD Hostname",
- "multi": true,
- "name": "osd_servers",
- "options": [
- {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- {
- "selected": false,
- "text": "ceph-1",
- "value": "ceph-1"
- },
- {
- "selected": false,
- "text": "ceph-2",
- "value": "ceph-2"
- },
- {
- "selected": false,
- "text": "ceph-3",
- "value": "ceph-3"
- }
- ],
- "query": "ceph-1,ceph-2,ceph-3",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "test.lab",
- "value": "test.lab"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "domain",
- "options": [
- {
- "selected": true,
- "text": "test.lab",
- "value": "test.lab"
- }
- ],
- "query": "test.lab",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "ceph",
- "value": "ceph"
- },
- "datasource": "Local",
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "cluster_name",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "selected": false,
- "text": "All",
- "value": "$__all"
- },
- "datasource": "Local",
- "hide": 0,
- "includeAll": true,
- "label": "Monitor Host",
- "multi": false,
- "name": "mon_servers",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.$cluster_name.mon.mon_status.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "text": "All",
- "value": "All"
- },
- "hide": 0,
- "includeAll": true,
- "label": "RadosGW Host",
- "multi": false,
- "name": "rgw_servers",
- "options": [
- {
- "selected": false,
- "text": "obj-rgw-1",
- "value": "obj-rgw-1"
- }
- ],
- "query": "obj-rgw-1",
- "type": "custom"
- }
- ]
- },
- "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"
- ]
- },
- "timezone": "browser",
- "title": "Network Usage by Node",
- "version": 5
- },
- "meta": {
- "canEdit": true,
- "canSave": true,
- "canStar": true,
- "created": "2017-08-03T21:42:28Z",
- "createdBy": "admin",
- "expires": "0001-01-01T00:00:00Z",
- "slug": "network-usage-by-node",
- "type": "db",
- "updated": "2017-09-12T23:49:40Z",
- "updatedBy": "admin",
- "version": 5
- }
-}
\ No newline at end of file
+++ /dev/null
-{
- "dashboard": {
- "annotations": {
- "list": []
- },
- "editable": false,
- "gnetId": null,
- "graphTooltip": 0,
- "hideControls": true,
- "id": 74,
- "links": [
- {
- "asDropdown": true,
- "icon": "external link",
- "tags": [
- "overview"
- ],
- "title": "Shortcuts",
- "type": "dashboards"
- }
- ],
- "refresh": "10s",
- "rows": [
- {
- "collapse": false,
- "height": 125,
- "panels": [
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "160",
- "id": 9,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "",
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "sumSeries(keepLastValue(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.num_osds,6))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "OSDs",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": "Local",
- "decimals": 0,
- "description": "Each OSD consists of a Journal/WAL partition and a data partition. The RAW Capacity shown is the sum of the data partitions across all OSDs on the selected OSD hosts.",
- "format": "decbytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "height": "160",
- "id": 15,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": "",
- "minSpan": 2,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "span": 2,
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "refId": "A",
- "target": "sumSeries(consolidateBy(keepLastValue(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*.stat_bytes, 6), \"sum\"))",
- "textEditor": true
- }
- ],
- "thresholds": "",
- "title": "Raw Capacity",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "description": "",
- "fontSize": "100%",
- "height": "160",
- "id": 14,
- "links": [],
- "minSpan": 3,
- "pageSize": 1000,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": false
- },
- "span": 3,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Host and Disk",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "OSD ID",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "pattern": "Current",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.$device_id.osd_id,1,-2)",
- "textEditor": true
- }
- ],
- "title": "",
- "transform": "timeseries_aggregations",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "Current",
- "value": "current"
- }
- ],
- "description": "",
- "fontSize": "100%",
- "height": "160",
- "hideTimeOverride": true,
- "id": 16,
- "links": [],
- "maxDataPoints": "1",
- "minSpan": 3,
- "pageSize": 1000,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": false
- },
- "span": 3,
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "Host and Disk",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "Metric",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "Disk Size",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "pattern": "Current",
- "thresholds": [],
- "type": "number",
- "unit": "decbytes"
- }
- ],
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(keepLastValue(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.$device_id.disk_size),1,-2)",
- "textEditor": true
- }
- ],
- "timeFrom": "2m",
- "timeShift": null,
- "title": "",
- "transform": "timeseries_aggregations",
- "type": "table"
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "'$osd_servers' OSD Overview",
- "titleSize": "h5"
- },
- {
- "collapse": false,
- "height": 250,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 1,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(limit(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.$device_id.perf.util, $max_devices), -3)",
- "textEditor": false
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers Disk utilisation",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "%Util",
- "logBase": 1,
- "max": "100",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 5,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(limit(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.$device_id.perf.iops, $max_devices), -3)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers Disk IOPS",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "IOPS",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 2,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(limit(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.$device_id.perf.await, $max_devices), -3)",
- "textEditor": false
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers Disk Latency",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "none",
- "label": "ms",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 3,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(limit(collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.$device_id.perf.bytes_per_sec, $max_devices), -3)",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers Throughput by Disk",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {
- "interrupt": "#447EBC",
- "steal": "#6D1F62",
- "system": "#890F02",
- "user": "#3F6833",
- "wait": "#C15C17"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "description": "Shows the CPU breakdown. When multiple servers are selected, only the first host's cpu data is shown",
- "fill": 3,
- "id": 6,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "limit(aliasByMetric(collectd.$osd_servers.$domain.cpu.percent.{system,user,wait,steal,nice,interrupt,softirq}),7)",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers CPU Utilisation",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": "100",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Local",
- "fill": 1,
- "id": 7,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideZero": true,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 6,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "span": 6,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "refId": "A",
- "target": "aliasByNode(limit(collectd.$osd_servers.$domain.interface.{eth,en,bond}*.if_octets.*, 40), -3, -1)",
- "textEditor": false
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "$osd_servers Network Load",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ]
- }
- ],
- "repeat": null,
- "repeatIteration": null,
- "repeatRowId": null,
- "showTitle": true,
- "title": "'$osd_servers' Performance Statistics",
- "titleSize": "h5"
- }
- ],
- "schemaVersion": 14,
- "style": "dark",
- "tags": [
- "overview"
- ],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "selected": true,
- "tags": [],
- "text": "obj-osd-1",
- "value": "obj-osd-1"
- },
- "hide": 0,
- "includeAll": true,
- "label": "OSD Host Name",
- "multi": false,
- "name": "osd_servers",
- "options": [
- {
- "selected": false,
- "text": "All",
- "value": "$__all"
- },
- {
- "selected": true,
- "text": "obj-osd-1",
- "value": "obj-osd-1"
- },
- {
- "selected": false,
- "text": "obj-osd-2",
- "value": "obj-osd-2"
- },
- {
- "selected": false,
- "text": "obj-osd-3",
- "value": "obj-osd-3"
- }
- ],
- "query": "obj-osd-1,obj-osd-2,obj-osd-3",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "storage.lab",
- "value": "storage.lab"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "domain",
- "options": [
- {
- "selected": true,
- "text": "storage.lab",
- "value": "storage.lab"
- }
- ],
- "query": "storage.lab",
- "type": "custom"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "ceph",
- "value": "ceph"
- },
- "datasource": "Local",
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "cluster_name",
- "options": [],
- "query": "collectd.*.$domain.cephmetrics.gauge.*",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "text": "All",
- "value": [
- "$__all"
- ]
- },
- "datasource": "Local",
- "hide": 0,
- "includeAll": true,
- "label": "Disk Name",
- "multi": true,
- "name": "device_id",
- "options": [],
- "query": "collectd.$osd_servers.$domain.cephmetrics.gauge.$cluster_name.osd.*",
- "refresh": 1,
- "regex": "(?!ceph_version|num_osds|\\d).*",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "60",
- "value": "60"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "max_devices",
- "options": [
- {
- "selected": true,
- "text": "60",
- "value": "60"
- }
- ],
- "query": "60",
- "type": "custom"
- }
- ]
- },
- "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"
- ]
- },
- "timezone": "browser",
- "title": "OSD Node Detail",
- "version": 3
- },
- "meta": {
- "canEdit": true,
- "canSave": true,
- "canStar": true,
- "created": "2017-10-11T02:45:34Z",
- "createdBy": "admin@localhost",
- "expires": "0001-01-01T00:00:00Z",
- "slug": "osd-node-detail",
- "type": "db",
- "updated": "2017-10-11T03:21:03Z",
- "updatedBy": "admin@localhost",
- "version": 3
- }
-}
wait_for:
port: 3000
-- name: Set grafana_data_source
- set_fact:
- grafana_data_source: >
- {
- "name":"{{ grafana.datasource }}",
- "type":"graphite",
- "url":"http://localhost:{{ graphite.web_port if graphite.service == 'graphite-web' else graphite.api_port }}",
- "access":"proxy",
- "basicAuth":false,
- "isDefault":true
- }
- when: backend.storage == 'graphite'
-
- name: Set grafana_data_source
set_fact:
grafana_data_source: >
"basicAuth":false,
"isDefault":true
}
- when: backend.storage == 'prometheus'
- name: Add data source
uri:
status_code: 200
when: grafana_data_source_result is defined and grafana_data_source_result.status == 409
-- include: push_dashboards_dashupdater.yml
- when:
- - not containerized
- - backend.metrics == "cephmetrics"
- - backend.storage == "graphite"
- tags:
- - dashboards
-
- include: push_dashboards.yml
- when:
- - backend.metrics == "mgr"
- - backend.storage == "prometheus"
tags:
- dashboards
+++ /dev/null
----
-- name: Ship dashboard templates
- copy:
- src: files/dashboards/cephmetrics-graphite
- dest: /tmp/dashboards
- when:
- - devel_mode
-
-- name: Ship dashUpdater.py
- copy:
- src: files/dashUpdater.py
- dest: /tmp/dashUpdater.py
- when:
- - devel_mode
-
-- name: Write dashboard.yml
- template:
- src: dashboard.yml
- dest: /tmp/dashboard.yml
- mode: 0600
-
-- name: Set dashupdate_cmd and dashboard_dir
- set_fact:
- dashupdate_cmd: "python /tmp/dashUpdater.py"
- dashboard_dir: "/tmp/dashboards/cephmetrics-graphite"
- when:
- - devel_mode
-
-- name: Set dashupdate_cmd and dashboard_dir
- set_fact:
- dashupdate_cmd: "/usr/libexec/cephmetrics/dashUpdater.py"
- dashboard_dir: "/usr/share/cephmetrics/dashboards/cephmetrics-graphite"
- when:
- - not devel_mode
-
-- name: Set dashupdate_mode
- set_fact:
- dashupdate_mode: "{{ 'refresh' if replace_dashboards else 'update' }}"
-
-- name: Push dashboards to Grafana
- command: "{{ dashupdate_cmd }} -m {{ dashupdate_mode }} -c /tmp/dashboard.yml -D {{ dashboard_dir }}{{ ' -A' if update_alerts else '' }}"
- name: Create docker container
docker_container:
name: grafana-server
- image: "{{ grafana.container_name }}:{{ grafana.version }}"
+ image: "{{ grafana.container_name }}:{{ grafana.container_tag }}"
state: present
# restart to allow updates
restart: true
+++ /dev/null
----
-osd_servers: [{% for fqdn in groups['osds'] | default([]) %}{{ fqdn.split('.')[0] }},{% endfor %}]
-rgw_servers: [{% for fqdn in groups['rgws'] | default([]) %}{{ fqdn.split('.')[0] }},{% endfor %}]
-domain: "{{ ansible_domain }}"
-_dashboards:
- - alert-status
- - ceph-at-a-glance
- - ceph-backend-storage
- - ceph-cluster
- - ceph-health
- - ceph-osd-information
- - ceph-pools
- - ceph-rgw-workload
- - disk-busy-by-server
- - iops-by-server
- - iscsi-overview
- - latency-by-server
- - network-usage-by-node
- - osd-node-detail
-_credentials:
- user: {{ grafana.admin_user }}
- password: {{ grafana.admin_password }}
-_grafana_port: 3000
-_home_dashboard: ceph-at-a-glance
-_alert_dashboard: alert-status
+++ /dev/null
----
-devel_packages:
- yum:
- - graphite-web
- - python-carbon
- apt:
- - graphite-web
- - apache2
- - libapache2-mod-wsgi
- - graphite-carbon
+++ /dev/null
----
-- name: Resize whisper databases
- # xargs -P parallelizes execution; scale it to the number of cores on the system
- shell: "find /var/lib/carbon/whisper -name '*.wsp' -print0 | xargs -n1 -0 -P {{ ansible_processor_vcpus }} -I {} whisper-resize {} {{ whisper_retention.replace(',', ' ') }}"
- register: whisper_resize
- failed_when: "'Traceback' in whisper_resize.stdout"
- no_log: true
-
-- name: Restart graphite-web
- service:
- # graphite-web is served by apache
- name: "{{ graphite.apache_name[ansible_pkg_mgr] }}"
- state: restarted
- enabled: true
- when:
- - "{{ graphite.service == 'graphite-web' }}"
-
-- name: Restart graphite-api
- service:
- name: graphite-api
- state: restarted
- enabled: true
- when:
- - "{{ graphite.service == 'graphite-api' }}"
-
-- name: Restart carbon-cache
- service:
- name: carbon-cache
- state: restarted
- enabled: true
+++ /dev/null
----
-dependencies:
- - role: cephmetrics-common
+++ /dev/null
----
-- name: Set WHISPER_AUTOFLUSH to True
- lineinfile:
- dest: /etc/carbon/carbon.conf
- regexp: "^WHISPER_AUTOFLUSH = .*"
- insertafter: "^#.*buffering writes from the kernel.*"
- line: "WHISPER_AUTOFLUSH = True"
- notify:
- - Restart carbon-cache
-
-- name: Fail when the the first whisper retention value is not 10s
- fail:
- msg: "The first whisper retention value must be '10s', not '{{ whisper.retention[0][0] }}' in order to match collectd's interval"
- failed_when: whisper.retention[0][0] != '10s'
- any_errors_fatal: true
-
-- name: Set whisper_retention
- set_fact:
- whisper_retention: "{{ whisper.retention|map('join', ':')|join(',') }}"
-
-- name: Configure retention for collectd stats
- template:
- src: storage-schemas.conf
- dest: /etc/carbon/storage-schemas.conf
- notify:
- - Resize whisper databases
- - Restart carbon-cache
-
-- name: Ensure carbon storage has the right ownership
- file:
- path: "{{ carbon.storage_dir[ansible_pkg_mgr] }}"
- state: directory
- owner: "{{ carbon.unix_user[ansible_pkg_mgr] }}"
- group: "{{ carbon.unix_user[ansible_pkg_mgr] }}"
- recurse: yes
- notify:
- - Restart carbon-cache
+++ /dev/null
----
-- name: Check firewalld status
- shell: "systemctl show firewalld | grep UnitFileState"
- register: firewalld_status
- failed_when: false
- changed_when: false
- tags:
- - skip_ansible_lint
-
-- name: Open ports for Carbon
- firewalld:
- port: "{{ item }}"
- zone: "{{ firewalld_zone }}"
- state: enabled
- immediate: true
- permanent: true
- with_items:
- - 2003/tcp
- when: "'enabled' in firewalld_status.stdout"
+++ /dev/null
----
-- include: configure_graphite_web.yml
- when:
- - graphite.service == 'graphite-web'
-
-- include: configure_graphite_api.yml
- when:
- - graphite.service == 'graphite-api'
+++ /dev/null
----
-- name: Write graphite-api systemd files
- template:
- src: "{{ item }}"
- dest: "/etc/systemd/system/{{ item }}"
- with_items:
- - graphite-api.socket
- - graphite-api.service
- notify: Restart graphite-api
+++ /dev/null
----
-# Older versions of Django use the 'syncdb' method for DB creation/migration.
-# Newer versions use 'migrate' but still have 'syncdb' available and
-# deprecated. We should be able to auto-discover the correct method.
-- name: Determine how to initialize Django DB
- command: django-admin --help
- register: django_cmd
- no_log: true
-
-- name: Set django_init_method
- set_fact:
- django_init_method: "{% if 'migrate' in django_cmd.stdout_lines|map('trim')|list %}migrate{% else %}syncdb{% endif %}"
-
-- name: Create Graphite DB tables
- command: "/usr/bin/graphite-manage {{ django_init_method }} --noinput"
- become_user: "{{ graphite.unix_user[ansible_pkg_mgr] }}"
- register: migrate_cmd
- failed_when: migrate_cmd.rc != 0 and 'table "django_content_type" already exists' not in migrate_cmd.stderr
-
-- name: Run Graphite migrations if necessary
- command: /usr/bin/graphite-manage migrate --noinput --fake-initial
- become_user: "{{ graphite.unix_user[ansible_pkg_mgr] }}"
- when:
- - django_init_method == 'migrate'
- - migrate_cmd.rc != 0
-
-- name: Build Graphite index
- command: "{{ graphite.build_index[ansible_pkg_mgr] }}"
- become_user: "{{ graphite.unix_user[ansible_pkg_mgr] }}"
-
-- name: Set or unset port in main apache config
- lineinfile:
- dest: "/{{ graphite.apache_conf[ansible_pkg_mgr] }}"
- regexp: "^Listen .*"
- line: "Listen 80"
- insertafter: "^#Listen .*"
- state: "{{ 'present' if graphite.web_port == '80' else 'absent' }}"
- notify: Restart graphite-web
-
-# This is done automatically during package install on RPM-based distros
-- name: Copy graphite-web config on Ubuntu
- copy:
- src: /usr/share/graphite-web/apache2-graphite.conf
- dest: "{{ graphite.site_conf[ansible_pkg_mgr] }}"
- remote_src: yes
- backup: yes
- when: ansible_pkg_mgr == "apt"
- notify: Restart graphite-web
-
-- name: Set port in graphite apache config
- lineinfile:
- dest: "{{ graphite.site_conf[ansible_pkg_mgr] }}"
- regexp: "^Listen .*"
- line: "Listen {{ graphite.web_port }}"
- insertbefore: "^<VirtualHost .*"
- notify: Restart graphite-web
-
-- name: Symlink graphite apache config on Ubuntu
- file:
- src: "{{ graphite.site_conf[ansible_pkg_mgr] }}"
- dest: "/etc/apache2/sites-enabled/graphite-web.conf"
- state: link
- force: yes
- when: ansible_pkg_mgr == "apt"
- notify: Restart graphite-web
-
-- name: Set VirtualHost port in graphite apache config
- replace:
- dest: "{{ graphite.site_conf[ansible_pkg_mgr] }}"
- regexp: "^<VirtualHost \\*:.+>$"
- replace: "<VirtualHost *:{{ graphite.web_port }}>"
- notify: Restart graphite-web
-
-- name: Allow connecting to graphite without auth
- lineinfile:
- dest: "{{ graphite.site_conf[ansible_pkg_mgr] }}"
- line: " Require all granted"
- insertafter: '<Directory "/usr/share/graphite/">'
- state: present
- when: ansible_pkg_mgr == "yum"
- notify: Restart graphite-web
-
-- name: Get timezone
- shell: "timedatectl | grep 'Time zone'"
- register: timezone
-
-- name: Set timezone in local_settings.py
- lineinfile:
- dest: "{{ graphite.app_conf[ansible_pkg_mgr] }}"
- line: "TIME_ZONE = '{{ timezone.stdout.strip().split(' ')[2] }}'"
- regexp: "^TIME_ZONE = .*"
- insertafter: '^#TIME_ZONE = .*'
- state: present
- notify: Restart graphite-web
+++ /dev/null
----
-- name: Install packages
- package:
- name: "{{ item }}"
- state: latest
- with_items: "{{ devel_packages[ansible_pkg_mgr] }}"
- when: devel_mode
+++ /dev/null
----
-- include: merge_vars.yml
- tags:
- - always
-
-- name: Skip if not configured
- meta: end_play
- when: backend.storage != 'graphite'
-
-- include: install_packages.yml
- tags:
- - packages
-
-- include: configure_firewall.yml
- tags:
- - firewall
-
-- include: configure_carbon.yml
- tags:
- - carbon
-
-- include: configure_graphite.yml
- tags:
- - graphite
-
-- name: Reload systemd
- systemd:
- daemon_reload: yes
- # Even when just calling daemon-reload, ansible < 2.4 requires a name for this call
- name: carbon-cache
- tags:
- - packages
- - services
-
-- include: start_services.yml
- tags:
- - services
+++ /dev/null
-../../cephmetrics-common/tasks/merge_vars.yml
\ No newline at end of file
+++ /dev/null
----
-- name: Enable and start services
- service:
- name: "{{ item }}"
- state: started
- enabled: true
- with_items:
- - carbon-cache
- # graphite-web is served by apache
- - "{{ graphite.apache_name[ansible_pkg_mgr] }}"
+++ /dev/null
-[Unit]
-Description=Graphite-API service
-Requires=graphite-api.socket
-
-[Service]
-ExecStart=/usr/bin/gunicorn3 -w2 graphite_api.app:app
-Restart=on-failure
-User={{ graphite.unix_user[ansible_pkg_mgr] }}
-Group={{ graphite.unix_user[ansible_pkg_mgr] }}
-ExecReload=/bin/kill -s HUP $MAINPID
-ExecStop=/bin/kill -s TERM $MAINPID
-PrivateTmp=true
-
-[Install]
-WantedBy=multi-user.target
+++ /dev/null
-[Unit]
-Description=graphite-api socket
-
-[Socket]
-ListenStream=/run/graphite-api.sock
-ListenStream=127.0.0.1:{{ graphite.api_port }}
-
-[Install]
-WantedBy=sockets.target
+++ /dev/null
-# Schema definitions for Whisper files. Entries are scanned in order,
-# and first match wins. This file is scanned for changes every 60 seconds.
-#
-# [name]
-# pattern = regex
-# retentions = timePerPoint:timeToStore, timePerPoint:timeToStore, ...
-[collectd]
-pattern = ^collectd\.
-retentions = {{ whisper_retention }}
-
-# Carbon's internal metrics. This entry should match what is specified in
-# CARBON_METRIC_PREFIX and CARBON_METRIC_INTERVAL settings
-[carbon]
-pattern = ^carbon\.
-retentions = 60:90d
-
-[default_1min_for_1day]
-pattern = .*
-retentions = 60s:1d
+++ /dev/null
-import json
-import os
-import pytest
-
-testinfra_hosts = ['ceph-grafana']
-
-
-class TestGraphite(object):
- def maybe_skip(self, host):
- vars = host.ansible.get_variables()
- if vars.get('backend', dict()).get('storage', 'prometheus') != 'graphite':
- pytest.skip()
-
- def get_ceph_hosts(self, host):
- """
- Extract a list of FQDNs of Ceph hosts from the Ansible inventory
- """
- groups = host.ansible.get_variables()['groups']
- ceph_groups = ('mdss', 'mgrs', 'mons', 'osds', 'rgws')
- ceph_hosts = set()
- for group in ceph_groups:
- hosts = groups.get(group, list())
- map(ceph_hosts.add, hosts)
- return list(ceph_hosts)
-
- @pytest.mark.parametrize(
- "service",
- ['carbon-cache',
- dict(apt='apache2', yum='httpd')]
- )
- def test_service_enabled(self, host, service):
- """ Are the proper services enabled? """
- self.maybe_skip(host)
- if isinstance(service, dict):
- service = service[
- host.ansible('setup')['ansible_facts']['ansible_pkg_mgr']]
- service = host.service(service)
- assert service.is_running
- assert service.is_enabled
-
- @pytest.mark.parametrize(
- "proto,iface,port",
- [
- ('tcp', '0.0.0.0', '2003'), # carbon
- ('tcp', '0.0.0.0', '2004'), # carbon
- ('tcp', '0.0.0.0', '8080'), # graphite
- ]
- )
- def test_ports_open(self, host, proto, iface, port):
- """ Are the proper ports open? """
- self.maybe_skip(host)
- socket_spec = "%s://%s" % (proto, iface)
- if iface:
- socket_spec += ':'
- socket_spec += port
- assert host.socket(socket_spec).is_listening
-
- def test_whisper_data(self, host):
- """ Does whisper data exist for each Ceph host? """
- self.maybe_skip(host)
- whisper_dirs = [
- '/var/lib/carbon/whisper',
- '/var/lib/graphite/whisper',
- ]
- for whisper_dir in whisper_dirs:
- if host.file(whisper_dir).exists:
- break
- for ceph_host in self.get_ceph_hosts(host):
- whisper_subdir = os.path.join(
- whisper_dir, 'collectd', ceph_host.replace('.', '/')
- )
- assert host.file(whisper_subdir).is_directory
- cpu_metrics = [
- 'idle.wsp', 'nice.wsp', 'steal.wsp', 'user.wsp',
- 'interrupt.wsp', 'softirq.wsp', 'system.wsp', 'wait.wsp',
- ]
- assert any([
- host.file(os.path.join(
- whisper_subdir, 'cpu', 'percent', metric
- )).is_file for metric in cpu_metrics
- ])
-
- def test_metrics_present(self, host):
- """ Does graphite know about each Ceph host? """
- self.maybe_skip(host)
- ceph_hosts = self.get_ceph_hosts(host)
- out = host.check_output(
- "curl http://localhost:8080/metrics/find?query=collectd.*")
- obj = json.loads(out)
-
- def extract_hostname(fragment):
- return fragment['text']
- metric_hosts = set(map(extract_hostname, obj))
- assert set(map(lambda s: s.split('.')[0], ceph_hosts)).issubset(metric_hosts)
tags:
- always
-- name: End play if the mgr prometheus module isn't desired
- meta: end_play
- when: backend.metrics != 'mgr' or backend.storage != 'prometheus'
-
- name: Check to see if the mgr is containerized
command: "docker inspect {{ item }}"
with_items:
x86_64: amd64
i386: '386'
packages:
- apt:
- - prometheus-node-exporter
- yum:
- - prometheus-node_exporter
+ - prometheus-node-exporter
service_name: node_exporter
+++ /dev/null
----
-- name: Check firewalld status
- shell: "systemctl show firewalld | grep UnitFileState"
- register: firewalld_status
- failed_when: false
- changed_when: false
- tags:
- - skip_ansible_lint
-
-- name: Open ports for node_exporter
- firewalld:
- port: "{{ item }}"
- zone: "{{ firewalld_zone }}"
- state: enabled
- immediate: true
- permanent: true
- with_items:
- - 9100/tcp
- when: "'enabled' in firewalld_status.stdout"
+++ /dev/null
----
-- name: Create user
- user:
- name: node_exporter
- shell: '/bin/false'
- createhome: false
- system: true
+++ /dev/null
----
-- name: Ask GitHub about the most recent release
- # We use local_action here to reduce the amount of times we hit the GitHub
- # API; without it, a moderately-large cluster could actually cause them to
- # invoke their API rate limiting!
- local_action:
- module: uri
- url: https://api.github.com/repos/prometheus/node_exporter/releases/latest
- return_content: true
- connection: local
- become: false
- run_once: true
- register: latest_release
-
-- name: Decide which release to look for
- set_fact:
- os_string: "linux-{{ node_exporter.arch_map[ansible_architecture]|default(ansible_architecture) }}"
-
-- name: Find the correct release
- set_fact:
- release_url: "{{ item.browser_download_url }}"
- when: os_string in item.name
- with_items: "{{ latest_release.json.assets }}"
- no_log: true
-
-- name: Download release
- get_url:
- url: "{{ release_url }}"
- dest: '/tmp/'
- register: download
-
-- name: Extract tarball
- unarchive:
- src: "{{ download.dest }}"
- remote_src: true
- dest: "/tmp/"
-
-- name: Copy binary into place
- copy:
- src: "{{ download.dest|replace('.tar.gz', '') }}/node_exporter"
- remote_src: true
- dest: "/usr/local/sbin/"
- owner: node_exporter
- mode: 0744
+++ /dev/null
----
-- name: Install packages
- package:
- name: "{{ node_exporter.packages[ansible_pkg_mgr] }}"
- state: latest
- notify: "Restart service"
tags:
- always
-- name: End play if the prometheus backend isn't desired
- meta: end_play
- when: backend.storage != 'prometheus'
+- name: Install packages
+ package:
+ name: "{{ node_exporter.packages }}"
+ state: latest
+ notify: "Restart service"
-- include: install_packages.yml
- when:
- - not devel_mode
-
-- include: create_user.yml
- when:
- - devel_mode
-
-- include: download.yml
- when:
- - devel_mode
+- name: Check firewalld status
+ shell: "systemctl show firewalld | grep UnitFileState"
+ register: firewalld_status
+ failed_when: false
+ changed_when: false
+ tags:
+ - skip_ansible_lint
-- include: configure_firewall.yml
+- name: Open ports for node_exporter
+ firewalld:
+ port: "{{ item }}"
+ zone: "{{ firewalld_zone }}"
+ state: enabled
+ immediate: true
+ permanent: true
+ with_items:
+ - 9100/tcp
+ when: "'enabled' in firewalld_status.stdout"
- include: create_service.yml
when:
defaults:
prometheus:
container_name: prom/prometheus
+ container_tag: latest
container_cpu_period: 100000
container_cpu_cores: 2
# container_memory is in GB
container_memory: 4
- version: latest
data_dir: /var/lib/cephmetrics
user_id: '65534' # This is the UID used by the prom/prometheus docker image
tags:
- always
-- name: End play if the prometheus backend isn't desired
- meta: end_play
- when: backend.metrics != 'mgr' or backend.storage != 'prometheus'
-
- name: Create prometheus data directory
file:
path: "{{ prometheus.data_dir }}"
- name: Start docker container
docker_container:
name: prometheus
- image: "{{ prometheus.container_name }}:{{ prometheus.version }}"
+ image: "{{ prometheus.container_name }}:{{ prometheus.container_tag }}"
command: "--config.file=/prometheus/prometheus.yml"
restart_policy: no
published_ports: '9090:9090'
---
defaults:
containerized: true
- backend:
- metrics: mgr # mgr, cephmetrics
- storage: prometheus # prometheus, graphite
devel_mode: true
- graphite:
- service: graphite-web
- web_port: "{{ graphite_port | default('8080') }}"
- api_port: 8888
- # The unix account running the graphite-web process
- unix_user:
- yum: apache
- apt: _graphite
- build_index:
- yum: '/usr/bin/graphite-build-index'
- apt: '/usr/bin/graphite-build-search-index'
- apache_name:
- yum: 'httpd'
- apt: 'apache2'
- apache_conf:
- yum: '/etc/httpd/conf/httpd.conf'
- apt: '/etc/apache2/apache2.conf'
- site_conf:
- yum: '/etc/httpd/conf.d/graphite-web.conf'
- apt: '/etc/apache2/sites-available/graphite-web.conf'
- app_conf:
- yum: '/etc/graphite-web/local_settings.py'
- apt: '/etc/graphite/local_settings.py'
- carbon:
- unix_user:
- yum: carbon
- apt: _graphite
- storage_dir:
- yum: /var/lib/carbon
- apt: /var/lib/graphite
- whisper:
- retention:
- - ['10s', '7d']
- - ['1m', '30d']
- - ['15m', '5y']
# The firewalld zone that carbon and grafana will use
firewalld_zone: public
+++ /dev/null
-[cephmetrics]
-name=cephmetrics packages for \$basearch
-baseurl=https://chacra.ceph.com/r/cephmetrics/master/HEAD/rhel/7/flavors/default/\$basearch
-enabled=1
-gpgcheck=0
-type=rpm-md
-
-[cephmetrics-noarch]
-name=cephmetrics noarch packages
-baseurl=https://chacra.ceph.com/r/cephmetrics/master/HEAD/rhel/7/flavors/default/noarch
-enabled=1
-gpgcheck=0
-type=rpm-md
-
-[cephmetrics-source]
-name=cephmetrics source packages
-baseurl=https://chacra.ceph.com/r/cephmetrics/master/HEAD/rhel/7/flavors/default/SRPMS
-enabled=1
-gpgcheck=0
-type=rpm-md
tags:
- packages
- repos
+ when:
+ - devel_mode
state: present
when:
- ansible_pkg_mgr == "yum"
- - devel_mode
-
-- name: Add custom repos
- template:
- src: cephmetrics-custom.repo
- dest: /etc/yum.repos.d/cephmetrics-custom.repo
- when:
- - ansible_pkg_mgr == "yum"
- - custom_repos is defined
-
-- name: Remove custom repos
- file:
- path: /etc/yum.repos.d/cephmetrics-custom.repo
- state: absent
- when:
- - ansible_pkg_mgr == "yum"
- - custom_repos is not defined
- name: Update apt cache
apt:
update_cache: true
when:
- ansible_pkg_mgr == 'apt'
- - devel_mode
+++ /dev/null
-{% for repo in custom_repos.yum %}
-[{{ repo.name }}]
-name={{ repo.name }}
-baseurl={{ repo.baseurl }}
-enabled={{ repo.enabled|default('1') }}
-gpgcheck={{ repo.gpgcheck|default('0') }}
-type={{ repo.type|default('rpm-md') }}
-
-{% endfor %}