Skip to content

Instantly share code, notes, and snippets.

@willholley
Created December 4, 2023 09:08
Show Gist options
  • Save willholley/8af3cc143180d8f9d035bdee09394ed4 to your computer and use it in GitHub Desktop.
Save willholley/8af3cc143180d8f9d035bdee09394ed4 to your computer and use it in GitHub Desktop.
CouchDB Grafana dashboard
{
"__inputs": [],
"annotations": {
"list": []
},
"description": "CouchDB dashboard leveraging the CouchDB prometheus endpoint",
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false,
"id": null,
"links": [],
"panels": [
{
"cacheTimeout": null,
"collapsed": true,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"thresholds": {
"mode": "absolute",
"steps": []
}
}
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 1,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"panels": [
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 2,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_fabric_doc_update_errors_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "errors::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_fabric_doc_update_errors_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_fabric_doc_update_mismatched_errors_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "mismatched errors::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_fabric_doc_update_mismatched_errors_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_fabric_doc_update_write_quorum_errors_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "write quorum errors::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_fabric_doc_update_write_quorum_errors_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Fabric Errors",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 3,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_fabric_open_shard_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "open shard::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_fabric_open_shard_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_fabric_worker_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "worker::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_fabric_worker_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Fabric Timeouts",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 4,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_rexi_buffered_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "buffered::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_rexi_buffered_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_rexi_down_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "down::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_rexi_down_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_rexi_dropped_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "dropped::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_rexi_dropped_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Rexi RPC Messages",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 5,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "couchdb_erlang_distribution_send_pend_bytes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "bytes::{{pod}}",
"metric": "",
"query": "couchdb_erlang_distribution_send_pend_bytes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Erlang distribution bytes pending",
"transformations": [],
"transparent": false,
"type": "timeseries"
}
],
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [],
"timeFrom": null,
"timeShift": null,
"title": "Cluster",
"transformations": [],
"transparent": false,
"type": "row"
},
{
"cacheTimeout": null,
"collapsed": true,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"thresholds": {
"mode": "absolute",
"steps": []
}
}
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 6,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"panels": [
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 7,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_database_reads_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "db reads::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_database_reads_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_database_writes_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "db writes::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_database_writes_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_document_inserts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "doc inserts::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_document_inserts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_document_writes_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "doc writes::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_document_writes_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_mrview_map_doc_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "map_doc::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_mrview_map_doc_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_mrview_emits_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "view emits::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_mrview_emits_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Read/Write Rates",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 8,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "max(couchdb_request_time_seconds{pod=~\"$pod\",quantile=\"0.999\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "p999::{{pod}}",
"metric": "",
"query": "max(couchdb_request_time_seconds{pod=~\"$pod\",quantile=\"0.999\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "max(couchdb_request_time_seconds{pod=~\"$pod\",quantile=\"0.99\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "p99::{{pod}}",
"metric": "",
"query": "max(couchdb_request_time_seconds{pod=~\"$pod\",quantile=\"0.99\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "max(couchdb_request_time_seconds{pod=~\"$pod\",quantile=\"0.95\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "p95::{{pod}}",
"metric": "",
"query": "max(couchdb_request_time_seconds{pod=~\"$pod\",quantile=\"0.95\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "max(couchdb_request_time_seconds{pod=~\"$pod\",quantile=\"0.9\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "p90::{{pod}}",
"metric": "",
"query": "max(couchdb_request_time_seconds{pod=~\"$pod\",quantile=\"0.9\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "max(couchdb_request_time_seconds{pod=~\"$pod\",quantile=\"0.75\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "p75::{{pod}}",
"metric": "",
"query": "max(couchdb_request_time_seconds{pod=~\"$pod\",quantile=\"0.75\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Request Latency",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 9,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "couchdb_open_databases{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
"metric": "",
"query": "couchdb_open_databases{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Open DB shards",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 10,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "couchdb_open_os_files{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
"metric": "",
"query": "couchdb_open_os_files{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Open Files",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 11,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "max(couchdb_fsync_time_seconds{pod=~\"$pod\",quantile=\"0.999\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "p999::{{pod}}",
"metric": "",
"query": "max(couchdb_fsync_time_seconds{pod=~\"$pod\",quantile=\"0.999\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "max(couchdb_fsync_time_seconds{pod=~\"$pod\",quantile=\"0.99\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "p99::{{pod}}",
"metric": "",
"query": "max(couchdb_fsync_time_seconds{pod=~\"$pod\",quantile=\"0.99\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "max(couchdb_fsync_time_seconds{pod=~\"$pod\",quantile=\"0.95\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "p95::{{pod}}",
"metric": "",
"query": "max(couchdb_fsync_time_seconds{pod=~\"$pod\",quantile=\"0.95\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "max(couchdb_fsync_time_seconds{pod=~\"$pod\",quantile=\"0.9\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "p90::{{pod}}",
"metric": "",
"query": "max(couchdb_fsync_time_seconds{pod=~\"$pod\",quantile=\"0.9\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "max(couchdb_fsync_time_seconds{pod=~\"$pod\",quantile=\"0.75\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "p75::{{pod}}",
"metric": "",
"query": "max(couchdb_fsync_time_seconds{pod=~\"$pod\",quantile=\"0.75\",namespace=\"$namespace\",cluster=\"$cluster\"}) by (pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Fsync Latency",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 12,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_commits_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "commits::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_commits_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Commits",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 13,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_coalesced_updates_interactive_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "interactive::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_coalesced_updates_interactive_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_coalesced_updates_replicated_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "replicated::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_coalesced_updates_replicated_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Coalesced Updates",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "nodes",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 14,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "max(couchdb_membership{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\", nodes=\"cluster_nodes\"})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "expected",
"metric": "",
"query": "max(couchdb_membership{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\", nodes=\"cluster_nodes\"})",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "max(couchdb_membership{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\", nodes=\"all_nodes\"})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "connected",
"metric": "",
"query": "max(couchdb_membership{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\", nodes=\"all_nodes\"})",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Membership",
"transformations": [],
"transparent": false,
"type": "timeseries"
}
],
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [],
"timeFrom": null,
"timeShift": null,
"title": "CouchDB",
"transformations": [],
"transparent": false,
"type": "row"
},
{
"cacheTimeout": null,
"collapsed": true,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"thresholds": {
"mode": "absolute",
"steps": []
}
}
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 15,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"panels": [
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 16,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "requests::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_bulk_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "bulk::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_bulk_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_view_reads_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "view reads::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_view_reads_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_aborted_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "aborted::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_aborted_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_purge_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "purge::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_purge_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "HTTP Request Rates",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 17,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_partition_all_docs_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "all_docs::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_partition_all_docs_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_partition_view_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "view reads::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_partition_view_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_partition_find_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "find::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_partition_find_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_partition_explain_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "explain::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_partition_explain_requests_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Partition HTTP Request Rates",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 18,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_request_methods{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (method,pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{method}}::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_request_methods{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (method,pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "HTTP Request Methods",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 19,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_status_codes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (code,pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{code}}::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_status_codes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (code,pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "HTTP Status Codes",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 20,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_status_codes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\", code=~\"2..\"}[$__rate_interval])) by (code,pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{code}}::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_status_codes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\", code=~\"2..\"}[$__rate_interval])) by (code,pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "HTTP 2xx Status Codes",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 21,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_status_codes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\", code=~\"3..\"}[$__rate_interval])) by (code,pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{code}}::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_status_codes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\", code=~\"3..\"}[$__rate_interval])) by (code,pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "HTTP 3xx Status Codes",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 22,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_status_codes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\", code=~\"4..\"}[$__rate_interval])) by (code,pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{code}}::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_status_codes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\", code=~\"4..\"}[$__rate_interval])) by (code,pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "HTTP 4xx Status Codes",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 23,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_httpd_status_codes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\", code=~\"5..\"}[$__rate_interval])) by (code,pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{code}}::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_httpd_status_codes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\", code=~\"5..\"}[$__rate_interval])) by (code,pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "HTTP 5xx Status Codes",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 24,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "couchdb_httpd_all_docs_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "all_docs::{{pod}}",
"metric": "",
"query": "couchdb_httpd_all_docs_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "couchdb_httpd_view_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "view::{{pod}}",
"metric": "",
"query": "couchdb_httpd_view_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "couchdb_httpd_find_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "find::{{pod}}",
"metric": "",
"query": "couchdb_httpd_find_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "couchdb_httpd_explain_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "explain::{{pod}}",
"metric": "",
"query": "couchdb_httpd_explain_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "HTTP Timeouts",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count/s",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 25,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "couchdb_httpd_partition_all_docs_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "all_docs::{{pod}}",
"metric": "",
"query": "couchdb_httpd_partition_all_docs_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "couchdb_httpd_partition_view_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "view::{{pod}}",
"metric": "",
"query": "couchdb_httpd_partition_view_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "couchdb_httpd_partition_find_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "find::{{pod}}",
"metric": "",
"query": "couchdb_httpd_partition_find_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "couchdb_httpd_partition_explain_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "explain::{{pod}}",
"metric": "",
"query": "couchdb_httpd_partition_explain_timeouts_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Partition HTTP Timeouts",
"transformations": [],
"transparent": false,
"type": "timeseries"
}
],
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [],
"timeFrom": null,
"timeShift": null,
"title": "HTTP",
"transformations": [],
"transparent": false,
"type": "row"
},
{
"cacheTimeout": null,
"collapsed": true,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"thresholds": {
"mode": "absolute",
"steps": []
}
}
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 26,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"panels": [
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 27,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "max(couchdb_erlang_memory_bytes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}) by (memory_type, pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{memory_type}}::{{pod}}",
"metric": "",
"query": "max(couchdb_erlang_memory_bytes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}) by (memory_type, pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Erlang Memory",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 28,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "couchdb_erlang_processes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "count::{{pod}}",
"metric": "",
"query": "couchdb_erlang_processes{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Erlang process count",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 29,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "couchdb_internal_replication_jobs{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "count::{{pod}}",
"metric": "",
"query": "couchdb_internal_replication_jobs{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Erlang internal replication backlog",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 30,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(irate(couchdb_erlang_io_recv_bytes_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "recv::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_erlang_io_recv_bytes_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
},
{
"datasource": "$source",
"expr": "sum(irate(couchdb_erlang_io_sent_bytes_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "sent::{{pod}}",
"metric": "",
"query": "sum(irate(couchdb_erlang_io_sent_bytes_total{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}[$__rate_interval])) by (pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "I/O",
"transformations": [],
"transparent": false,
"type": "timeseries"
}
],
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [],
"timeFrom": null,
"timeShift": null,
"title": "Erlang",
"transformations": [],
"transparent": false,
"type": "row"
},
{
"cacheTimeout": null,
"collapsed": true,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"thresholds": {
"mode": "absolute",
"steps": []
}
}
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 31,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"panels": [
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 32,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "couchdb_erlang_message_queue_size{queue_name=\"couch_server\", namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
"metric": "",
"query": "couchdb_erlang_message_queue_size{queue_name=\"couch_server\", namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "couch_server",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 33,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "couchdb_erlang_message_queue_couch_db_updater_max{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
"metric": "",
"query": "couchdb_erlang_message_queue_couch_db_updater_max{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "couch_db_updater (max)",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 34,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "couchdb_erlang_message_queue_couch_file_max{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
"metric": "",
"query": "couchdb_erlang_message_queue_couch_file_max{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "couch_file (max)",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 35,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(couchdb_erlang_message_queue_size{queue_name=~\"ioq_server_.+\", namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
"metric": "",
"query": "sum(couchdb_erlang_message_queue_size{queue_name=~\"ioq_server_.+\", namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}) by (pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "ioq_server",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 36,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "sum(couchdb_erlang_message_queue_size{queue_name=~\"rexi_server_dbcore.+\", namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
"metric": "",
"query": "sum(couchdb_erlang_message_queue_size{queue_name=~\"rexi_server_dbcore.+\", namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}) by (pod)",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "rexi_server",
"transformations": [],
"transparent": false,
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": null,
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "count",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": ""
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"height": 8,
"hideTimeOverride": false,
"id": 37,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [
{
"datasource": "$source",
"expr": "couchdb_erlang_message_queues{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "15s",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
"metric": "",
"query": "couchdb_erlang_message_queues{namespace=\"$namespace\", pod=~\"$pod\", cluster=\"$cluster\"}",
"refId": "",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "all_servers",
"transformations": [],
"transparent": false,
"type": "timeseries"
}
],
"repeat": null,
"repeatDirection": null,
"span": null,
"targets": [],
"timeFrom": null,
"timeShift": null,
"title": "Message Queues",
"transformations": [],
"transparent": false,
"type": "row"
}
],
"refresh": "10s",
"rows": [],
"schemaVersion": 12,
"sharedCrosshair": false,
"style": "dark",
"tags": [
"couchdb"
],
"templating": {
"list": [
{
"allValue": null,
"auto": false,
"auto_count": 30,
"auto_min": "10s",
"current": {
"selected": false,
"tags": [],
"text": null,
"value": null
},
"datasource": null,
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "source",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": null,
"sort": 1,
"tagValuesQuery": null,
"tagsQuery": null,
"type": "datasource",
"useTags": false
},
{
"allValue": null,
"auto": false,
"auto_count": 30,
"auto_min": "10s",
"current": {
"selected": false,
"tags": [],
"text": null,
"value": null
},
"datasource": "$source",
"hide": 2,
"includeAll": false,
"label": null,
"multi": false,
"name": "cluster",
"options": [],
"query": "label_values(up{job=\"kube-state-metrics\"}, cluster)",
"refresh": 1,
"regex": null,
"sort": 1,
"tagValuesQuery": null,
"tagsQuery": null,
"type": "query",
"useTags": false
},
{
"allValue": null,
"auto": false,
"auto_count": 30,
"auto_min": "10s",
"current": {
"selected": false,
"tags": [],
"text": null,
"value": null
},
"datasource": "$source",
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "namespace",
"options": [],
"query": "label_values(kube_pod_info{job=\"kube-state-metrics\", cluster=\"$cluster\"}, namespace)",
"refresh": 1,
"regex": null,
"sort": 1,
"tagValuesQuery": null,
"tagsQuery": null,
"type": "query",
"useTags": false
},
{
"allValue": null,
"auto": false,
"auto_count": 30,
"auto_min": "10s",
"current": {
"selected": false,
"tags": [],
"text": null,
"value": null
},
"datasource": "$source",
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "pod",
"options": [],
"query": "label_values(kube_pod_info{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\"}, pod)",
"refresh": 1,
"regex": "couchdb.*",
"sort": 1,
"tagValuesQuery": null,
"tagsQuery": null,
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"hidden": false,
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "UTC",
"title": "CouchDB all",
"uid": null,
"version": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment