From 57a6e45408bbfb04d6e7d7131c20f574ef574eac Mon Sep 17 00:00:00 2001 From: xingcan-ltc Date: Tue, 23 Jul 2024 13:50:24 +0800 Subject: [PATCH 1/3] add mongodb catalog Signed-off-by: xingcan-ltc --- catalog/mongodb/README.md | 5 + catalog/mongodb/apps/mongodb.app/README.md | 17 + catalog/mongodb/apps/mongodb.app/app.yaml | 13 + .../apps/mongodb.app/i18n/en/README.md | 9 + .../mongodb/apps/mongodb.app/metadata.yaml | 13 + catalog/mongodb/i18n/en/README.md | 4 + catalog/mongodb/metadata.yaml | 8 + .../x-definitions/app-elasticsearch.cue | 518 ++++++++++++++++++ .../x-definitions/setting-elasticsearch.cue | 37 ++ 9 files changed, 624 insertions(+) create mode 100644 catalog/mongodb/README.md create mode 100644 catalog/mongodb/apps/mongodb.app/README.md create mode 100644 catalog/mongodb/apps/mongodb.app/app.yaml create mode 100644 catalog/mongodb/apps/mongodb.app/i18n/en/README.md create mode 100644 catalog/mongodb/apps/mongodb.app/metadata.yaml create mode 100644 catalog/mongodb/i18n/en/README.md create mode 100644 catalog/mongodb/metadata.yaml create mode 100644 catalog/mongodb/x-definitions/app-elasticsearch.cue create mode 100644 catalog/mongodb/x-definitions/setting-elasticsearch.cue diff --git a/catalog/mongodb/README.md b/catalog/mongodb/README.md new file mode 100644 index 0000000..96881a2 --- /dev/null +++ b/catalog/mongodb/README.md @@ -0,0 +1,5 @@ +### 1. 简介 +MongoDB 是一种文档数据库,它所具备的可扩展性和灵活性可以满足您对查询和索引的需求 + +### 2. 产品特性 + diff --git a/catalog/mongodb/apps/mongodb.app/README.md b/catalog/mongodb/apps/mongodb.app/README.md new file mode 100644 index 0000000..58c8d16 --- /dev/null +++ b/catalog/mongodb/apps/mongodb.app/README.md @@ -0,0 +1,17 @@ +### 1. 简介 + +MongoDB 是一种文档数据库,它所具备的可扩展性和灵活性可以满足您对查询和索引的需求 + +#### 基本概念 + + +### 2. 快速开始 + + + + +### 3. FAQ + + + + diff --git a/catalog/mongodb/apps/mongodb.app/app.yaml b/catalog/mongodb/apps/mongodb.app/app.yaml new file mode 100644 index 0000000..d644946 --- /dev/null +++ b/catalog/mongodb/apps/mongodb.app/app.yaml @@ -0,0 +1,13 @@ +apiVersion: bdc.kdp.io/v1alpha1 +kind: Application +metadata: + annotations: + app.core.bdos/catalog: mongodb + labels: + app: mongodb + app.core.bdos/type: system +spec: + name: mongodb + type: mongodb + properties: + shards: 1 diff --git a/catalog/mongodb/apps/mongodb.app/i18n/en/README.md b/catalog/mongodb/apps/mongodb.app/i18n/en/README.md new file mode 100644 index 0000000..fc5b25e --- /dev/null +++ b/catalog/mongodb/apps/mongodb.app/i18n/en/README.md @@ -0,0 +1,9 @@ +### 1. Introduction +MongoDB is a document database with the scalability and flexibility that you want with the querying and indexing that you need. + +#### Basic Concepts + +### 2. Quick Start + + +### 3. FAQ diff --git a/catalog/mongodb/apps/mongodb.app/metadata.yaml b/catalog/mongodb/apps/mongodb.app/metadata.yaml new file mode 100644 index 0000000..4cd25b3 --- /dev/null +++ b/catalog/mongodb/apps/mongodb.app/metadata.yaml @@ -0,0 +1,13 @@ +version: 7.0.12 +alias: MongoDB +description: MongoDB 是一种文档数据库,它所具备的可扩展性和灵活性可以满足您对查询和索引的需求 +isGlobal: false +i18n: + en: + description: >- + MongoDB is a document database with the scalability and flexibility that you want with the querying and indexing that you need. +dashboard: + - id: mongodb + name: MongoDB 监控面板 + i18n: + en: MongoDB Dashboard \ No newline at end of file diff --git a/catalog/mongodb/i18n/en/README.md b/catalog/mongodb/i18n/en/README.md new file mode 100644 index 0000000..a4981ab --- /dev/null +++ b/catalog/mongodb/i18n/en/README.md @@ -0,0 +1,4 @@ +### 1. Introduction +MongoDB is a document database with the scalability and flexibility that you want with the querying and indexing that you need. + +### 2. Product Features diff --git a/catalog/mongodb/metadata.yaml b/catalog/mongodb/metadata.yaml new file mode 100644 index 0000000..a7643df --- /dev/null +++ b/catalog/mongodb/metadata.yaml @@ -0,0 +1,8 @@ +name: MongoDB +category: 系统/存储系统 +description: MongoDB 是一种文档数据库,它所具备的可扩展性和灵活性可以满足您对查询和索引的需求 +i18n: + en: + category: system.storage + description: >- + MongoDB is a document database with the scalability and flexibility that you want with the querying and indexing that you need. diff --git a/catalog/mongodb/x-definitions/app-elasticsearch.cue b/catalog/mongodb/x-definitions/app-elasticsearch.cue new file mode 100644 index 0000000..7abc91b --- /dev/null +++ b/catalog/mongodb/x-definitions/app-elasticsearch.cue @@ -0,0 +1,518 @@ +"elasticsearch": { + annotations: {} + labels: {} + attributes: { + dynamicParameterMeta: [ + ] + apiResource: { + definition: { + apiVersion: "bdc.kdp.io/v1alpha1" + kind: "Application" + type: "elasticsearch" + } + } + } + description: "elasticsearch" + type: "xdefinition" +} + +template: { + _ingressHost: context["name"] + "-" + context["namespace"] + "." + context["ingress.root_domain"] + output: { + apiVersion: "core.oam.dev/v1beta1" + kind: "Application" + metadata: { + name: context["name"] + namespace: context["namespace"] + } + spec: { + components: [ + { + name: context["name"] + type: "helm" + properties: { + chart: "elasticsearch" + releaseName: context["name"] + repoType: "oci" + targetNamespace: context["namespace"] + url: context["helm_repo_url"] + // https://artifacthub.io/packages/helm/bitnami/elasticsearch/21.3.1 + version: "21.3.1" + values: { + global: { + kibanaEnabled: parameter.kibana.enabled + imageRegistry: context["docker_registry"] + storageClass: context["storage_config.storage_class_mapping.local_disk"] + } + // security settings + security: { + enabled: false + tls: { + restEncryption: false + } + } + // elasticsearch.yaml + extraConfig: { + xpack: { + security: { + enabled: false + } + } + } + + // master node + master: { + masterOnly: true + replicaCount: parameter.master.replicaCount + persistence: { + enabled: parameter.master.persistence.enabled + size: parameter.master.persistence.size + } + resources: parameter.master.resources + heapSize: parameter.master.heapSize + if parameter.affinity != _|_ { + affinity: parameter.master.affinity + } + } + + coordinating: { + replicaCount: parameter.coordinating.replicaCount + resources: parameter.coordinating.resources + heapSize: parameter.coordinating.heapSize + if parameter.affinity != _|_ { + affinity: parameter.coordinating.affinity + } + } + + data: { + replicaCount: parameter.data.replicaCount + persistence: { + enabled: parameter.data.persistence.enabled + size: parameter.data.persistence.size + } + resources: parameter.data.resources + if parameter.affinity != _|_ { + affinity: parameter.data.affinity + } + } + + ingest: { + enabled: parameter.ingest.enabled + replicaCount: parameter.ingest.replicaCount + resources: parameter.ingest.resources + heapSize: parameter.ingest.heapSize + if parameter.affinity != _|_ { + affinity: parameter.affinity + } + } + if parameter.kibana.enabled { + kibana: { + replicaCount: parameter.kibana.replicaCount + persistence: { + enabled: parameter.kibana.persistence.enabled + size: parameter.kibana.persistence.size + } + resources: parameter.kibana.resources + } + } + + // metrics pod + metrics: { + enabled: true + } + } + } + traits: [ + { + properties: { + rules: [ + { + host: _ingressHost + paths: [ + { + path: "/" + serviceName: "elasticsearch" + servicePort: 9200 + }, + ] + }, + ] + tls: [ + { + hosts: [ + _ingressHost, + ] + tlsSecretName: context["ingress.tls_secret_name"] + }, + ] + } + type: "bdos-ingress" + }, + { + properties: { + endpoints: [ + { + port: 9114 + portName: "http-metrics" + path: "/metrics" + }, + ] + monitortype: "service" + namespace: context["namespace"] + matchLabels: { + "app.kubernetes.io/component": "metrics" + "app.kubernetes.io/name": "elasticsearch" + } + } + type: "bdos-monitor" + }, + { + type: "bdos-grafana-dashboard" + properties: { + labels: { + "grafana_dashboard": "1" + } + dashboard_data: { + "elasticsearch-dashboard.json": "{\"annotations\":{\"list\":[{\"builtIn\":1,\"datasource\":{\"type\":\"datasource\",\"uid\":\"grafana\"},\"enable\":true,\"hide\":true,\"iconColor\":\"rgba(0, 211, 255, 1)\",\"name\":\"Annotations \u0026 Alerts\",\"target\":{\"limit\":100,\"matchAny\":false,\"tags\":[],\"type\":\"dashboard\"},\"type\":\"dashboard\"}]},\"description\":\"ElasticSearch cluster stats.\\r\\n\\r\\nRevision 1 of this dashboard is the same as the Infinity Dashboard Revision 4 (https://grafana.com/dashboards/2322)\\r\\n\\r\\nThis is a cleaned up copy with all control characters removed from the dashboard file. When downloading version 4 of the original Infinity elasticsearch dashboard via curl, the resulting file is corrupted with a missing final curly brace.\\r\\n\",\"editable\":true,\"fiscalYearStartMonth\":0,\"gnetId\":6483,\"graphTooltip\":1,\"id\":1353,\"links\":[],\"liveNow\":false,\"panels\":[{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":0},\"id\":90,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"KPI\",\"type\":\"row\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"1\":{\"text\":\"Red\"},\"3\":{\"text\":\"Yellow\"},\"5\":{\"text\":\"Green\"}},\"type\":\"value\"},{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"#d44a3a\",\"value\":null},{\"color\":\"rgba(237, 129, 40, 0.89)\",\"value\":2},{\"color\":\"#299c46\",\"value\":4}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":0,\"y\":1},\"id\":53,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"value\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"mean\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"exemplar\":false,\"expr\":\"elasticsearch_cluster_health_status{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",color=\\\"red\\\"}==1 or (elasticsearch_cluster_health_status{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",color=\\\"green\\\"}==1)+4 or (elasticsearch_cluster_health_status{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",color=\\\"yellow\\\"}==1)+2\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\"}],\"title\":\"Cluster health\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"N/A\":{\"color\":\"#299c46\",\"text\":\"0\"},\"no value\":{\"color\":\"#299c46\",\"text\":\"0\"}},\"type\":\"value\"},{\"options\":{\"match\":\"null\",\"result\":{\"color\":\"#299c46\",\"text\":\"0\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"#299c46\",\"value\":null},{\"color\":\"rgba(237, 129, 40, 0.89)\",\"value\":1},{\"color\":\"#d44a3a\",\"value\":2}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":3,\"x\":4,\"y\":1},\"id\":81,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"value\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"mean\"],\"fields\":\"/^__name__$/\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"exemplar\":false,\"expr\":\"count(elasticsearch_breakers_tripped{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\u003e0)\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\"}],\"title\":\"Tripped for breakers\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"rgba(50, 172, 45, 0.97)\",\"value\":null},{\"color\":\"rgba(237, 129, 40, 0.89)\",\"value\":70},{\"color\":\"rgba(245, 54, 54, 0.9)\",\"value\":80}]},\"unit\":\"percent\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":3,\"x\":7,\"y\":1},\"id\":51,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"value\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"exemplar\":false,\"expr\":\"sum (elasticsearch_process_cpu_percent{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"} ) / count (elasticsearch_process_cpu_percent{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"} )\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"metric\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"CPU usage Avg.\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"rgba(50, 172, 45, 0.97)\",\"value\":null},{\"color\":\"rgba(237, 129, 40, 0.89)\",\"value\":70},{\"color\":\"rgba(245, 54, 54, 0.9)\",\"value\":80}]},\"unit\":\"percent\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":10,\"y\":1},\"id\":50,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"value\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"exemplar\":false,\"expr\":\"sum (elasticsearch_jvm_memory_used_bytes{area=\\\"heap\\\",namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}) / sum (elasticsearch_jvm_memory_max_bytes{area=\\\"heap\\\",namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}) * 100\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"metric\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"JVM memory used Avg.(heap)\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"Number of nodes in the cluster\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":2,\"x\":14,\"y\":1},\"id\":10,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_number_of_nodes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"}\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"metric\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Nodes\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"Number of data nodes in the cluster\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":2,\"x\":16,\"y\":1},\"id\":9,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_number_of_data_nodes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"}\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"metric\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Data nodes\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"Cluster level changes which have not yet been executed\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"rgba(50, 172, 45, 0.97)\",\"value\":null},{\"color\":\"rgba(237, 129, 40, 0.89)\",\"value\":1},{\"color\":\"rgba(245, 54, 54, 0.9)\",\"value\":5}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":2,\"x\":18,\"y\":1},\"hideTimeOverride\":true,\"id\":16,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"value\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_number_of_pending_tasks{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"}\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"metric\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Pending tasks\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"short\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":20,\"y\":1},\"id\":89,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"sum (elasticsearch_process_open_files_count{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"})\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"metric\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Open file descriptors per cluster\",\"type\":\"stat\"},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":4},\"id\":91,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Shards\",\"type\":\"row\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"The number of primary shards in your cluster. This is an aggregate total across all indices.\",\"fieldConfig\":{\"defaults\":{\"color\":{\"fixedColor\":\"rgb(31, 120, 193)\",\"mode\":\"fixed\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":0,\"y\":5},\"id\":11,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"repeat\":\"shard_type\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_active_primary_shards{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"}\",\"format\":\"time_series\",\"instant\":true,\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Active primary shards\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"Aggregate total of all shards across all indices, which includes replica shards\",\"fieldConfig\":{\"defaults\":{\"color\":{\"fixedColor\":\"rgb(31, 120, 193)\",\"mode\":\"fixed\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":4,\"y\":5},\"id\":39,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_active_shards{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"}\",\"format\":\"time_series\",\"instant\":true,\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Active shards\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"Count of shards that are being freshly created\",\"fieldConfig\":{\"defaults\":{\"color\":{\"fixedColor\":\"rgb(31, 120, 193)\",\"mode\":\"fixed\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":8,\"y\":5},\"id\":40,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_initializing_shards{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"}\",\"format\":\"time_series\",\"instant\":true,\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Initializing shards\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"The number of shards that are currently moving from one node to another node.\",\"fieldConfig\":{\"defaults\":{\"color\":{\"fixedColor\":\"rgb(31, 120, 193)\",\"mode\":\"fixed\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":12,\"y\":5},\"id\":41,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_relocating_shards{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"}\",\"format\":\"time_series\",\"instant\":true,\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Relocating shards\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"Shards delayed to reduce reallocation overhead\",\"fieldConfig\":{\"defaults\":{\"color\":{\"fixedColor\":\"rgb(31, 120, 193)\",\"mode\":\"fixed\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":16,\"y\":5},\"id\":42,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_delayed_unassigned_shards{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"} \",\"format\":\"time_series\",\"instant\":true,\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Delayed shards\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"The number of shards that exist in the cluster state, but cannot be found in the cluster itself\",\"fieldConfig\":{\"defaults\":{\"color\":{\"fixedColor\":\"rgb(31, 120, 193)\",\"mode\":\"fixed\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":20,\"y\":5},\"id\":82,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_unassigned_shards{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"} \",\"format\":\"time_series\",\"instant\":true,\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Unassigned shards\",\"type\":\"stat\"},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":8},\"id\":92,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"JVM Garbage Collection\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":9},\"height\":\"400\",\"hiddenSeries\":false,\"id\":7,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"$datasource\"},\"exemplar\":true,\"expr\":\"irate(elasticsearch_jvm_gc_collection_seconds_count{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"instant\":false,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}} - {{gc}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"GC count\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"GCs\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":9},\"height\":\"400\",\"hiddenSeries\":false,\"id\":27,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_jvm_gc_collection_seconds_sum{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}} - {{gc}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"GC time\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"s\",\"label\":\"Time\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":20},\"id\":93,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Translog\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":12,\"x\":0,\"y\":21},\"hiddenSeries\":false,\"id\":77,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"total\":true,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_translog_operations{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Total translog operations\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":12,\"x\":12,\"y\":21},\"hiddenSeries\":false,\"id\":78,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_translog_size_in_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Total translog size in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":28},\"id\":94,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":26},\"id\":79,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_breakers_tripped{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: {{breaker}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Tripped for breakers\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":33},\"id\":80,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_breakers_estimated_size_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: {{breaker}}\",\"refId\":\"A\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_breakers_limit_size_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: limit for {{breaker}}\",\"refId\":\"B\"}],\"thresholds\":[],\"title\":\"Estimated size in bytes of breaker\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Breakers\",\"type\":\"row\"},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":29},\"id\":95,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":34},\"height\":\"400\",\"id\":30,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_os_load1{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"instant\":false,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"load1: {{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_os_load5{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"instant\":false,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"load5: {{name}}\",\"metric\":\"\",\"refId\":\"B\",\"step\":20},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_os_load15{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"instant\":false,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"load15: {{name}}\",\"metric\":\"\",\"refId\":\"C\",\"step\":20}],\"thresholds\":[],\"title\":\"Load average\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"CPU usage\",\"logBase\":1,\"max\":100,\"min\":0,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":34},\"height\":\"400\",\"id\":88,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_process_cpu_percent{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"instant\":false,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"title\":\"CPU usage\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"percent\",\"label\":\"CPU usage\",\"logBase\":1,\"max\":100,\"min\":0,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":41},\"height\":\"400\",\"id\":31,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_jvm_memory_used_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}} used: {{area}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_jvm_memory_max_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}} max: {{area}}\",\"refId\":\"C\",\"step\":20},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_jvm_memory_pool_peak_used_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}} peak used pool: {{pool}}\",\"refId\":\"D\",\"step\":20}],\"thresholds\":[],\"title\":\"JVM memory usage\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"label\":\"Memory\",\"logBase\":1,\"min\":0,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":41},\"height\":\"400\",\"id\":54,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_jvm_memory_committed_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}} committed: {{area}}\",\"refId\":\"B\",\"step\":20},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_jvm_memory_max_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}} max: {{area}}\",\"refId\":\"C\",\"step\":20}],\"thresholds\":[],\"title\":\"JVM memory committed\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"label\":\"Memory\",\"logBase\":1,\"min\":0,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"CPU and Memory\",\"type\":\"row\"},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":30},\"id\":96,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Disk and Network\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":31},\"height\":\"400\",\"hiddenSeries\":false,\"id\":32,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"current\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"1-(elasticsearch_filesystem_data_available_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}/elasticsearch_filesystem_data_size_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"})\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: {{path}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[{\"colorMode\":\"custom\",\"fill\":true,\"fillColor\":\"rgba(216, 200, 27, 0.27)\",\"op\":\"gt\",\"value\":0.8},{\"colorMode\":\"custom\",\"fill\":true,\"fillColor\":\"rgba(234, 112, 112, 0.22)\",\"op\":\"gt\",\"value\":0.9}],\"timeRegions\":[],\"title\":\"Disk usage\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"percentunit\",\"label\":\"Disk Usage %\",\"logBase\":1,\"max\":1,\"min\":0,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":31},\"height\":\"400\",\"hiddenSeries\":false,\"id\":47,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[{\"alias\":\"sent\",\"transform\":\"negative-Y\"}],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_transport_tx_size_bytes_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: sent \",\"refId\":\"D\",\"step\":20},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"-irate(elasticsearch_transport_rx_size_bytes_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: received\",\"refId\":\"C\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Network usage\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"Bps\",\"label\":\"Bytes/sec\",\"logBase\":1,\"show\":true},{\"format\":\"pps\",\"label\":\"\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":42},\"id\":97,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Documents\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"decimals\":2,\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":43},\"height\":\"400\",\"hiddenSeries\":false,\"id\":1,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_docs{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Documents count on node\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"decimals\":2,\"format\":\"short\",\"label\":\"\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":43},\"height\":\"400\",\"hiddenSeries\":false,\"id\":24,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_indexing_index_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Documents indexed rate\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"index calls/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"Count of deleted documents on this node\",\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":8,\"x\":0,\"y\":54},\"height\":\"400\",\"hiddenSeries\":false,\"id\":25,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_docs_deleted{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Documents deleted rate\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"Documents/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"decimals\":2,\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":8,\"x\":8,\"y\":54},\"height\":\"400\",\"hiddenSeries\":false,\"id\":26,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_merges_docs_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Documents merged rate\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"decimals\":2,\"format\":\"short\",\"label\":\"Documents/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":8,\"x\":16,\"y\":54},\"height\":\"400\",\"hiddenSeries\":false,\"id\":52,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_merges_total_size_bytes_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Documents merged bytes\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"decbytes\",\"label\":\"Bytes/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":65},\"id\":98,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Times\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":66},\"height\":\"400\",\"hiddenSeries\":false,\"id\":33,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_search_query_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval]) \",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Query time\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"s\",\"label\":\"Time\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":66},\"height\":\"400\",\"hiddenSeries\":false,\"id\":5,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_indexing_index_time_seconds_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Indexing time\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"s\",\"label\":\"Time\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":77},\"height\":\"400\",\"hiddenSeries\":false,\"id\":3,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_merges_total_time_seconds_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Merging time\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"s\",\"label\":\"Time\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":77},\"height\":\"400\",\"hiddenSeries\":false,\"id\":87,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_store_throttle_time_seconds_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Throttle time for index store\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"s\",\"label\":\"Time\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":88},\"id\":99,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Total Operations stats\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":24,\"x\":0,\"y\":89},\"height\":\"400\",\"hiddenSeries\":false,\"id\":48,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_indexing_index_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: indexing\",\"metric\":\"\",\"refId\":\"A\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_search_query_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: query\",\"refId\":\"B\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_search_fetch_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: fetch\",\"refId\":\"C\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_merges_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: merges\",\"refId\":\"D\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_refresh_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: refresh\",\"refId\":\"E\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_flush_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: flush\",\"refId\":\"F\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_get_exists_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: get_exists\",\"refId\":\"G\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_get_missing_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: get_missing\",\"refId\":\"H\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_get_tota{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: get\",\"refId\":\"I\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_indexing_delete_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: indexing_delete\",\"refId\":\"J\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Total Operations rate\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"Operations/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":24,\"x\":0,\"y\":100},\"height\":\"400\",\"hiddenSeries\":false,\"id\":49,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_indexing_index_time_seconds_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: indexing\",\"metric\":\"\",\"refId\":\"A\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_search_query_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: query\",\"refId\":\"B\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_search_fetch_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: fetch\",\"refId\":\"C\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_merges_total_time_seconds_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: merges\",\"refId\":\"D\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_refresh_time_seconds_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: refresh\",\"refId\":\"E\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_flush_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: flush\",\"refId\":\"F\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_get_exists_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: get_exists\",\"refId\":\"G\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_get_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: get_time\",\"refId\":\"H\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_get_missing_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: get_missing\",\"refId\":\"I\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_indexing_delete_time_seconds_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: indexing_delete\",\"refId\":\"J\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_get_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: get\",\"refId\":\"K\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Total Operations time\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"s\",\"label\":\"Time\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":111},\"id\":100,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Thread Pool\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":20,\"w\":6,\"x\":0,\"y\":112},\"hiddenSeries\":false,\"id\":45,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_thread_pool_rejected_count{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: {{ type }}\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Thread Pool operations rejected\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":20,\"w\":6,\"x\":6,\"y\":112},\"hiddenSeries\":false,\"id\":46,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_thread_pool_active_count{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: {{ type }}\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Thread Pool operations queued\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":20,\"w\":6,\"x\":12,\"y\":112},\"height\":\"\",\"hiddenSeries\":false,\"id\":43,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_thread_pool_active_count{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: {{ type }}\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Thread Pool threads active\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":20,\"w\":6,\"x\":18,\"y\":112},\"hiddenSeries\":false,\"id\":44,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_thread_pool_completed_count{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: {{ type }}\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Thread Pool operations completed\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":132},\"id\":101,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":68},\"height\":\"400\",\"id\":4,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_fielddata_memory_size_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"title\":\"Field data memory size\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"label\":\"Memory\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":68},\"height\":\"400\",\"id\":34,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_fielddata_evictions{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"title\":\"Field data evictions\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"Evictions/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":8,\"x\":0,\"y\":75},\"height\":\"400\",\"id\":35,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_query_cache_memory_size_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"title\":\"Query cache size\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"label\":\"Size\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":8,\"x\":8,\"y\":75},\"height\":\"400\",\"id\":36,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_query_cache_evictions{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"title\":\"Query cache evictions\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"Evictions/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":8,\"x\":16,\"y\":75},\"height\":\"400\",\"id\":84,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_filter_cache_evictions{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"title\":\"Evictions from filter cache\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"Evictions/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Caches\",\"type\":\"row\"},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":133},\"id\":102,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Segments\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":134},\"hiddenSeries\":false,\"id\":85,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segments_count{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Count of index segments\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":141},\"hiddenSeries\":false,\"id\":86,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segments_memory_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Current memory size of segments in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":148},\"id\":103,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Count of documents and Total size\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":149},\"hiddenSeries\":false,\"id\":75,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_docs_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Count of documents with only primary shards\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":156},\"hiddenSeries\":false,\"id\":83,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_store_size_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Total size of stored index data in bytes with only primary shards on all nodes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":163},\"hiddenSeries\":false,\"id\":76,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_store_size_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Total size of stored index data in bytes with all shards on all nodes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":170},\"id\":104,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Index writer\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":171},\"hiddenSeries\":false,\"id\":61,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_index_writer_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Index writer with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":178},\"hiddenSeries\":false,\"id\":62,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_index_writer_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Index writer with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":185},\"id\":105,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":107},\"id\":55,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_count_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Segments with only primary shards on all nodes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":114},\"id\":56,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_count_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Segments with all shards on all nodes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":121},\"id\":65,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of segments with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":128},\"id\":66,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of segments with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Segments\",\"type\":\"row\"},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":186},\"id\":106,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":129},\"id\":57,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_doc_values_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Doc values with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":136},\"id\":58,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_doc_values_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Doc values with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Doc values\",\"type\":\"row\"},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":187},\"id\":107,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":137},\"id\":59,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_fields_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of fields with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":144},\"id\":60,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_fields_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of fields with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Fields\",\"type\":\"row\"},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":188},\"id\":108,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":145},\"id\":63,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_fixed_bit_set_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of fixed bit with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":152},\"id\":64,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_fixed_bit_set_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of fixed bit with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Fixed bit\",\"type\":\"row\"},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":189},\"id\":109,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":153},\"id\":67,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_norms_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of norms with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":160},\"id\":68,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_norms_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of norms with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Norms\",\"type\":\"row\"},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":190},\"id\":110,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Points\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":191},\"hiddenSeries\":false,\"id\":69,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_points_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Size of points with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":198},\"hiddenSeries\":false,\"id\":70,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_points_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Size of points with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":205},\"id\":111,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Terms\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":206},\"hiddenSeries\":false,\"id\":71,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_terms_memory_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Size of terms with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"$$hashKey\":\"object:397\",\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"$$hashKey\":\"object:398\",\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":213},\"hiddenSeries\":false,\"id\":72,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_terms_memory_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Number of terms with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"$$hashKey\":\"object:231\",\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"$$hashKey\":\"object:232\",\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":220},\"id\":112,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Version map\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":221},\"hiddenSeries\":false,\"id\":73,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_version_map_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Size of version map with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"$$hashKey\":\"object:314\",\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"$$hashKey\":\"object:315\",\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":228},\"hiddenSeries\":false,\"id\":74,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_version_map_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Size of version map with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}}],\"refresh\":\"1m\",\"schemaVersion\":36,\"style\":\"dark\",\"tags\":[\"elasticsearch\",\"App\",\"es\"],\"templating\":{\"list\":[{\"current\":{\"selected\":false,\"text\":\"default\",\"value\":\"default\"},\"hide\":0,\"includeAll\":false,\"multi\":false,\"name\":\"datasource\",\"options\":[],\"query\":\"prometheus\",\"queryValue\":\"\",\"refresh\":1,\"regex\":\"\",\"skipUrlSync\":false,\"type\":\"datasource\"},{\"current\":{\"selected\":true,\"text\":\"admin\",\"value\":\"admin\"},\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"definition\":\"label_values(elasticsearch_indices_docs,namespace)\",\"hide\":0,\"includeAll\":false,\"label\":\"namespace\",\"multi\":false,\"name\":\"namespace\",\"options\":[],\"query\":{\"query\":\"label_values(elasticsearch_indices_docs,namespace)\",\"refId\":\"StandardVariableQuery\"},\"refresh\":1,\"regex\":\"\",\"skipUrlSync\":false,\"sort\":1,\"type\":\"query\"},{\"current\":{\"selected\":false,\"text\":\"elastic\",\"value\":\"elastic\"},\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"definition\":\"label_values(elasticsearch_indices_docs{namespace=\\\"$namespace\\\"},cluster)\",\"hide\":0,\"includeAll\":false,\"label\":\"Cluster\",\"multi\":false,\"name\":\"cluster\",\"options\":[],\"query\":{\"query\":\"label_values(elasticsearch_indices_docs{namespace=\\\"$namespace\\\"},cluster)\",\"refId\":\"StandardVariableQuery\"},\"refresh\":1,\"regex\":\"\",\"skipUrlSync\":false,\"sort\":1,\"type\":\"query\",\"useTags\":false},{\"current\":{\"selected\":true,\"text\":[\"All\"],\"value\":[\"$__all\"]},\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"definition\":\"label_values(elasticsearch_indices_docs{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\", name!=\\\"\\\"},name)\",\"description\":\"es pod name\",\"hide\":0,\"includeAll\":true,\"label\":\"Pode name\",\"multi\":true,\"name\":\"name\",\"options\":[],\"query\":{\"query\":\"label_values(elasticsearch_indices_docs{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\", name!=\\\"\\\"},name)\",\"refId\":\"StandardVariableQuery\"},\"refresh\":1,\"regex\":\"\",\"skipUrlSync\":false,\"sort\":1,\"type\":\"query\",\"useTags\":false},{\"auto\":false,\"auto_count\":30,\"auto_min\":\"10s\",\"current\":{\"selected\":false,\"text\":\"1m\",\"value\":\"1m\"},\"description\":\"irate interval\",\"hide\":0,\"name\":\"interval\",\"options\":[{\"selected\":true,\"text\":\"1m\",\"value\":\"1m\"},{\"selected\":false,\"text\":\"10m\",\"value\":\"10m\"},{\"selected\":false,\"text\":\"30m\",\"value\":\"30m\"},{\"selected\":false,\"text\":\"1h\",\"value\":\"1h\"},{\"selected\":false,\"text\":\"6h\",\"value\":\"6h\"},{\"selected\":false,\"text\":\"12h\",\"value\":\"12h\"},{\"selected\":false,\"text\":\"1d\",\"value\":\"1d\"},{\"selected\":false,\"text\":\"7d\",\"value\":\"7d\"},{\"selected\":false,\"text\":\"14d\",\"value\":\"14d\"},{\"selected\":false,\"text\":\"30d\",\"value\":\"30d\"}],\"query\":\"1m,10m,30m,1h,6h,12h,1d,7d,14d,30d\",\"queryValue\":\"\",\"refresh\":2,\"skipUrlSync\":false,\"type\":\"interval\"}]},\"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\":\"elasticsearch\",\"uid\":\"elasticsearch\",\"version\":1,\"weekStart\":\"\"}" + } + } + }, + ] + }, + { + name: context["name"] + "-context" + type: "k8s-objects" + properties: { + objects: [{ + apiVersion: "bdc.kdp.io/v1alpha1" + kind: "ContextSetting" + metadata: { + annotations: { + "setting.ctx.bdc.kdp.io/origin": "system" + "setting.ctx.bdc.kdp.io/type": "elasticsearch" + } + name: context["namespace"] + "-" + context["name"] + "-context-setting" + namespace: context["namespace"] + } + spec: { + name: context["name"] + "-context-setting" + _port: "9200" + _hostname: context["name"] + "." + context["namespace"] + ".svc.cluster.local" + properties: { + hostname: _hostname + port: _port + host: _hostname + ":" + _port + } + type: "elasticsearch" + } + }] + } + }, + ] + policies: [] + } + } + + parameter: { + // +ui:title=master 节点配置 + // +ui:order=1 + master: { + // +minimum=1 + // +ui:description=master 节点数量, 建议生产环境设置为 3 + // +ui:order=1 + replicaCount: *1 | int + + // +ui:title=存储配置 + // +ui:order=2 + persistence: { + // +ui:description=是否启用持久化存储, 建议生产环境设置为 true + // +ui:order=1 + enabled: *true | bool + + // pattern=^[1-9]\d*(Gi|Mi|Ti)$ + // err:options={"pattern":"请输入正确格式,如1024Mi, 1Gi, 1Ti"} + // +ui:description=各节点存储大小,请根据实际情况调整 + // +ui:order=2 + // +ui:hidden={{rootFormData.master.persistence.enabled == false}} + size: *"1Gi" | string + } + + // +ui:description=资源规格 + // +ui:order=3 + resources: { + // +ui:description=预留 + // +ui:order=1 + requests: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"25m" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"1Gi" | string + } + + // +ui:description=限制 + // +ui:order=2 + limits: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"2" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"1Gi" | string + } + } + + // pattern=^[1-9]\d*[mg]$ + // err:options={"pattern":"请输入正确的格式,如512m, 1g"} + // +ui:description=各节点headSize,请根据实际情况调整. 注意单位是“m”, 参考jvm的内存配置Xmx + // +ui:order=4 + heapSize: *"512m" | string + + // +ui:description=配置kubernetes亲和性,请根据实际情况调整 + // +ui:order=5 + affinity?: {} + } + + // +ui:title=coordinating 节点配置 + // +ui:order=2 + coordinating: { + // +minimum=0 + // +ui:description=master 节点数量, 建议生产环境配置2个起 + // +ui:order=1 + replicaCount: *0 | int + + // +ui:description=资源规格 + // +ui:order=2 + resources: { + // +ui:description=预留 + // +ui:order=1 + requests: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"25m" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"1Gi" | string + } + + // +ui:description=限制 + // +ui:order=2 + limits: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"2" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"1Gi" | string + } + } + + // pattern=^[1-9]\d*[mg]$ + // err:options={"pattern":"请输入正确的格式,如512m, 1g"} + // +ui:description=各节点headSize,请根据实际情况调整. 注意单位是“m”, 参考jvm的内存配置Xmx + // +ui:order=3 + heapSize: *"512m" | string + + // +ui:description=配置kubernetes亲和性,请根据实际情况调整 + // +ui:order=4 + affinity?: {} + } + + // +ui:title=data 节点配置 + // +ui:order=3 + data: { + // +minimum=1 + // +ui:description=master 节点数量, 建议生产环境配置2个起 + // +ui:order=1 + replicaCount: *1 | int + + // +ui:title=存储配置 + // +ui:order=2 + persistence: { + // +ui:description=是否启用持久化存储, 建议生产环境设置为 true + // +ui:order=1 + enabled: *true | bool + + // pattern=^[1-9]\d*(Gi|Mi|Ti)$ + // err:options={"pattern":"请输入正确格式,如1024Mi, 1Gi, 1Ti"} + // +ui:description=各节点存储大小,请根据实际情况调整 + // +ui:order=2 + // +ui:hidden={{rootFormData.data.persistence.enabled == false}} + size: *"2Gi" | string + } + + // +ui:description=资源规格 + // +ui:order=3 + resources: { + // +ui:description=预留 + // +ui:order=1 + requests: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"25m" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"2Gi" | string + } + + // +ui:description=限制 + // +ui:order=2 + limits: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"2" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"2Gi" | string + } + } + + // pattern=^[1-9]\d*[mg]$ + // err:options={"pattern":"请输入正确的格式,如512m, 1g"} + // +ui:description=各节点headSize,请根据实际情况调整. 注意单位是“m”, 参考jvm的内存配置Xmx + // +ui:order=4 + heapSize: *"512m" | string + + // +ui:description=配置kubernetes亲和性,请根据实际情况调整 + // +ui:order=5 + affinity?: {} + } + + // +ui:title=ingest 节点配置 + // +ui:order=4 + ingest: { + // +ui:description=是否启用ingest节点 + // +ui:order=1 + enabled: *false | bool + + // +minimum=0 + // +ui:description=master 节点数量, 建议生产环境设置为 3 + // +ui:order=2 + replicaCount: *0 | int + + // +ui:description=资源规格 + // +ui:order=3 + resources: { + // +ui:description=预留 + // +ui:order=1 + requests: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"25m" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"1Gi" | string + } + + // +ui:description=限制 + // +ui:order=2 + limits: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"2" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"1Gi" | string + } + } + + // pattern=^[1-9]\d*[mg]$ + // err:options={"pattern":"请输入正确的格式,如512m, 1g"} + // +ui:description=各节点headSize,请根据实际情况调整. 注意单位是“m”, 参考jvm的内存配置Xmx + // +ui:order=4 + heapSize: *"128m" | string + } + + // +ui:title=kibana 配置 + kibana: { + // +ui:description=是否安装kibana组件 + // +ui:order=1 + enabled: *false | bool + + // +minimum=0 + // +ui:description=master 节点数量, 建议生产环境设置为 3 + // +ui:hidden={{rootFormData.kibana.enabled == false}} + // +ui:order=2 + replicaCount: *1 | int + + // +ui:title=存储配置 + // +ui:hidden={{rootFormData.kibana.enabled == false}} + // +ui:order=3 + persistence: { + // +ui:description=是否启用持久化存储, 建议生产环境设置为 true + // +ui:order=1 + enabled: *true | bool + // pattern=^[1-9]\d*(Gi|Mi|Ti)$ + // err:options={"pattern":"请输入正确格式,如1024Mi, 1Gi, 1Ti"} + // +ui:description=各节点存储大小,请根据实际情况调整 + // +ui:order=2 + // +ui:hidden={{rootFormData.data.persistence.enabled == false}} + size: *"1Gi" | string + } + + // +ui:description=资源规格 + // +ui:hidden={{rootFormData.kibana.enabled == false}} + // +ui:order=4 + resources: { + // +ui:description=预留 + // +ui:order=1 + requests: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"25m" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"1Gi" | string + } + + // +ui:description=限制 + // +ui:order=2 + limits: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"2" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"1Gi" | string + } + } + + // +ui:description=配置kubernetes亲和性,请根据实际情况调整 + // +ui:hidden={{rootFormData.kibana.enabled == false}} + // +ui:order=5 + affinity?: {} + } + + } +} diff --git a/catalog/mongodb/x-definitions/setting-elasticsearch.cue b/catalog/mongodb/x-definitions/setting-elasticsearch.cue new file mode 100644 index 0000000..20f750b --- /dev/null +++ b/catalog/mongodb/x-definitions/setting-elasticsearch.cue @@ -0,0 +1,37 @@ +"ctx-setting-juicefs": { + description: "" + type: "xdefinition" + attributes: { + apiResource: { + definition: { + apiVersion: "bdc.kdp.io/v1alpha1" + kind: "ContextSetting" + type: "elasticsearch" + } + } + } + labels: {} + annotations: {} +} + +template: { + output: { + apiVersion: "v1" + kind: "ConfigMap" + metadata: { + name: context.name + namespace: context.namespace + annotations: context.bdcAnnotations + } + data: { + "host": parameter.host + "hostname": parameter.hostname + "port": parameter.port + } + } + parameter: { + host: string + hostname: string + port: string + } +} From 99dea30b29cfe1aa6840351cdaec1a0434370560 Mon Sep 17 00:00:00 2001 From: xingcan-ltc Date: Tue, 23 Jul 2024 17:22:18 +0800 Subject: [PATCH 2/3] add mongo app Signed-off-by: xingcan-ltc --- .../x-definitions/app-elasticsearch.cue | 518 ------------------ catalog/mongodb/x-definitions/app-mongodb.cue | 327 +++++++++++ ...-elasticsearch.cue => setting-mongodb.cue} | 4 +- 3 files changed, 329 insertions(+), 520 deletions(-) delete mode 100644 catalog/mongodb/x-definitions/app-elasticsearch.cue create mode 100644 catalog/mongodb/x-definitions/app-mongodb.cue rename catalog/mongodb/x-definitions/{setting-elasticsearch.cue => setting-mongodb.cue} (91%) diff --git a/catalog/mongodb/x-definitions/app-elasticsearch.cue b/catalog/mongodb/x-definitions/app-elasticsearch.cue deleted file mode 100644 index 7abc91b..0000000 --- a/catalog/mongodb/x-definitions/app-elasticsearch.cue +++ /dev/null @@ -1,518 +0,0 @@ -"elasticsearch": { - annotations: {} - labels: {} - attributes: { - dynamicParameterMeta: [ - ] - apiResource: { - definition: { - apiVersion: "bdc.kdp.io/v1alpha1" - kind: "Application" - type: "elasticsearch" - } - } - } - description: "elasticsearch" - type: "xdefinition" -} - -template: { - _ingressHost: context["name"] + "-" + context["namespace"] + "." + context["ingress.root_domain"] - output: { - apiVersion: "core.oam.dev/v1beta1" - kind: "Application" - metadata: { - name: context["name"] - namespace: context["namespace"] - } - spec: { - components: [ - { - name: context["name"] - type: "helm" - properties: { - chart: "elasticsearch" - releaseName: context["name"] - repoType: "oci" - targetNamespace: context["namespace"] - url: context["helm_repo_url"] - // https://artifacthub.io/packages/helm/bitnami/elasticsearch/21.3.1 - version: "21.3.1" - values: { - global: { - kibanaEnabled: parameter.kibana.enabled - imageRegistry: context["docker_registry"] - storageClass: context["storage_config.storage_class_mapping.local_disk"] - } - // security settings - security: { - enabled: false - tls: { - restEncryption: false - } - } - // elasticsearch.yaml - extraConfig: { - xpack: { - security: { - enabled: false - } - } - } - - // master node - master: { - masterOnly: true - replicaCount: parameter.master.replicaCount - persistence: { - enabled: parameter.master.persistence.enabled - size: parameter.master.persistence.size - } - resources: parameter.master.resources - heapSize: parameter.master.heapSize - if parameter.affinity != _|_ { - affinity: parameter.master.affinity - } - } - - coordinating: { - replicaCount: parameter.coordinating.replicaCount - resources: parameter.coordinating.resources - heapSize: parameter.coordinating.heapSize - if parameter.affinity != _|_ { - affinity: parameter.coordinating.affinity - } - } - - data: { - replicaCount: parameter.data.replicaCount - persistence: { - enabled: parameter.data.persistence.enabled - size: parameter.data.persistence.size - } - resources: parameter.data.resources - if parameter.affinity != _|_ { - affinity: parameter.data.affinity - } - } - - ingest: { - enabled: parameter.ingest.enabled - replicaCount: parameter.ingest.replicaCount - resources: parameter.ingest.resources - heapSize: parameter.ingest.heapSize - if parameter.affinity != _|_ { - affinity: parameter.affinity - } - } - if parameter.kibana.enabled { - kibana: { - replicaCount: parameter.kibana.replicaCount - persistence: { - enabled: parameter.kibana.persistence.enabled - size: parameter.kibana.persistence.size - } - resources: parameter.kibana.resources - } - } - - // metrics pod - metrics: { - enabled: true - } - } - } - traits: [ - { - properties: { - rules: [ - { - host: _ingressHost - paths: [ - { - path: "/" - serviceName: "elasticsearch" - servicePort: 9200 - }, - ] - }, - ] - tls: [ - { - hosts: [ - _ingressHost, - ] - tlsSecretName: context["ingress.tls_secret_name"] - }, - ] - } - type: "bdos-ingress" - }, - { - properties: { - endpoints: [ - { - port: 9114 - portName: "http-metrics" - path: "/metrics" - }, - ] - monitortype: "service" - namespace: context["namespace"] - matchLabels: { - "app.kubernetes.io/component": "metrics" - "app.kubernetes.io/name": "elasticsearch" - } - } - type: "bdos-monitor" - }, - { - type: "bdos-grafana-dashboard" - properties: { - labels: { - "grafana_dashboard": "1" - } - dashboard_data: { - "elasticsearch-dashboard.json": "{\"annotations\":{\"list\":[{\"builtIn\":1,\"datasource\":{\"type\":\"datasource\",\"uid\":\"grafana\"},\"enable\":true,\"hide\":true,\"iconColor\":\"rgba(0, 211, 255, 1)\",\"name\":\"Annotations \u0026 Alerts\",\"target\":{\"limit\":100,\"matchAny\":false,\"tags\":[],\"type\":\"dashboard\"},\"type\":\"dashboard\"}]},\"description\":\"ElasticSearch cluster stats.\\r\\n\\r\\nRevision 1 of this dashboard is the same as the Infinity Dashboard Revision 4 (https://grafana.com/dashboards/2322)\\r\\n\\r\\nThis is a cleaned up copy with all control characters removed from the dashboard file. When downloading version 4 of the original Infinity elasticsearch dashboard via curl, the resulting file is corrupted with a missing final curly brace.\\r\\n\",\"editable\":true,\"fiscalYearStartMonth\":0,\"gnetId\":6483,\"graphTooltip\":1,\"id\":1353,\"links\":[],\"liveNow\":false,\"panels\":[{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":0},\"id\":90,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"KPI\",\"type\":\"row\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"1\":{\"text\":\"Red\"},\"3\":{\"text\":\"Yellow\"},\"5\":{\"text\":\"Green\"}},\"type\":\"value\"},{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"#d44a3a\",\"value\":null},{\"color\":\"rgba(237, 129, 40, 0.89)\",\"value\":2},{\"color\":\"#299c46\",\"value\":4}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":0,\"y\":1},\"id\":53,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"value\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"mean\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"exemplar\":false,\"expr\":\"elasticsearch_cluster_health_status{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",color=\\\"red\\\"}==1 or (elasticsearch_cluster_health_status{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",color=\\\"green\\\"}==1)+4 or (elasticsearch_cluster_health_status{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",color=\\\"yellow\\\"}==1)+2\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\"}],\"title\":\"Cluster health\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"N/A\":{\"color\":\"#299c46\",\"text\":\"0\"},\"no value\":{\"color\":\"#299c46\",\"text\":\"0\"}},\"type\":\"value\"},{\"options\":{\"match\":\"null\",\"result\":{\"color\":\"#299c46\",\"text\":\"0\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"#299c46\",\"value\":null},{\"color\":\"rgba(237, 129, 40, 0.89)\",\"value\":1},{\"color\":\"#d44a3a\",\"value\":2}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":3,\"x\":4,\"y\":1},\"id\":81,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"value\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"mean\"],\"fields\":\"/^__name__$/\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"exemplar\":false,\"expr\":\"count(elasticsearch_breakers_tripped{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\u003e0)\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\"}],\"title\":\"Tripped for breakers\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"rgba(50, 172, 45, 0.97)\",\"value\":null},{\"color\":\"rgba(237, 129, 40, 0.89)\",\"value\":70},{\"color\":\"rgba(245, 54, 54, 0.9)\",\"value\":80}]},\"unit\":\"percent\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":3,\"x\":7,\"y\":1},\"id\":51,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"value\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"exemplar\":false,\"expr\":\"sum (elasticsearch_process_cpu_percent{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"} ) / count (elasticsearch_process_cpu_percent{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"} )\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"metric\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"CPU usage Avg.\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"rgba(50, 172, 45, 0.97)\",\"value\":null},{\"color\":\"rgba(237, 129, 40, 0.89)\",\"value\":70},{\"color\":\"rgba(245, 54, 54, 0.9)\",\"value\":80}]},\"unit\":\"percent\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":10,\"y\":1},\"id\":50,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"value\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"exemplar\":false,\"expr\":\"sum (elasticsearch_jvm_memory_used_bytes{area=\\\"heap\\\",namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}) / sum (elasticsearch_jvm_memory_max_bytes{area=\\\"heap\\\",namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}) * 100\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"metric\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"JVM memory used Avg.(heap)\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"Number of nodes in the cluster\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":2,\"x\":14,\"y\":1},\"id\":10,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_number_of_nodes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"}\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"metric\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Nodes\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"Number of data nodes in the cluster\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":2,\"x\":16,\"y\":1},\"id\":9,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_number_of_data_nodes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"}\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"metric\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Data nodes\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"Cluster level changes which have not yet been executed\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"rgba(50, 172, 45, 0.97)\",\"value\":null},{\"color\":\"rgba(237, 129, 40, 0.89)\",\"value\":1},{\"color\":\"rgba(245, 54, 54, 0.9)\",\"value\":5}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":2,\"x\":18,\"y\":1},\"hideTimeOverride\":true,\"id\":16,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"value\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_number_of_pending_tasks{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"}\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"metric\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Pending tasks\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"short\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":20,\"y\":1},\"id\":89,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"sum (elasticsearch_process_open_files_count{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"})\",\"format\":\"time_series\",\"instant\":true,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"\",\"metric\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Open file descriptors per cluster\",\"type\":\"stat\"},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":4},\"id\":91,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Shards\",\"type\":\"row\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"The number of primary shards in your cluster. This is an aggregate total across all indices.\",\"fieldConfig\":{\"defaults\":{\"color\":{\"fixedColor\":\"rgb(31, 120, 193)\",\"mode\":\"fixed\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":0,\"y\":5},\"id\":11,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"repeat\":\"shard_type\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_active_primary_shards{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"}\",\"format\":\"time_series\",\"instant\":true,\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Active primary shards\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"Aggregate total of all shards across all indices, which includes replica shards\",\"fieldConfig\":{\"defaults\":{\"color\":{\"fixedColor\":\"rgb(31, 120, 193)\",\"mode\":\"fixed\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":4,\"y\":5},\"id\":39,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_active_shards{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"}\",\"format\":\"time_series\",\"instant\":true,\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Active shards\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"Count of shards that are being freshly created\",\"fieldConfig\":{\"defaults\":{\"color\":{\"fixedColor\":\"rgb(31, 120, 193)\",\"mode\":\"fixed\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":8,\"y\":5},\"id\":40,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_initializing_shards{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"}\",\"format\":\"time_series\",\"instant\":true,\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Initializing shards\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"The number of shards that are currently moving from one node to another node.\",\"fieldConfig\":{\"defaults\":{\"color\":{\"fixedColor\":\"rgb(31, 120, 193)\",\"mode\":\"fixed\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":12,\"y\":5},\"id\":41,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_relocating_shards{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"}\",\"format\":\"time_series\",\"instant\":true,\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Relocating shards\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"Shards delayed to reduce reallocation overhead\",\"fieldConfig\":{\"defaults\":{\"color\":{\"fixedColor\":\"rgb(31, 120, 193)\",\"mode\":\"fixed\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":16,\"y\":5},\"id\":42,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_delayed_unassigned_shards{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"} \",\"format\":\"time_series\",\"instant\":true,\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Delayed shards\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"The number of shards that exist in the cluster state, but cannot be found in the cluster itself\",\"fieldConfig\":{\"defaults\":{\"color\":{\"fixedColor\":\"rgb(31, 120, 193)\",\"mode\":\"fixed\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\"},\"overrides\":[]},\"gridPos\":{\"h\":3,\"w\":4,\"x\":20,\"y\":5},\"id\":82,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"textMode\":\"auto\"},\"pluginVersion\":\"9.0.5\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_cluster_health_unassigned_shards{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\"} \",\"format\":\"time_series\",\"instant\":true,\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\",\"step\":60}],\"title\":\"Unassigned shards\",\"type\":\"stat\"},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":8},\"id\":92,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"JVM Garbage Collection\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":9},\"height\":\"400\",\"hiddenSeries\":false,\"id\":7,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"$datasource\"},\"exemplar\":true,\"expr\":\"irate(elasticsearch_jvm_gc_collection_seconds_count{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"instant\":false,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}} - {{gc}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"GC count\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"GCs\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":9},\"height\":\"400\",\"hiddenSeries\":false,\"id\":27,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_jvm_gc_collection_seconds_sum{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}} - {{gc}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"GC time\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"s\",\"label\":\"Time\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":20},\"id\":93,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Translog\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":12,\"x\":0,\"y\":21},\"hiddenSeries\":false,\"id\":77,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"total\":true,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_translog_operations{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Total translog operations\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":12,\"x\":12,\"y\":21},\"hiddenSeries\":false,\"id\":78,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_translog_size_in_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Total translog size in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":28},\"id\":94,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":26},\"id\":79,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_breakers_tripped{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: {{breaker}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Tripped for breakers\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":33},\"id\":80,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_breakers_estimated_size_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: {{breaker}}\",\"refId\":\"A\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_breakers_limit_size_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: limit for {{breaker}}\",\"refId\":\"B\"}],\"thresholds\":[],\"title\":\"Estimated size in bytes of breaker\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Breakers\",\"type\":\"row\"},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":29},\"id\":95,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":34},\"height\":\"400\",\"id\":30,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_os_load1{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"instant\":false,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"load1: {{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_os_load5{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"instant\":false,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"load5: {{name}}\",\"metric\":\"\",\"refId\":\"B\",\"step\":20},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_os_load15{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"instant\":false,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"load15: {{name}}\",\"metric\":\"\",\"refId\":\"C\",\"step\":20}],\"thresholds\":[],\"title\":\"Load average\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"CPU usage\",\"logBase\":1,\"max\":100,\"min\":0,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":34},\"height\":\"400\",\"id\":88,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_process_cpu_percent{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"instant\":false,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"title\":\"CPU usage\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"percent\",\"label\":\"CPU usage\",\"logBase\":1,\"max\":100,\"min\":0,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":41},\"height\":\"400\",\"id\":31,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_jvm_memory_used_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}} used: {{area}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_jvm_memory_max_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}} max: {{area}}\",\"refId\":\"C\",\"step\":20},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_jvm_memory_pool_peak_used_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}} peak used pool: {{pool}}\",\"refId\":\"D\",\"step\":20}],\"thresholds\":[],\"title\":\"JVM memory usage\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"label\":\"Memory\",\"logBase\":1,\"min\":0,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":41},\"height\":\"400\",\"id\":54,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_jvm_memory_committed_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}} committed: {{area}}\",\"refId\":\"B\",\"step\":20},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_jvm_memory_max_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}} max: {{area}}\",\"refId\":\"C\",\"step\":20}],\"thresholds\":[],\"title\":\"JVM memory committed\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"label\":\"Memory\",\"logBase\":1,\"min\":0,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"CPU and Memory\",\"type\":\"row\"},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":30},\"id\":96,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Disk and Network\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":31},\"height\":\"400\",\"hiddenSeries\":false,\"id\":32,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"current\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"1-(elasticsearch_filesystem_data_available_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}/elasticsearch_filesystem_data_size_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"})\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: {{path}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[{\"colorMode\":\"custom\",\"fill\":true,\"fillColor\":\"rgba(216, 200, 27, 0.27)\",\"op\":\"gt\",\"value\":0.8},{\"colorMode\":\"custom\",\"fill\":true,\"fillColor\":\"rgba(234, 112, 112, 0.22)\",\"op\":\"gt\",\"value\":0.9}],\"timeRegions\":[],\"title\":\"Disk usage\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"percentunit\",\"label\":\"Disk Usage %\",\"logBase\":1,\"max\":1,\"min\":0,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":31},\"height\":\"400\",\"hiddenSeries\":false,\"id\":47,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[{\"alias\":\"sent\",\"transform\":\"negative-Y\"}],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_transport_tx_size_bytes_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: sent \",\"refId\":\"D\",\"step\":20},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"-irate(elasticsearch_transport_rx_size_bytes_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: received\",\"refId\":\"C\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Network usage\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"Bps\",\"label\":\"Bytes/sec\",\"logBase\":1,\"show\":true},{\"format\":\"pps\",\"label\":\"\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":42},\"id\":97,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Documents\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"decimals\":2,\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":43},\"height\":\"400\",\"hiddenSeries\":false,\"id\":1,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_docs{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Documents count on node\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"decimals\":2,\"format\":\"short\",\"label\":\"\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":43},\"height\":\"400\",\"hiddenSeries\":false,\"id\":24,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_indexing_index_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Documents indexed rate\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"index calls/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"description\":\"Count of deleted documents on this node\",\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":8,\"x\":0,\"y\":54},\"height\":\"400\",\"hiddenSeries\":false,\"id\":25,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_docs_deleted{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Documents deleted rate\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"Documents/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"decimals\":2,\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":8,\"x\":8,\"y\":54},\"height\":\"400\",\"hiddenSeries\":false,\"id\":26,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_merges_docs_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Documents merged rate\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"decimals\":2,\"format\":\"short\",\"label\":\"Documents/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":8,\"x\":16,\"y\":54},\"height\":\"400\",\"hiddenSeries\":false,\"id\":52,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_merges_total_size_bytes_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Documents merged bytes\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"decbytes\",\"label\":\"Bytes/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":65},\"id\":98,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Times\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":66},\"height\":\"400\",\"hiddenSeries\":false,\"id\":33,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_search_query_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval]) \",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Query time\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"s\",\"label\":\"Time\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":66},\"height\":\"400\",\"hiddenSeries\":false,\"id\":5,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_indexing_index_time_seconds_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Indexing time\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"s\",\"label\":\"Time\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":77},\"height\":\"400\",\"hiddenSeries\":false,\"id\":3,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_merges_total_time_seconds_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Merging time\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"s\",\"label\":\"Time\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":77},\"height\":\"400\",\"hiddenSeries\":false,\"id\":87,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_store_throttle_time_seconds_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Throttle time for index store\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"s\",\"label\":\"Time\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":88},\"id\":99,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Total Operations stats\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":24,\"x\":0,\"y\":89},\"height\":\"400\",\"hiddenSeries\":false,\"id\":48,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_indexing_index_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: indexing\",\"metric\":\"\",\"refId\":\"A\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_search_query_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: query\",\"refId\":\"B\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_search_fetch_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: fetch\",\"refId\":\"C\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_merges_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: merges\",\"refId\":\"D\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_refresh_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: refresh\",\"refId\":\"E\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_flush_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: flush\",\"refId\":\"F\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_get_exists_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: get_exists\",\"refId\":\"G\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_get_missing_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: get_missing\",\"refId\":\"H\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_get_tota{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: get\",\"refId\":\"I\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_indexing_delete_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: indexing_delete\",\"refId\":\"J\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Total Operations rate\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"Operations/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":24,\"x\":0,\"y\":100},\"height\":\"400\",\"hiddenSeries\":false,\"id\":49,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_indexing_index_time_seconds_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: indexing\",\"metric\":\"\",\"refId\":\"A\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_search_query_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: query\",\"refId\":\"B\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_search_fetch_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: fetch\",\"refId\":\"C\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_merges_total_time_seconds_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: merges\",\"refId\":\"D\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_refresh_time_seconds_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: refresh\",\"refId\":\"E\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_flush_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: flush\",\"refId\":\"F\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_get_exists_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: get_exists\",\"refId\":\"G\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_get_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: get_time\",\"refId\":\"H\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_get_missing_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: get_missing\",\"refId\":\"I\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_indexing_delete_time_seconds_total{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: indexing_delete\",\"refId\":\"J\",\"step\":10},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_indices_get_time_seconds{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: get\",\"refId\":\"K\",\"step\":10}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Total Operations time\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"cumulative\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"s\",\"label\":\"Time\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":111},\"id\":100,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Thread Pool\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":20,\"w\":6,\"x\":0,\"y\":112},\"hiddenSeries\":false,\"id\":45,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_thread_pool_rejected_count{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: {{ type }}\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Thread Pool operations rejected\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":20,\"w\":6,\"x\":6,\"y\":112},\"hiddenSeries\":false,\"id\":46,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_thread_pool_active_count{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: {{ type }}\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Thread Pool operations queued\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":20,\"w\":6,\"x\":12,\"y\":112},\"height\":\"\",\"hiddenSeries\":false,\"id\":43,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_thread_pool_active_count{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: {{ type }}\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Thread Pool threads active\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":20,\"w\":6,\"x\":18,\"y\":112},\"hiddenSeries\":false,\"id\":44,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"irate(elasticsearch_thread_pool_completed_count{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}: {{ type }}\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Thread Pool operations completed\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":132},\"id\":101,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":68},\"height\":\"400\",\"id\":4,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_fielddata_memory_size_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"title\":\"Field data memory size\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"label\":\"Memory\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":12,\"x\":12,\"y\":68},\"height\":\"400\",\"id\":34,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_fielddata_evictions{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"title\":\"Field data evictions\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"Evictions/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":8,\"x\":0,\"y\":75},\"height\":\"400\",\"id\":35,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_query_cache_memory_size_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"title\":\"Query cache size\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"label\":\"Size\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":8,\"x\":8,\"y\":75},\"height\":\"400\",\"id\":36,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_query_cache_evictions{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"title\":\"Query cache evictions\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"Evictions/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"editable\":true,\"error\":false,\"fill\":1,\"grid\":{},\"gridPos\":{\"h\":11,\"w\":8,\"x\":16,\"y\":75},\"height\":\"400\",\"id\":84,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":true,\"hideEmpty\":false,\"hideZero\":false,\"max\":true,\"min\":true,\"rightSide\":false,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"connected\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"rate(elasticsearch_indices_filter_cache_evictions{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"metric\":\"\",\"refId\":\"A\",\"step\":20}],\"thresholds\":[],\"title\":\"Evictions from filter cache\",\"tooltip\":{\"msResolution\":false,\"shared\":true,\"sort\":0,\"value_type\":\"cumulative\"},\"transparent\":false,\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"label\":\"Evictions/s\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Caches\",\"type\":\"row\"},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":133},\"id\":102,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Segments\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":134},\"hiddenSeries\":false,\"id\":85,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segments_count{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Count of index segments\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":141},\"hiddenSeries\":false,\"id\":86,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":true,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segments_memory_bytes{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\",name=~\\\"$name\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{name}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Current memory size of segments in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":148},\"id\":103,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Count of documents and Total size\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":149},\"hiddenSeries\":false,\"id\":75,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_docs_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Count of documents with only primary shards\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":156},\"hiddenSeries\":false,\"id\":83,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_store_size_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Total size of stored index data in bytes with only primary shards on all nodes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":163},\"hiddenSeries\":false,\"id\":76,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_store_size_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Total size of stored index data in bytes with all shards on all nodes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":170},\"id\":104,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Index writer\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":171},\"hiddenSeries\":false,\"id\":61,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_index_writer_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Index writer with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":178},\"hiddenSeries\":false,\"id\":62,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_index_writer_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Index writer with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":185},\"id\":105,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":107},\"id\":55,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_count_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Segments with only primary shards on all nodes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":114},\"id\":56,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_count_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Segments with all shards on all nodes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":121},\"id\":65,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of segments with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":128},\"id\":66,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of segments with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Segments\",\"type\":\"row\"},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":186},\"id\":106,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":129},\"id\":57,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_doc_values_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Doc values with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":136},\"id\":58,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_doc_values_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Doc values with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Doc values\",\"type\":\"row\"},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":187},\"id\":107,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":137},\"id\":59,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_fields_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of fields with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":144},\"id\":60,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_fields_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of fields with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Fields\",\"type\":\"row\"},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":188},\"id\":108,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":145},\"id\":63,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_fixed_bit_set_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of fixed bit with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":152},\"id\":64,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_fixed_bit_set_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of fixed bit with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Fixed bit\",\"type\":\"row\"},{\"collapsed\":true,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":189},\"id\":109,\"panels\":[{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":153},\"id\":67,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_norms_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of norms with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":160},\"id\":68,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"percentage\":false,\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_norms_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"title\":\"Size of norms with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}]}],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Norms\",\"type\":\"row\"},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":190},\"id\":110,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Points\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":191},\"hiddenSeries\":false,\"id\":69,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_points_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Size of points with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":198},\"hiddenSeries\":false,\"id\":70,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_points_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Size of points with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":205},\"id\":111,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Terms\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":206},\"hiddenSeries\":false,\"id\":71,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_terms_memory_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Size of terms with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"$$hashKey\":\"object:397\",\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"$$hashKey\":\"object:398\",\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":213},\"hiddenSeries\":false,\"id\":72,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_terms_memory_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Number of terms with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"$$hashKey\":\"object:231\",\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"$$hashKey\":\"object:232\",\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":220},\"id\":112,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Indices: Version map\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":221},\"hiddenSeries\":false,\"id\":73,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_version_map_memory_bytes_primary{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Size of version map with only primary shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"$$hashKey\":\"object:314\",\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"$$hashKey\":\"object:315\",\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":24,\"x\":0,\"y\":228},\"hiddenSeries\":false,\"id\":74,\"legend\":{\"alignAsTable\":true,\"avg\":true,\"current\":false,\"hideZero\":true,\"max\":true,\"min\":true,\"rightSide\":true,\"show\":true,\"sort\":\"avg\",\"sortDesc\":true,\"total\":false,\"values\":true},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"9.0.5\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"expr\":\"elasticsearch_indices_segment_version_map_memory_bytes_total{instance=~\\\"$instance\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{index}}\",\"refId\":\"A\"}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Size of version map with all shards on all nodes in bytes\",\"tooltip\":{\"shared\":true,\"sort\":2,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"bytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":false}],\"yaxis\":{\"align\":false}}],\"refresh\":\"1m\",\"schemaVersion\":36,\"style\":\"dark\",\"tags\":[\"elasticsearch\",\"App\",\"es\"],\"templating\":{\"list\":[{\"current\":{\"selected\":false,\"text\":\"default\",\"value\":\"default\"},\"hide\":0,\"includeAll\":false,\"multi\":false,\"name\":\"datasource\",\"options\":[],\"query\":\"prometheus\",\"queryValue\":\"\",\"refresh\":1,\"regex\":\"\",\"skipUrlSync\":false,\"type\":\"datasource\"},{\"current\":{\"selected\":true,\"text\":\"admin\",\"value\":\"admin\"},\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"definition\":\"label_values(elasticsearch_indices_docs,namespace)\",\"hide\":0,\"includeAll\":false,\"label\":\"namespace\",\"multi\":false,\"name\":\"namespace\",\"options\":[],\"query\":{\"query\":\"label_values(elasticsearch_indices_docs,namespace)\",\"refId\":\"StandardVariableQuery\"},\"refresh\":1,\"regex\":\"\",\"skipUrlSync\":false,\"sort\":1,\"type\":\"query\"},{\"current\":{\"selected\":false,\"text\":\"elastic\",\"value\":\"elastic\"},\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"definition\":\"label_values(elasticsearch_indices_docs{namespace=\\\"$namespace\\\"},cluster)\",\"hide\":0,\"includeAll\":false,\"label\":\"Cluster\",\"multi\":false,\"name\":\"cluster\",\"options\":[],\"query\":{\"query\":\"label_values(elasticsearch_indices_docs{namespace=\\\"$namespace\\\"},cluster)\",\"refId\":\"StandardVariableQuery\"},\"refresh\":1,\"regex\":\"\",\"skipUrlSync\":false,\"sort\":1,\"type\":\"query\",\"useTags\":false},{\"current\":{\"selected\":true,\"text\":[\"All\"],\"value\":[\"$__all\"]},\"datasource\":{\"type\":\"prometheus\",\"uid\":\"${datasource}\"},\"definition\":\"label_values(elasticsearch_indices_docs{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\", name!=\\\"\\\"},name)\",\"description\":\"es pod name\",\"hide\":0,\"includeAll\":true,\"label\":\"Pode name\",\"multi\":true,\"name\":\"name\",\"options\":[],\"query\":{\"query\":\"label_values(elasticsearch_indices_docs{namespace=\\\"$namespace\\\",cluster=\\\"$cluster\\\", name!=\\\"\\\"},name)\",\"refId\":\"StandardVariableQuery\"},\"refresh\":1,\"regex\":\"\",\"skipUrlSync\":false,\"sort\":1,\"type\":\"query\",\"useTags\":false},{\"auto\":false,\"auto_count\":30,\"auto_min\":\"10s\",\"current\":{\"selected\":false,\"text\":\"1m\",\"value\":\"1m\"},\"description\":\"irate interval\",\"hide\":0,\"name\":\"interval\",\"options\":[{\"selected\":true,\"text\":\"1m\",\"value\":\"1m\"},{\"selected\":false,\"text\":\"10m\",\"value\":\"10m\"},{\"selected\":false,\"text\":\"30m\",\"value\":\"30m\"},{\"selected\":false,\"text\":\"1h\",\"value\":\"1h\"},{\"selected\":false,\"text\":\"6h\",\"value\":\"6h\"},{\"selected\":false,\"text\":\"12h\",\"value\":\"12h\"},{\"selected\":false,\"text\":\"1d\",\"value\":\"1d\"},{\"selected\":false,\"text\":\"7d\",\"value\":\"7d\"},{\"selected\":false,\"text\":\"14d\",\"value\":\"14d\"},{\"selected\":false,\"text\":\"30d\",\"value\":\"30d\"}],\"query\":\"1m,10m,30m,1h,6h,12h,1d,7d,14d,30d\",\"queryValue\":\"\",\"refresh\":2,\"skipUrlSync\":false,\"type\":\"interval\"}]},\"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\":\"elasticsearch\",\"uid\":\"elasticsearch\",\"version\":1,\"weekStart\":\"\"}" - } - } - }, - ] - }, - { - name: context["name"] + "-context" - type: "k8s-objects" - properties: { - objects: [{ - apiVersion: "bdc.kdp.io/v1alpha1" - kind: "ContextSetting" - metadata: { - annotations: { - "setting.ctx.bdc.kdp.io/origin": "system" - "setting.ctx.bdc.kdp.io/type": "elasticsearch" - } - name: context["namespace"] + "-" + context["name"] + "-context-setting" - namespace: context["namespace"] - } - spec: { - name: context["name"] + "-context-setting" - _port: "9200" - _hostname: context["name"] + "." + context["namespace"] + ".svc.cluster.local" - properties: { - hostname: _hostname - port: _port - host: _hostname + ":" + _port - } - type: "elasticsearch" - } - }] - } - }, - ] - policies: [] - } - } - - parameter: { - // +ui:title=master 节点配置 - // +ui:order=1 - master: { - // +minimum=1 - // +ui:description=master 节点数量, 建议生产环境设置为 3 - // +ui:order=1 - replicaCount: *1 | int - - // +ui:title=存储配置 - // +ui:order=2 - persistence: { - // +ui:description=是否启用持久化存储, 建议生产环境设置为 true - // +ui:order=1 - enabled: *true | bool - - // pattern=^[1-9]\d*(Gi|Mi|Ti)$ - // err:options={"pattern":"请输入正确格式,如1024Mi, 1Gi, 1Ti"} - // +ui:description=各节点存储大小,请根据实际情况调整 - // +ui:order=2 - // +ui:hidden={{rootFormData.master.persistence.enabled == false}} - size: *"1Gi" | string - } - - // +ui:description=资源规格 - // +ui:order=3 - resources: { - // +ui:description=预留 - // +ui:order=1 - requests: { - // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ - // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} - // +ui:description=CPU - cpu: *"25m" | string - - // +pattern=^[1-9]\d*(Mi|Gi)$ - // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} - // +ui:description=内存 - memory: *"1Gi" | string - } - - // +ui:description=限制 - // +ui:order=2 - limits: { - // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ - // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} - // +ui:description=CPU - cpu: *"2" | string - - // +pattern=^[1-9]\d*(Mi|Gi)$ - // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} - // +ui:description=内存 - memory: *"1Gi" | string - } - } - - // pattern=^[1-9]\d*[mg]$ - // err:options={"pattern":"请输入正确的格式,如512m, 1g"} - // +ui:description=各节点headSize,请根据实际情况调整. 注意单位是“m”, 参考jvm的内存配置Xmx - // +ui:order=4 - heapSize: *"512m" | string - - // +ui:description=配置kubernetes亲和性,请根据实际情况调整 - // +ui:order=5 - affinity?: {} - } - - // +ui:title=coordinating 节点配置 - // +ui:order=2 - coordinating: { - // +minimum=0 - // +ui:description=master 节点数量, 建议生产环境配置2个起 - // +ui:order=1 - replicaCount: *0 | int - - // +ui:description=资源规格 - // +ui:order=2 - resources: { - // +ui:description=预留 - // +ui:order=1 - requests: { - // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ - // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} - // +ui:description=CPU - cpu: *"25m" | string - - // +pattern=^[1-9]\d*(Mi|Gi)$ - // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} - // +ui:description=内存 - memory: *"1Gi" | string - } - - // +ui:description=限制 - // +ui:order=2 - limits: { - // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ - // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} - // +ui:description=CPU - cpu: *"2" | string - - // +pattern=^[1-9]\d*(Mi|Gi)$ - // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} - // +ui:description=内存 - memory: *"1Gi" | string - } - } - - // pattern=^[1-9]\d*[mg]$ - // err:options={"pattern":"请输入正确的格式,如512m, 1g"} - // +ui:description=各节点headSize,请根据实际情况调整. 注意单位是“m”, 参考jvm的内存配置Xmx - // +ui:order=3 - heapSize: *"512m" | string - - // +ui:description=配置kubernetes亲和性,请根据实际情况调整 - // +ui:order=4 - affinity?: {} - } - - // +ui:title=data 节点配置 - // +ui:order=3 - data: { - // +minimum=1 - // +ui:description=master 节点数量, 建议生产环境配置2个起 - // +ui:order=1 - replicaCount: *1 | int - - // +ui:title=存储配置 - // +ui:order=2 - persistence: { - // +ui:description=是否启用持久化存储, 建议生产环境设置为 true - // +ui:order=1 - enabled: *true | bool - - // pattern=^[1-9]\d*(Gi|Mi|Ti)$ - // err:options={"pattern":"请输入正确格式,如1024Mi, 1Gi, 1Ti"} - // +ui:description=各节点存储大小,请根据实际情况调整 - // +ui:order=2 - // +ui:hidden={{rootFormData.data.persistence.enabled == false}} - size: *"2Gi" | string - } - - // +ui:description=资源规格 - // +ui:order=3 - resources: { - // +ui:description=预留 - // +ui:order=1 - requests: { - // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ - // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} - // +ui:description=CPU - cpu: *"25m" | string - - // +pattern=^[1-9]\d*(Mi|Gi)$ - // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} - // +ui:description=内存 - memory: *"2Gi" | string - } - - // +ui:description=限制 - // +ui:order=2 - limits: { - // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ - // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} - // +ui:description=CPU - cpu: *"2" | string - - // +pattern=^[1-9]\d*(Mi|Gi)$ - // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} - // +ui:description=内存 - memory: *"2Gi" | string - } - } - - // pattern=^[1-9]\d*[mg]$ - // err:options={"pattern":"请输入正确的格式,如512m, 1g"} - // +ui:description=各节点headSize,请根据实际情况调整. 注意单位是“m”, 参考jvm的内存配置Xmx - // +ui:order=4 - heapSize: *"512m" | string - - // +ui:description=配置kubernetes亲和性,请根据实际情况调整 - // +ui:order=5 - affinity?: {} - } - - // +ui:title=ingest 节点配置 - // +ui:order=4 - ingest: { - // +ui:description=是否启用ingest节点 - // +ui:order=1 - enabled: *false | bool - - // +minimum=0 - // +ui:description=master 节点数量, 建议生产环境设置为 3 - // +ui:order=2 - replicaCount: *0 | int - - // +ui:description=资源规格 - // +ui:order=3 - resources: { - // +ui:description=预留 - // +ui:order=1 - requests: { - // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ - // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} - // +ui:description=CPU - cpu: *"25m" | string - - // +pattern=^[1-9]\d*(Mi|Gi)$ - // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} - // +ui:description=内存 - memory: *"1Gi" | string - } - - // +ui:description=限制 - // +ui:order=2 - limits: { - // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ - // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} - // +ui:description=CPU - cpu: *"2" | string - - // +pattern=^[1-9]\d*(Mi|Gi)$ - // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} - // +ui:description=内存 - memory: *"1Gi" | string - } - } - - // pattern=^[1-9]\d*[mg]$ - // err:options={"pattern":"请输入正确的格式,如512m, 1g"} - // +ui:description=各节点headSize,请根据实际情况调整. 注意单位是“m”, 参考jvm的内存配置Xmx - // +ui:order=4 - heapSize: *"128m" | string - } - - // +ui:title=kibana 配置 - kibana: { - // +ui:description=是否安装kibana组件 - // +ui:order=1 - enabled: *false | bool - - // +minimum=0 - // +ui:description=master 节点数量, 建议生产环境设置为 3 - // +ui:hidden={{rootFormData.kibana.enabled == false}} - // +ui:order=2 - replicaCount: *1 | int - - // +ui:title=存储配置 - // +ui:hidden={{rootFormData.kibana.enabled == false}} - // +ui:order=3 - persistence: { - // +ui:description=是否启用持久化存储, 建议生产环境设置为 true - // +ui:order=1 - enabled: *true | bool - // pattern=^[1-9]\d*(Gi|Mi|Ti)$ - // err:options={"pattern":"请输入正确格式,如1024Mi, 1Gi, 1Ti"} - // +ui:description=各节点存储大小,请根据实际情况调整 - // +ui:order=2 - // +ui:hidden={{rootFormData.data.persistence.enabled == false}} - size: *"1Gi" | string - } - - // +ui:description=资源规格 - // +ui:hidden={{rootFormData.kibana.enabled == false}} - // +ui:order=4 - resources: { - // +ui:description=预留 - // +ui:order=1 - requests: { - // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ - // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} - // +ui:description=CPU - cpu: *"25m" | string - - // +pattern=^[1-9]\d*(Mi|Gi)$ - // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} - // +ui:description=内存 - memory: *"1Gi" | string - } - - // +ui:description=限制 - // +ui:order=2 - limits: { - // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ - // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} - // +ui:description=CPU - cpu: *"2" | string - - // +pattern=^[1-9]\d*(Mi|Gi)$ - // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} - // +ui:description=内存 - memory: *"1Gi" | string - } - } - - // +ui:description=配置kubernetes亲和性,请根据实际情况调整 - // +ui:hidden={{rootFormData.kibana.enabled == false}} - // +ui:order=5 - affinity?: {} - } - - } -} diff --git a/catalog/mongodb/x-definitions/app-mongodb.cue b/catalog/mongodb/x-definitions/app-mongodb.cue new file mode 100644 index 0000000..19c0953 --- /dev/null +++ b/catalog/mongodb/x-definitions/app-mongodb.cue @@ -0,0 +1,327 @@ +"mongodb": { + annotations: {} + labels: {} + attributes: { + dynamicParameterMeta: [ + ] + apiResource: { + definition: { + apiVersion: "bdc.kdp.io/v1alpha1" + kind: "Application" + type: "mongodb" + } + } + } + description: "mongodb" + type: "xdefinition" +} + +template: { + output: { + apiVersion: "core.oam.dev/v1beta1" + kind: "Application" + metadata: { + name: context["name"] + namespace: context["namespace"] + } + spec: { + components: [ + { + name: context["name"] + type: "helm" + properties: { + chart: "mongodb-sharded" + releaseName: context["name"] + repoType: "oci" + targetNamespace: context["namespace"] + url: context["helm_repo_url"] + // https://artifacthub.io/packages/helm/bitnami/mongodb-sharded/8.3.2 + version: "8.3.2" + values: { + global: { + imageRegistry: context["docker_registry"] + storageClass: context["storage_config.storage_class_mapping.local_disk"] + } + // authtentication + auth: { + enabled: true + rootUser: "root" + rootPassword: "root.password" + } + // config server + configsvr: { + replicaCount: parameter.configServer.replicaCount + persistence: + enabled: true + size: parameter.configServer.persistence.size + resources: parameter.configServer.resources + if parameter.affinity != _|_ { + affinity: parameter.configServer.affinity + } + } + // mongos node + mongos: { + replicaCount: parameter.mongos.replicaCount + resources: parameter.mongos.resources + if parameter.affinity != _|_ { + affinity: parameter.mongos.affinity + } + } + // shard node + shards: parameter.shard.shardCount + shardsvr: { + persistence: + enabled: true + size: parameter.shard.persistence.size + dataNode: + replicaCount: parameter.shard.replicaCount + resources: parameter.shard.resources + if parameter.affinity != _|_ { + affinity: parameter.shard.affinity + } + } + + // metrics pod https://logz.io/blog/mongodb-monitoring-prometheus-best-practices/ + metrics: { + enabled: true + } + } + } + traits: [ + + { + properties: { + endpoints: [ + { + port: 9216 + portName: "metrics" + path: "/metrics" + }, + ] + monitortype: "service" + namespace: context["namespace"] + matchLabels: { + "app.kubernetes.io/component": "mongos" + "app.kubernetes.io/name": "mongodb-sharded" + } + } + type: "bdos-monitor" + }, + { + type: "bdos-grafana-dashboard" + properties: { + labels: { + "grafana_dashboard": "1" + } + dashboard_data: { + + } + } + }, + ] + }, + { + name: context["name"] + "-context" + type: "k8s-objects" + properties: { + objects: [{ + apiVersion: "bdc.kdp.io/v1alpha1" + kind: "ContextSetting" + metadata: { + annotations: { + "setting.ctx.bdc.kdp.io/origin": "system" + "setting.ctx.bdc.kdp.io/type": "mongodb" + } + name: context["namespace"] + "-" + context["name"] + "-context-setting" + namespace: context["namespace"] + } + spec: { + name: context["name"] + "-context-setting" + _port: "27017" + _hostname: context["name"] + "." + context["namespace"] + ".svc.cluster.local" + properties: { + hostname: _hostname + port: _port + host: _hostname + ":" + _port + } + type: "mongodb" + } + }] + } + }, + ] + policies: [] + } + } + + parameter: { + // +ui:title=config service 配置 + // +ui:order=1 + configServer: { + // +minimum=1 + // +ui:description=master 节点数量, 高可用场景建议配置3个 + // +ui:order=1 + replicaCount: *1 | int + + // +ui:title=存储配置 + // +ui:order=2 + persistence: { + // pattern=^[1-9]\d*(Gi|Mi|Ti)$ + // err:options={"pattern":"请输入正确格式,如1024Mi, 1Gi, 1Ti"} + // +ui:description=各节点存储大小,请根据实际情况调整 + // +ui:order=2 + // +ui:hidden={{rootFormData.master.persistence.enabled == false}} + size: *"1Gi" | string + } + + // +ui:description=资源规格 + // +ui:order=3 + resources: { + // +ui:description=预留 + // +ui:order=1 + requests: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"25m" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"512Mi" | string + } + + // +ui:description=限制 + // +ui:order=2 + limits: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"2" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"1Gi" | string + } + } + + // +ui:description=配置kubernetes亲和性,请根据实际情况调整 + // +ui:order=4 + affinity?: {} + } + + // +ui:title=mongos 配置 + // +ui:order=2 + mongos: { + // +minimum=1 + // +ui:description=master 节点数量, 高可用场景建议配置2个起 + // +ui:order=1 + replicaCount: *1 | int + + // +ui:description=资源规格 + // +ui:order=3 + resources: { + // +ui:description=预留 + // +ui:order=1 + requests: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"25m" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"256Mi" | string + } + + // +ui:description=限制 + // +ui:order=2 + limits: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"2" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"1Gi" | string + } + } + + // +ui:description=配置kubernetes亲和性,请根据实际情况调整 + // +ui:order=4 + affinity?: {} + + } + + // +ui:title=shard 配置 + // +ui:order=2 + shard: { + // +minimum=1 + // +ui:description=shard 数量,按需配置 + // +ui:order=1 + shardCount: *2 | int + + // +minimum=1 + // +ui:description=master 节点数量, 高可用场景建议配置3个 + // +ui:order=2 + replicaCount: *2 | int + + // +ui:title=存储配置 + // +ui:order=3 + persistence: { + // pattern=^[1-9]\d*(Gi|Mi|Ti)$ + // err:options={"pattern":"请输入正确格式,如1024Mi, 1Gi, 1Ti"} + // +ui:description=各节点存储大小,请根据实际情况调整 + // +ui:hidden={{rootFormData.master.persistence.enabled == false}} + size: *"8Gi" | string + } + + + // +ui:description=资源规格 + // +ui:order=4 + resources: { + // +ui:description=预留 + // +ui:order=1 + requests: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"25m" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"256Mi" | string + } + + // +ui:description=限制 + // +ui:order=2 + limits: { + // +pattern=^(\d+\.\d{1,3}?|[1-9]\d*m?)$ + // +err:options={"pattern":"请输入正确的CPU格式,如0.25,250m"} + // +ui:description=CPU + cpu: *"2" | string + + // +pattern=^[1-9]\d*(Mi|Gi)$ + // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +ui:description=内存 + memory: *"1Gi" | string + } + } + + // +ui:description=配置kubernetes亲和性,请根据实际情况调整 + // +ui:order=5 + affinity?: {} + + } + + + + + + } +} diff --git a/catalog/mongodb/x-definitions/setting-elasticsearch.cue b/catalog/mongodb/x-definitions/setting-mongodb.cue similarity index 91% rename from catalog/mongodb/x-definitions/setting-elasticsearch.cue rename to catalog/mongodb/x-definitions/setting-mongodb.cue index 20f750b..b4fa6d4 100644 --- a/catalog/mongodb/x-definitions/setting-elasticsearch.cue +++ b/catalog/mongodb/x-definitions/setting-mongodb.cue @@ -1,4 +1,4 @@ -"ctx-setting-juicefs": { +"ctx-setting-mongodb": { description: "" type: "xdefinition" attributes: { @@ -6,7 +6,7 @@ definition: { apiVersion: "bdc.kdp.io/v1alpha1" kind: "ContextSetting" - type: "elasticsearch" + type: "mongodb" } } } From 592ac564e5e7a0001536bd763c537283e48d66b5 Mon Sep 17 00:00:00 2001 From: xingcan-ltc Date: Fri, 26 Jul 2024 18:07:03 +0800 Subject: [PATCH 3/3] add mongodb dashboard Signed-off-by: xingcan-ltc --- catalog/mongodb/README.md | 14 ++ catalog/mongodb/apps/mongodb.app/README.md | 116 +++++++++++++- .../apps/mongodb.app/i18n/en/README.md | 117 ++++++++++++++- catalog/mongodb/i18n/en/README.md | 15 ++ catalog/mongodb/x-definitions/app-mongodb.cue | 141 +++++++++++------- .../mongodb/x-definitions/secret-mongodb.cue | 39 +++++ 6 files changed, 389 insertions(+), 53 deletions(-) create mode 100644 catalog/mongodb/x-definitions/secret-mongodb.cue diff --git a/catalog/mongodb/README.md b/catalog/mongodb/README.md index 96881a2..073d594 100644 --- a/catalog/mongodb/README.md +++ b/catalog/mongodb/README.md @@ -3,3 +3,17 @@ MongoDB 是一种文档数据库,它所具备的可扩展性和灵活性可以 ### 2. 产品特性 +#### 文档存储 +用类似 JSON 的格式存储数据,灵活多变,适合各种数据结构。 + +#### 高性能 +读写速度快,支持嵌套文档和数组,减少连接操作,查询更快。 + +#### 高可用 +通过副本集自动复制数据,一台服务器出问题,其他服务器可以接管,保证不停机。 + +#### 可扩展 +通过分片技术,数据分布在多台机器上,轻松应对数据增长和流量增加。 + +#### 强大查询 +提供丰富的查询语言,支持各种复杂查询和实时数据分析。 \ No newline at end of file diff --git a/catalog/mongodb/apps/mongodb.app/README.md b/catalog/mongodb/apps/mongodb.app/README.md index 58c8d16..c6b376c 100644 --- a/catalog/mongodb/apps/mongodb.app/README.md +++ b/catalog/mongodb/apps/mongodb.app/README.md @@ -2,16 +2,130 @@ MongoDB 是一种文档数据库,它所具备的可扩展性和灵活性可以满足您对查询和索引的需求 -#### 基本概念 +### 基本概念 + +1. 文档(Document) +- MongoDB 存储数据的基本单位,类似于 JSON 对象,包含键值对。 + +2. 集合(Collection) +- 文档的容器,类似于关系数据库中的表。 + +3. 数据库(Database) +- 集合的物理容器,一个 MongoDB 服务器可以包含多个数据库。 + +4. 字段(Field) +- 文档中的键值对,用于存储具体的数据。 + +5. 索引(Index) +- 用于提高查询性能,支持多种类型的索引。 + +6. 查询(Query) +- 用于从 MongoDB 中检索数据的指令,支持丰富的查询语言。 + +7. 聚合(Aggregation) +- 用于处理数据记录并返回计算结果,提供聚合管道和 map-reduce 两种聚合框架。 + +8. 副本集(Replica Set) +- 一组 MongoDB 服务器,维护相同的数据副本,提供冗余和高可用性。 + +9. 分片(Sharding) +- 将数据分布在多个服务器上的过程,用于处理大量数据和高吞吐量的应用。 ### 2. 快速开始 +#### 使用 Python +```python +# Connect to MongoDB server +mongosh "mongodb://localhost:27017" -u "root" -p "root.password" + +# show databases +show dbs + +# Select database +use mydatabase + +# Create (Insert) +db.mycollection.insertOne({ + "name": "Alice", + "age": 30, + "email": "alice@example.com" +}) + +# Read (Find) +db.mycollection.find() + +# Update +db.mycollection.updateOne( + { "name": "Alice" }, + { $set: { "age": 31 } } +) + +# Delete +db.mycollection.deleteOne({ "name": "Alice" }) + +# Drop collection +db.mycollection.drop() + +# Drop database +db.dropDatabase() + +``` + +#### 使用命令行 +进入MongoDB Pod 容器 + +```bash +# Connect to MongoDB server +mongosh "mongodb://localhost:27017" -u "root" -p "root.password" + +# show databases +show dbs + +# Select database +use mydatabase + +# Create (Insert) +db.mycollection.insertOne({ + "name": "Alice", + "age": 30, + "email": "alice@example.com" +}) + +# Read (Find) +db.mycollection.find() + +# Update +db.mycollection.updateOne( + { "name": "Alice" }, + { $set: { "age": 31 } } +) + +# Delete +db.mycollection.deleteOne({ "name": "Alice" }) + +# Drop collection +db.mycollection.drop() + +# Drop database +db.dropDatabase() + +``` ### 3. FAQ +1. 如何减少 Shard 的数量? +请参考 https://www.mongodb.com/docs/manual/tutorial/remove-shards-from-cluster/ +由于 shard 是 k8s satefulset 负载, 因此需要移除序号最大的 shard , 如 mongodb-sharded-shard- +然后在KDP调整 shard 数量 + +2. 生产环境中, 如何配置组件数量? +https://www.mongodb.com/docs/manual/core/sharded-cluster-components/#production-configuration + + +https://www.mongodb.com/docs/manual/faq/ diff --git a/catalog/mongodb/apps/mongodb.app/i18n/en/README.md b/catalog/mongodb/apps/mongodb.app/i18n/en/README.md index fc5b25e..23bfc4c 100644 --- a/catalog/mongodb/apps/mongodb.app/i18n/en/README.md +++ b/catalog/mongodb/apps/mongodb.app/i18n/en/README.md @@ -1,9 +1,124 @@ ### 1. Introduction MongoDB is a document database with the scalability and flexibility that you want with the querying and indexing that you need. -#### Basic Concepts +### Basic Concepts + +1. Document +- The fundamental unit of data storage in MongoDB, similar to a JSON object, consisting of key-value pairs. + +1. Collection +- A container for documents, analogous to a table in relational databases. + +1. Database +- A physical container for collections, with a MongoDB server capable of hosting multiple databases. + +1. Field +- A key-value pair within a document, used to store specific data. + +1. Index +- Used to enhance query performance, supporting various types of indexes. + +1. Query +- Instructions for retrieving data from MongoDB, featuring a rich query language. + +1. Aggregation +- Operations for processing data records and returning computed results, offering both aggregation pipelines and map-reduce frameworks. + +1. Replica Set +- A group of MongoDB servers that maintain identical data copies, providing redundancy and high availability. + +1. Sharding +- The process of distributing data across multiple servers, designed to handle large volumes of data and high throughput applications. ### 2. Quick Start +#### Using Python +```python +# Connect to MongoDB server +mongosh "mongodb://localhost:27017" -u "root" -p "root.password" + +# show databases +show dbs + +# Select database +use mydatabase + +# Create (Insert) +db.mycollection.insertOne({ + "name": "Alice", + "age": 30, + "email": "alice@example.com" +}) + +# Read (Find) +db.mycollection.find() + +# Update +db.mycollection.updateOne( + { "name": "Alice" }, + { $set: { "age": 31 } } +) + +# Delete +db.mycollection.deleteOne({ "name": "Alice" }) + +# Drop collection +db.mycollection.drop() + +# Drop database +db.dropDatabase() + +``` + +#### Using Command Line +Execute the following commands in the MongoDB Pod: + +```bash +# Connect to MongoDB server +mongosh "mongodb://localhost:27017" -u "root" -p "root.password" + +# show databases +show dbs + +# Select database +use mydatabase + +# Create (Insert) +db.mycollection.insertOne({ + "name": "Alice", + "age": 30, + "email": "alice@example.com" +}) + +# Read (Find) +db.mycollection.find() + +# Update +db.mycollection.updateOne( + { "name": "Alice" }, + { $set: { "age": 31 } } +) + +# Delete +db.mycollection.deleteOne({ "name": "Alice" }) + +# Drop collection +db.mycollection.drop() + +# Drop database +db.dropDatabase() + +``` + ### 3. FAQ + +1. **How to Reduce the Number of Shards?** + - Refer to the official MongoDB documentation on [removing shards from a cluster](https://www.mongodb.com/docs/manual/tutorial/remove-shards-from-cluster/). + - Since shards are Kubernetes StatefulSet workloads, you need to remove the shard with the highest number, such as `mongodb-sharded-shard-`. + - Then adjust the number of shards in KDP (Kubernetes Deployment Platform). + +2. **How to Configure Component Numbers in a Production Environment?** + - Consult the MongoDB documentation on [production configuration for sharded cluster components](https://www.mongodb.com/docs/manual/core/sharded-cluster-components/#production-configuration). + +Additional FAQs can be found at the [MongoDB FAQ](https://www.mongodb.com/docs/manual/faq/). \ No newline at end of file diff --git a/catalog/mongodb/i18n/en/README.md b/catalog/mongodb/i18n/en/README.md index a4981ab..50ec7ea 100644 --- a/catalog/mongodb/i18n/en/README.md +++ b/catalog/mongodb/i18n/en/README.md @@ -2,3 +2,18 @@ MongoDB is a document database with the scalability and flexibility that you want with the querying and indexing that you need. ### 2. Product Features + +#### Document Storage +Stores data in a JSON-like format, offering flexibility and adaptability for various data structures. + +#### High Performance +Fast read and write speeds, supports nested documents and arrays, reducing join operations and speeding up queries. + +#### High Availability +Automatically replicates data through replica sets; if one server fails, others can take over, ensuring continuous operation without downtime. + +#### Scalability +Distributes data across multiple machines using sharding technology, easily handling data growth and increased traffic. + +#### Powerful Querying +Offers a rich query language, supporting various complex queries and real-time data analysis. diff --git a/catalog/mongodb/x-definitions/app-mongodb.cue b/catalog/mongodb/x-definitions/app-mongodb.cue index 19c0953..a5bad55 100644 --- a/catalog/mongodb/x-definitions/app-mongodb.cue +++ b/catalog/mongodb/x-definitions/app-mongodb.cue @@ -1,3 +1,5 @@ +import "encoding/base64" + "mongodb": { annotations: {} labels: {} @@ -17,6 +19,8 @@ } template: { + _imageRegistry: context["docker_registry"] + _metricPort: 9216 output: { apiVersion: "core.oam.dev/v1beta1" kind: "Application" @@ -39,21 +43,22 @@ template: { version: "8.3.2" values: { global: { - imageRegistry: context["docker_registry"] + imageRegistry: _imageRegistry storageClass: context["storage_config.storage_class_mapping.local_disk"] } // authtentication auth: { - enabled: true - rootUser: "root" - rootPassword: "root.password" + enabled: true + rootUser: parameter.auth.rootUser + rootPassword: parameter.auth.rootPassword } - // config server + // config server configsvr: { replicaCount: parameter.configServer.replicaCount - persistence: + persistence: { enabled: true - size: parameter.configServer.persistence.size + size: parameter.configServer.persistence.size + } resources: parameter.configServer.resources if parameter.affinity != _|_ { affinity: parameter.configServer.affinity @@ -62,50 +67,54 @@ template: { // mongos node mongos: { replicaCount: parameter.mongos.replicaCount - resources: parameter.mongos.resources + resources: parameter.mongos.resources if parameter.affinity != _|_ { affinity: parameter.mongos.affinity } + } // shard node shards: parameter.shard.shardCount shardsvr: { - persistence: + persistence: { enabled: true - size: parameter.shard.persistence.size - dataNode: + size: parameter.shard.persistence.size + } + dataNode: { replicaCount: parameter.shard.replicaCount - resources: parameter.shard.resources + resources: parameter.shard.resources if parameter.affinity != _|_ { - affinity: parameter.shard.affinity + affinity: parameter.shard.affinity + } + podLabels: { + "app": context["name"] + } } } - // metrics pod https://logz.io/blog/mongodb-monitoring-prometheus-best-practices/ metrics: { enabled: true } } } + traits: [ - { + type: "bdos-monitor" properties: { + monitortype: "service" endpoints: [ { - port: 9216 - portName: "metrics" + port: _metricPort path: "/metrics" + portName: "metrics" }, ] - monitortype: "service" - namespace: context["namespace"] matchLabels: { + // app.kubernetes.io/component=mongos "app.kubernetes.io/component": "mongos" - "app.kubernetes.io/name": "mongodb-sharded" } } - type: "bdos-monitor" }, { type: "bdos-grafana-dashboard" @@ -114,7 +123,7 @@ template: { "grafana_dashboard": "1" } dashboard_data: { - + "{\"annotations\":{\"list\":[{\"builtIn\":1,\"datasource\":{\"type\":\"grafana\",\"uid\":\"--Grafana--\"},\"enable\":true,\"hide\":true,\"iconColor\":\"rgba(0,211,255,1)\",\"name\":\"Annotations&Alerts\",\"type\":\"dashboard\"}]},\"description\":\"NoteforaofficialGrafanaMongoDBplugin,pleaseview:\\nhttps://grafana.com/grafana/plugins/grafana-mongodb-datasource\\n\\nThisisaMongoDBPrometheusExporterDashboard.\\nWorkswellwithhttps://github.com/dcu/mongodb_exporter\\n\\nIfyouhavethenode_exporterrunningonthemongoinstance,youwillalsogetsomeusefulalertpanelsrelatedtodiskioandcpu.\",\"editable\":true,\"fiscalYearStartMonth\":0,\"gnetId\":2583,\"graphTooltip\":1,\"id\":104,\"links\":[],\"liveNow\":false,\"panels\":[{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":0},\"id\":20,\"panels\":[],\"repeat\":\"env\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"QueryMetricsfor$env\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"unitScale\":true},\"overrides\":[]},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":6,\"w\":10,\"x\":0,\"y\":1},\"hiddenSeries\":false,\"id\":7,\"legend\":{\"avg\":false,\"current\":false,\"max\":false,\"min\":false,\"show\":true,\"total\":false,\"values\":false},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"10.3.3\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"rate(mongodb_op_counters_total{instance=~\\\"$env\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{type}}\",\"refId\":\"A\",\"step\":240}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"QueryOperations\",\"tooltip\":{\"shared\":true,\"sort\":0,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"ops\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"unitScale\":true},\"overrides\":[]},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":6,\"w\":8,\"x\":10,\"y\":1},\"hiddenSeries\":false,\"id\":9,\"legend\":{\"avg\":false,\"current\":false,\"max\":false,\"min\":false,\"show\":true,\"total\":false,\"values\":false},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"10.3.3\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[{\"alias\":\"returned\",\"yaxis\":1}],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"rate(mongodb_metrics_document_total{instance=~\\\"$env\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{state}}\",\"refId\":\"A\",\"step\":240}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"DocumentOperations\",\"tooltip\":{\"shared\":true,\"sort\":0,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"unitScale\":true},\"overrides\":[]},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":6,\"w\":6,\"x\":18,\"y\":1},\"hiddenSeries\":false,\"id\":8,\"legend\":{\"avg\":false,\"current\":false,\"max\":false,\"min\":false,\"show\":true,\"total\":false,\"values\":false},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"10.3.3\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"rate(mongodb_metrics_query_executor_total{instance=~\\\"$env\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{state}}\",\"refId\":\"A\",\"step\":600}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"DocumentQueryExecutor\",\"tooltip\":{\"shared\":true,\"sort\":0,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":7},\"id\":21,\"panels\":[],\"repeat\":\"env\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"ReplicaSetMetricsfor$env\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":true,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"unitScale\":true},\"overrides\":[]},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":6,\"w\":6,\"x\":0,\"y\":8},\"hiddenSeries\":false,\"id\":15,\"legend\":{\"avg\":false,\"current\":false,\"max\":false,\"min\":false,\"show\":true,\"total\":false,\"values\":false},\"lines\":false,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"10.3.3\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"mongodb_replset_number_of_members{instance=~\\\"$env\\\"}\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"#members\",\"refId\":\"A\",\"step\":600},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"sum(mongodb_replset_member_health{instance=~\\\"$env\\\"})\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"healthymembers\",\"refId\":\"B\",\"step\":600}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"MemberHealth\",\"tooltip\":{\"shared\":false,\"sort\":0,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"series\",\"show\":false,\"values\":[\"current\"]},\"yaxes\":[{\"format\":\"none\",\"logBase\":1,\"min\":\"0\",\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":true,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"description\":\"Seewhichnodeiscurrentlyactingastheprimary,secondary,...\",\"fieldConfig\":{\"defaults\":{\"unitScale\":true},\"overrides\":[]},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":6,\"w\":12,\"x\":6,\"y\":8},\"hiddenSeries\":false,\"id\":14,\"legend\":{\"alignAsTable\":true,\"avg\":false,\"current\":false,\"max\":false,\"min\":false,\"show\":true,\"total\":false,\"values\":false},\"lines\":false,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"10.3.3\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"mongodb_replset_member_state{instance=~\\\"$env\\\"}\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{state}}-{{name}}\",\"refId\":\"A\",\"step\":240}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"MemberState\",\"tooltip\":{\"shared\":true,\"sort\":0,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"series\",\"show\":false,\"values\":[\"current\"]},\"yaxes\":[{\"format\":\"none\",\"label\":\"\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"unitScale\":true},\"overrides\":[]},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":6,\"w\":6,\"x\":18,\"y\":8},\"hiddenSeries\":false,\"id\":11,\"legend\":{\"avg\":false,\"current\":false,\"max\":false,\"min\":false,\"show\":true,\"total\":false,\"values\":false},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"10.3.3\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"rate(mongodb_op_counters_repl_total{instance=~\\\"$env\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{type}}\",\"refId\":\"A\",\"step\":600}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"ReplicaQueryOperations\",\"tooltip\":{\"shared\":true,\"sort\":0,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"ops\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":14},\"id\":22,\"panels\":[],\"repeat\":\"env\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Healthmetricsfor$env\",\"type\":\"row\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"rgba(245,54,54,0.9)\",\"value\":null},{\"color\":\"rgba(237,129,40,0.89)\",\"value\":0},{\"color\":\"rgba(50,172,45,0.97)\",\"value\":360}]},\"unit\":\"s\",\"unitScale\":true},\"overrides\":[]},\"gridPos\":{\"h\":4,\"w\":4,\"x\":0,\"y\":15},\"id\":10,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"value\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"lastNotNull\"],\"fields\":\"\",\"values\":false},\"showPercentChange\":false,\"textMode\":\"auto\",\"wideLayout\":true},\"pluginVersion\":\"10.3.3\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"mongodb_instance_uptime_seconds{instance=~\\\"$env\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"\",\"refId\":\"A\",\"step\":1800}],\"title\":\"Uptime\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"color\":{\"fixedColor\":\"rgb(31,120,193)\",\"mode\":\"fixed\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\",\"unitScale\":true},\"overrides\":[]},\"gridPos\":{\"h\":4,\"w\":4,\"x\":4,\"y\":15},\"id\":2,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"mean\"],\"fields\":\"\",\"values\":false},\"showPercentChange\":false,\"textMode\":\"auto\",\"wideLayout\":true},\"pluginVersion\":\"10.3.3\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"mongodb_connections{instance=~\\\"$env\\\",state=\\\"available\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"\",\"metric\":\"mongodb_connections\",\"refId\":\"A\",\"step\":1800}],\"title\":\"AvailableConnections\",\"type\":\"stat\"},{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"color\":{\"fixedColor\":\"rgb(31,120,193)\",\"mode\":\"fixed\"},\"mappings\":[{\"options\":{\"match\":\"null\",\"result\":{\"text\":\"N/A\"}},\"type\":\"special\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"none\",\"unitScale\":true},\"overrides\":[]},\"gridPos\":{\"h\":4,\"w\":16,\"x\":8,\"y\":15},\"id\":1,\"links\":[],\"maxDataPoints\":100,\"options\":{\"colorMode\":\"none\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"horizontal\",\"reduceOptions\":{\"calcs\":[\"mean\"],\"fields\":\"\",\"values\":false},\"showPercentChange\":false,\"textMode\":\"auto\",\"wideLayout\":true},\"pluginVersion\":\"10.3.3\",\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"mongodb_connections{instance=~\\\"$env\\\",state=\\\"current\\\"}\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"\",\"metric\":\"mongodb_connections\",\"refId\":\"A\",\"step\":1800}],\"title\":\"OpenConnections\",\"type\":\"stat\"},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":19},\"id\":23,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"ResourceMetrics\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"unitScale\":true},\"overrides\":[]},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":6,\"w\":8,\"x\":0,\"y\":20},\"hiddenSeries\":false,\"id\":6,\"legend\":{\"avg\":false,\"current\":false,\"max\":false,\"min\":false,\"show\":true,\"total\":false,\"values\":false},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"10.3.3\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"mongodb_replset_oplog_size_bytes{instance=~\\\"$env\\\"}\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{type}}\",\"metric\":\"mongodb_locks_time_acquiring_global_microseconds_total\",\"refId\":\"A\",\"step\":240}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"OplogSize\",\"tooltip\":{\"shared\":true,\"sort\":0,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"decbytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"unitScale\":true},\"overrides\":[]},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":6,\"w\":8,\"x\":8,\"y\":20},\"hiddenSeries\":false,\"id\":4,\"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\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"10.3.3\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"mongodb_memory{instance=~\\\"$env\\\",type=~\\\"resident|virtual\\\"}\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{type}}\",\"refId\":\"A\",\"step\":240}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"Memory\",\"tooltip\":{\"shared\":false,\"sort\":0,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[\"total\"]},\"yaxes\":[{\"format\":\"decmbytes\",\"label\":\"MB\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"unitScale\":true},\"overrides\":[]},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":6,\"w\":8,\"x\":16,\"y\":20},\"hiddenSeries\":false,\"id\":5,\"legend\":{\"avg\":false,\"current\":false,\"max\":false,\"min\":false,\"show\":true,\"total\":false,\"values\":false},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"10.3.3\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"rate(mongodb_network_bytes_total{instance=~\\\"$env\\\"}[$interval])\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{state}}\",\"metric\":\"mongodb_metrics_operation_total\",\"refId\":\"A\",\"step\":240}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"NetworkI/O\",\"tooltip\":{\"shared\":true,\"sort\":0,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"decbytes\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":26},\"id\":24,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"Alerts\",\"type\":\"row\"},{\"alert\":{\"conditions\":[{\"evaluator\":{\"params\":[300],\"type\":\"gt\"},\"operator\":{\"type\":\"and\"},\"query\":{\"params\":[\"A\",\"15m\",\"now\"]},\"reducer\":{\"params\":[],\"type\":\"avg\"},\"type\":\"query\"}],\"executionErrorState\":\"keep_state\",\"frequency\":\"60s\",\"handler\":1,\"message\":\"AMongoDBoplogreplicationhasbeen5minutesbehindinitsreplicationformorethan15minutes.\\nBeingabletofailovertoareplicaofyourdataisonlyusefulifthedataisuptodate,soyouneedtoknowwhenthat’snolongerthecase!\",\"name\":\"MongoDBOploglagalert\",\"noDataState\":\"no_data\",\"notifications\":[{\"id\":2}]},\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"unitScale\":true},\"overrides\":[]},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":12,\"x\":0,\"y\":27},\"hiddenSeries\":false,\"id\":16,\"legend\":{\"avg\":false,\"current\":false,\"max\":false,\"min\":false,\"show\":false,\"total\":false,\"values\":false},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"10.3.3\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"rate(mongodb_replset_oplog_head_timestamp[5m])\",\"format\":\"time_series\",\"hide\":false,\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{instance}}\",\"refId\":\"A\",\"step\":240}],\"thresholds\":[{\"colorMode\":\"critical\",\"fill\":true,\"line\":true,\"op\":\"gt\",\"value\":300}],\"timeRegions\":[],\"title\":\"OplogLag\",\"tooltip\":{\"shared\":true,\"sort\":0,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"dtdurations\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"alert\":{\"conditions\":[{\"evaluator\":{\"params\":[0.98],\"type\":\"gt\"},\"operator\":{\"type\":\"and\"},\"query\":{\"params\":[\"A\",\"5m\",\"now\"]},\"reducer\":{\"params\":[],\"type\":\"avg\"},\"type\":\"query\"}],\"executionErrorState\":\"keep_state\",\"frequency\":\"60s\",\"handler\":1,\"message\":\"MongoDB'saveragediski/outilizationhasbeenabove98%for5minutes\",\"name\":\"MongoDB'sDiskIOUtilizationalert\",\"noDataState\":\"no_data\",\"notifications\":[{\"id\":2}]},\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"unitScale\":true},\"overrides\":[]},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":12,\"x\":12,\"y\":27},\"hiddenSeries\":false,\"id\":17,\"legend\":{\"alignAsTable\":true,\"avg\":false,\"current\":false,\"max\":false,\"min\":false,\"rightSide\":true,\"show\":false,\"total\":false,\"values\":false},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"10.3.3\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"(rate(node_disk_io_time_ms{instance=~\\\"shr.*\\\"}[5m])/1000orirate(node_disk_io_time_ms{instance=~\\\"shr.*\\\"}[5m])/1000)\",\"format\":\"time_series\",\"interval\":\"\",\"intervalFactor\":2,\"legendFormat\":\"{{device}}-{{instance}}\",\"refId\":\"A\",\"step\":240}],\"thresholds\":[{\"colorMode\":\"critical\",\"fill\":true,\"line\":true,\"op\":\"gt\",\"value\":0.98}],\"timeRegions\":[],\"title\":\"DiskIOUtilization\",\"tooltip\":{\"shared\":false,\"sort\":0,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"percentunit\",\"label\":\"\",\"logBase\":1,\"max\":\"1\",\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"collapsed\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":34},\"id\":25,\"panels\":[],\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"refId\":\"A\"}],\"title\":\"DashboardRow\",\"type\":\"row\"},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"unitScale\":true},\"overrides\":[]},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":12,\"x\":0,\"y\":35},\"hiddenSeries\":false,\"id\":18,\"legend\":{\"avg\":false,\"current\":false,\"max\":false,\"min\":false,\"show\":false,\"total\":false,\"values\":false},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"10.3.3\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"rate(node_disk_reads_completed{instance=~\\\"shr.*\\\"}[5m])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{device}}-{{instance}}\",\"refId\":\"A\",\"step\":240}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"DiskReadsCompleted\",\"tooltip\":{\"shared\":false,\"sort\":0,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}},{\"aliasColors\":{},\"bars\":false,\"dashLength\":10,\"dashes\":false,\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"fieldConfig\":{\"defaults\":{\"unitScale\":true},\"overrides\":[]},\"fill\":1,\"fillGradient\":0,\"gridPos\":{\"h\":7,\"w\":12,\"x\":12,\"y\":35},\"hiddenSeries\":false,\"id\":19,\"legend\":{\"avg\":false,\"current\":false,\"max\":false,\"min\":false,\"show\":false,\"total\":false,\"values\":false},\"lines\":true,\"linewidth\":1,\"links\":[],\"nullPointMode\":\"null\",\"options\":{\"alertThreshold\":true},\"percentage\":false,\"pluginVersion\":\"10.3.3\",\"pointradius\":5,\"points\":false,\"renderer\":\"flot\",\"seriesOverrides\":[],\"spaceLength\":10,\"stack\":false,\"steppedLine\":false,\"targets\":[{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"expr\":\"rate(node_disk_writes_completed{instance=~\\\"shr.*\\\"}[5m])\",\"format\":\"time_series\",\"intervalFactor\":2,\"legendFormat\":\"{{device}}-{{instance}}\",\"refId\":\"A\",\"step\":240}],\"thresholds\":[],\"timeRegions\":[],\"title\":\"DiskWritesCompleted\",\"tooltip\":{\"shared\":false,\"sort\":0,\"value_type\":\"individual\"},\"type\":\"graph\",\"xaxis\":{\"mode\":\"time\",\"show\":true,\"values\":[]},\"yaxes\":[{\"format\":\"short\",\"logBase\":1,\"show\":true},{\"format\":\"short\",\"logBase\":1,\"show\":true}],\"yaxis\":{\"align\":false}}],\"refresh\":\"5s\",\"schemaVersion\":39,\"tags\":[\"prometheus\"],\"templating\":{\"list\":[{\"current\":{\"selected\":true,\"text\":[\"10.42.2.228:9216\"],\"value\":[\"10.42.2.228:9216\"]},\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prometheus\"},\"definition\":\"\",\"hide\":0,\"includeAll\":true,\"label\":\"env\",\"multi\":true,\"name\":\"env\",\"options\":[],\"query\":\"label_values(mongodb_connections,instance)\",\"refresh\":1,\"regex\":\"\",\"skipUrlSync\":false,\"sort\":1,\"type\":\"query\",\"useTags\":false},{\"auto\":true,\"auto_count\":30,\"auto_min\":\"10s\",\"current\":{\"selected\":false,\"text\":\"auto\",\"value\":\"$__auto_interval_interval\"},\"hide\":0,\"name\":\"interval\",\"options\":[{\"selected\":true,\"text\":\"auto\",\"value\":\"$__auto_interval_interval\"},{\"selected\":false,\"text\":\"1m\",\"value\":\"1m\"},{\"selected\":false,\"text\":\"10m\",\"value\":\"10m\"},{\"selected\":false,\"text\":\"30m\",\"value\":\"30m\"},{\"selected\":false,\"text\":\"1h\",\"value\":\"1h\"},{\"selected\":false,\"text\":\"6h\",\"value\":\"6h\"},{\"selected\":false,\"text\":\"12h\",\"value\":\"12h\"},{\"selected\":false,\"text\":\"1d\",\"value\":\"1d\"},{\"selected\":false,\"text\":\"7d\",\"value\":\"7d\"},{\"selected\":false,\"text\":\"14d\",\"value\":\"14d\"},{\"selected\":false,\"text\":\"30d\",\"value\":\"30d\"}],\"query\":\"1m,10m,30m,1h,6h,12h,1d,7d,14d,30d\",\"refresh\":2,\"skipUrlSync\":false,\"type\":\"interval\"}]},\"time\":{\"from\":\"now/d\",\"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\":\"MongoDBDashboard\",\"uid\":\"mongodb\",\"version\":1,\"weekStart\":\"\"}" } } }, @@ -124,29 +133,52 @@ template: { name: context["name"] + "-context" type: "k8s-objects" properties: { - objects: [{ - apiVersion: "bdc.kdp.io/v1alpha1" - kind: "ContextSetting" - metadata: { - annotations: { - "setting.ctx.bdc.kdp.io/origin": "system" - "setting.ctx.bdc.kdp.io/type": "mongodb" + objects: [ + { + apiVersion: "bdc.kdp.io/v1alpha1" + kind: "ContextSetting" + metadata: { + annotations: { + "setting.ctx.bdc.kdp.io/origin": "system" + "setting.ctx.bdc.kdp.io/type": "mongodb" + } + name: context["namespace"] + "-" + context["name"] + "-context-setting" + namespace: context["namespace"] } - name: context["namespace"] + "-" + context["name"] + "-context-setting" - namespace: context["namespace"] - } - spec: { - name: context["name"] + "-context-setting" - _port: "27017" - _hostname: context["name"] + "." + context["namespace"] + ".svc.cluster.local" - properties: { - hostname: _hostname - port: _port - host: _hostname + ":" + _port + spec: { + name: context["name"] + "-context-setting" + _port: "27017" + _hostname: context["name"] + "." + context["namespace"] + ".svc.cluster.local" + properties: { + hostname: _hostname + port: _port + host: _hostname + ":" + _port + } + type: "mongodb" } - type: "mongodb" - } - }] + }, + { + apiVersion: "bdc.kdp.io/v1alpha1" + kind: "ContextSecret" + metadata: { + annotations: { + "setting.ctx.bdc.kdp.io/origin": "system" + "setting.ctx.bdc.kdp.io/type": "mongodb" + } + name: context["namespace"] + "-" + context["name"] + "-context-secret" + namespace: context["namespace"] + } + spec: { + name: context["name"] + "-context-secret" + type: "mongodb" + properties: { + "MONGODB_ROOT_USER": base64.Encode(null, parameter.auth.rootUser) + "MONGODB_ROOT_PASSWORD": base64.Encode(null, parameter.auth.rootPassword) + } + } + }, + + ] } }, ] @@ -186,7 +218,7 @@ template: { cpu: *"25m" | string // +pattern=^[1-9]\d*(Mi|Gi)$ - // +err:options={"pattern":"请输入正确的内存格式,如1024Mi, 1Gi"} + // +err:options={"pattern":"请输入����确的内存格式,如1024Mi, 1Gi"} // +ui:description=内存 memory: *"512Mi" | string } @@ -206,7 +238,7 @@ template: { } } - // +ui:description=配置kubernetes亲和性,请根据实际情况调整 + // +ui:description=配置kubernetes亲和性,请���据实际情况调��� // +ui:order=4 affinity?: {} } @@ -263,12 +295,12 @@ template: { // +minimum=1 // +ui:description=shard 数量,按需配置 // +ui:order=1 - shardCount: *2 | int + shardCount: *1 | int // +minimum=1 // +ui:description=master 节点数量, 高可用场景建议配置3个 // +ui:order=2 - replicaCount: *2 | int + replicaCount: *1 | int // +ui:title=存储配置 // +ui:order=3 @@ -277,10 +309,9 @@ template: { // err:options={"pattern":"请输入正确格式,如1024Mi, 1Gi, 1Ti"} // +ui:description=各节点存储大小,请根据实际情况调整 // +ui:hidden={{rootFormData.master.persistence.enabled == false}} - size: *"8Gi" | string + size: *"1Gi" | string } - // +ui:description=资源规格 // +ui:order=4 resources: { @@ -319,9 +350,17 @@ template: { } + // +ui:title=管理员账号 + // +ui:order=7 + auth: { + // +ui:description=管理员账号 + // +ui:options={"showPassword":true} + rootUser: *"root" | string - - + // +ui:description=管理员密码 + // +ui:options={"showPassword":true} + rootPassword: *"root.password" | string + } } } diff --git a/catalog/mongodb/x-definitions/secret-mongodb.cue b/catalog/mongodb/x-definitions/secret-mongodb.cue new file mode 100644 index 0000000..6401b25 --- /dev/null +++ b/catalog/mongodb/x-definitions/secret-mongodb.cue @@ -0,0 +1,39 @@ +"ctx-secret-mongodb": { + description: "" + type: "xdefinition" + attributes: { + apiResource: { + definition: { + apiVersion: "bdc.kdp.io/v1alpha1" + kind: "ContextSecret" + type: "mongodb" + } + } + } + labels: {} + annotations: {} +} + +template: { + output: { + apiVersion: "v1" + kind: "Secret" + metadata: { + name: context.name + namespace: context.namespace + annotations: context.bdcAnnotations + } + type: "Opaque" + data: { + "MONGODB_ROOT_USER": parameter.MONGODB_ROOT_USER + "MONGODB_ROOT_PASSWORD": parameter.MONGODB_ROOT_PASSWORD + } + } + parameter: { + // +ui:description=root user + MONGODB_ROOT_USER: string + + // +ui:description=root user password + MONGODB_ROOT_PASSWORD: string + } +}